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.001641/0.001641, allocations: 104.4 kB / 16.52 MB, free: 6.266 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.001945/0.001945, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.921/1.921, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2402/0.2402, allocations: 43.51 MB / 314.1 MB, free: 0.7578 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.001625/0.001625, allocations: 67.03 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1553, allocations: 57.79 MB / 440.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002054/0.1574, allocations: 0.566 MB / 441 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.1603, allocations: 2.104 MB / 443.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.1604, allocations: 0 / 443.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.1604, allocations: 0 / 443.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.336e-06/0.1604, allocations: 0 / 443.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1617, allocations: 406.7 kB / 443.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.547e-05/0.1617, allocations: 11.92 kB / 443.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.1618, allocations: 0 / 443.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.1618, allocations: 0 / 443.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.693e-05/0.1618, allocations: 4 kB / 443.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.1618, allocations: 4 kB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008247/0.1627, allocations: 0.667 MB / 444.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.1627, allocations: 8 kB / 444.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1627, allocations: 0 / 444.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.163, allocations: 239.5 kB / 444.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1631, allocations: 4 kB / 444.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1631, allocations: 0 / 444.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1631, allocations: 0 / 444.5 MB, free: 3.512 MB / 318.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.0003843/0.1635, allocations: 413.3 kB / 444.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1635, allocations: 8.031 kB / 444.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1636, allocations: 12.72 kB / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.151e-05/0.1636, allocations: 164.4 kB / 445.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1636, allocations: 4.375 kB / 445.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1637, allocations: 384 / 445.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/0.1638, allocations: 30.02 kB / 445.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1638, allocations: 0 / 445.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1638, allocations: 4 kB / 445.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1638, allocations: 4 kB / 445.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.1638, allocations: 7.984 kB / 445.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.1639, allocations: 141.7 kB / 445.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.371e-05/0.164, allocations: 22.55 kB / 445.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.164, allocations: 4.859 kB / 445.3 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-06/0.164, allocations: 0 / 445.3 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.164, allocations: 68.27 kB / 445.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.164, allocations: 4 kB / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002084/0.1643, allocations: 63.39 kB / 445.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.1643, allocations: 84.98 kB / 445.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.283e-05/0.1644, allocations: 89.86 kB / 445.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1644, allocations: 25.7 kB / 445.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.945e-05/0.1644, allocations: 80.14 kB / 445.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1644, allocations: 0 / 445.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.1645, allocations: 21.72 kB / 445.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.1645, allocations: 319 kB / 446 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.1646, allocations: 0 / 446 MB, free: 1.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.1646, allocations: 4 kB / 446 MB, free: 1.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.1646, allocations: 56.27 kB / 446.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1646, allocations: 0 / 446.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.322e-05/0.1647, allocations: 63.41 kB / 446.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.1647, allocations: 41.62 kB / 446.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.1647, allocations: 96 / 446.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1647, allocations: 7.938 kB / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1648, allocations: 0 / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1648, allocations: 0 / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.1648, allocations: 0 / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1648, allocations: 0 / 446.2 MB, free: 1.531 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.1649, allocations: 143.5 kB / 446.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.1649, allocations: 3.938 kB / 446.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.051e-05/0.1649, allocations: 3.125 kB / 446.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1649, allocations: 0 / 446.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1649, allocations: 11.98 kB / 446.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1649, allocations: 0 / 446.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.158e-05/0.165, allocations: 141.7 kB / 446.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.165, allocations: 3.938 kB / 446.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.165, allocations: 4 kB / 446.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.165, allocations: 3.938 kB / 446.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.165, allocations: 4 kB / 446.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.165, allocations: 0 / 446.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1651, allocations: 0 / 446.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.563e-05/0.1651, allocations: 102.8 kB / 446.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.1652, allocations: 77.11 kB / 446.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.1652, allocations: 3.938 kB / 446.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/0.1652, allocations: 3.984 kB / 446.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.1652, allocations: 3.938 kB / 446.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.1652, allocations: 4 kB / 446.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.936e-05/0.1653, allocations: 75.28 kB / 446.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1653, allocations: 0 / 446.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.1657, allocations: 120 kB / 446.9 MB, free: 0.7266 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000786/0.1665, allocations: 302.2 kB / 447.2 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1666, allocations: 63.41 kB / 447.2 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1666, allocations: 0 / 447.2 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.1666, allocations: 55.41 kB / 447.3 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.1668, allocations: 4 kB / 447.3 MB, free: 296 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.167, allocations: 112.3 kB / 447.4 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.1674, allocations: 0.6731 MB / 448.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.1675, allocations: 7.438 kB / 448.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1675, allocations: 0 / 448.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of Templates: time 0.00706/0.1745, allocations: 3.28 MB / 451.4 MB, free: 12.16 MB / 334.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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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