Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 90.73 kB / 16.33 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009714/0.0009715, allocations: 188.9 kB / 17.22 MB, free: 5.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3759/0.3759, allocations: 43.55 MB / 315.2 MB, free: 8.883 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000557/0.0005571, allocations: 22.97 kB / 384.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0007577/0.1349, allocations: 248.3 kB / 443.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1381, allocations: 1.924 MB / 445.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.1382, allocations: 0 / 445.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.1382, allocations: 0 / 445.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.696e-06/0.1382, allocations: 0 / 445.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.1399, allocations: 411.1 kB / 446 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.1399, allocations: 0 / 446 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.14, allocations: 3.938 kB / 446 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.14, allocations: 0 / 446 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.621e-05/0.1401, allocations: 4 kB / 446 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.1401, allocations: 0 / 446 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.1414, allocations: 0.659 MB / 446.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.1414, allocations: 0 / 446.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.1414, allocations: 25.7 kB / 446.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.142, allocations: 247.5 kB / 446.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1421, allocations: 0 / 446.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1421, allocations: 0 / 446.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1421, allocations: 0 / 446.9 MB, free: 9.512 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005889/0.1427, allocations: 401.1 kB / 447.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1427, allocations: 8.031 kB / 447.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.1428, allocations: 3.953 kB / 447.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1429, allocations: 159.1 kB / 447.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1429, allocations: 7.938 kB / 447.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1429, allocations: 0 / 447.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.143, allocations: 37.69 kB / 447.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.143, allocations: 0 / 447.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1431, allocations: 4 kB / 447.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1431, allocations: 0 / 447.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.426e-05/0.1431, allocations: 3.953 kB / 447.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1433, allocations: 145.7 kB / 447.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.416e-05/0.1433, allocations: 22.55 kB / 447.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.1433, allocations: 8.859 kB / 447.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1434, allocations: 0 / 447.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.1434, allocations: 68.25 kB / 447.8 MB, free: 8.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1434, allocations: 0 / 447.8 MB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002114/0.1436, allocations: 71.3 kB / 447.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.1437, allocations: 77.11 kB / 447.9 MB, free: 8.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.29e-05/0.1437, allocations: 89.86 kB / 448 MB, free: 8.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1438, allocations: 25.83 kB / 448 MB, free: 8.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.1438, allocations: 84.14 kB / 448.1 MB, free: 8.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1438, allocations: 0 / 448.1 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.1438, allocations: 0 / 448.1 MB, free: 8.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.144, allocations: 326.7 kB / 448.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.144, allocations: 4 kB / 448.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.144, allocations: 0 / 448.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.1441, allocations: 25.7 kB / 448.5 MB, free: 7.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1441, allocations: 4 kB / 448.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.819e-05/0.1442, allocations: 59.47 kB / 448.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.1442, allocations: 37.69 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1443, allocations: 3.938 kB / 448.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1443, allocations: 0 / 448.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1443, allocations: 0 / 448.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1443, allocations: 0 / 448.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.1443, allocations: 0 / 448.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1443, allocations: 4 kB / 448.6 MB, free: 7.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1444, allocations: 143.5 kB / 448.7 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.1445, allocations: 4.031 kB / 448.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.1445, allocations: 7.125 kB / 448.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1445, allocations: 4 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1445, allocations: 3.938 kB / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1445, allocations: 7.969 kB / 448.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.1447, allocations: 145.9 kB / 448.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1447, allocations: 0 / 448.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.1447, allocations: 0 / 448.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1447, allocations: 0 / 448.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1447, allocations: 4 kB / 448.9 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1447, allocations: 4 kB / 448.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1447, allocations: 0 / 448.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1449, allocations: 94.78 kB / 449 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.145, allocations: 81.05 kB / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.145, allocations: 0 / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/0.145, allocations: 0 / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.145, allocations: 3.984 kB / 449 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.145, allocations: 4 kB / 449.1 MB, free: 7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.1451, allocations: 79.31 kB / 449.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1451, allocations: 0 / 449.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.1456, allocations: 123.9 kB / 449.3 MB, free: 6.801 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000885/0.1465, allocations: 302.8 kB / 449.5 MB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.1466, allocations: 55.41 kB / 449.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1466, allocations: 0 / 449.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.1466, allocations: 55.41 kB / 449.7 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1468, allocations: 7.891 kB / 449.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.147, allocations: 112.4 kB / 449.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1475, allocations: 0.6694 MB / 450.4 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.1475, allocations: 15.44 kB / 450.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1475, allocations: 0 / 450.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of Templates: time 0.007857/0.1554, allocations: 3.284 MB / 453.7 MB, free: 2.223 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o] Error 1