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.001184/0.001184, allocations: 88.08 kB / 16.67 MB, free: 6.59 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.001424/0.001424, allocations: 182.2 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.273/0.273, allocations: 43.59 MB / 315.6 MB, free: 0.5039 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.0005783/0.0005782, allocations: 22.22 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1521, allocations: 58.86 MB / 444.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0007376/0.1529, allocations: 240.6 kB / 444.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.156, allocations: 2.073 MB / 446.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.156, allocations: 4 kB / 446.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.1561, allocations: 0 / 446.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.1561, allocations: 0 / 446.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.1577, allocations: 402.8 kB / 446.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.1577, allocations: 3.984 kB / 446.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.1578, allocations: 0 / 446.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/0.1578, allocations: 7.938 kB / 446.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.483e-05/0.1578, allocations: 7.938 kB / 446.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.1579, allocations: 0 / 446.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.1591, allocations: 0.6745 MB / 447.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1591, allocations: 0 / 447.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.1591, allocations: 25.7 kB / 447.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.1597, allocations: 247.6 kB / 447.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1597, allocations: 0 / 447.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1597, allocations: 0 / 447.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1597, allocations: 0 / 447.8 MB, free: 1.562 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.0005024/0.1602, allocations: 409.2 kB / 448.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1603, allocations: 8.031 kB / 448.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1603, allocations: 4.844 kB / 448.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.654e-05/0.1604, allocations: 164.4 kB / 448.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1604, allocations: 384 / 448.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1605, allocations: 4.375 kB / 448.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1606, allocations: 34 kB / 448.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1606, allocations: 0 / 448.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1606, allocations: 0 / 448.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1606, allocations: 0 / 448.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.533e-05/0.1606, allocations: 7.938 kB / 448.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.1608, allocations: 141.7 kB / 448.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.1608, allocations: 26.61 kB / 448.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.1609, allocations: 4.859 kB / 448.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1609, allocations: 3.984 kB / 448.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.1609, allocations: 60.2 kB / 448.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.465e-06/0.1609, allocations: 3.984 kB / 448.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001953/0.1611, allocations: 67.39 kB / 448.7 MB, free: 468 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1612, allocations: 85.23 kB / 448.8 MB, free: 364 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.209e-05/0.1612, allocations: 93.86 kB / 448.9 MB, free: 260 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1612, allocations: 29.69 kB / 448.9 MB, free: 224 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.1613, allocations: 80.14 kB / 449 MB, free: 140 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1613, allocations: 0 / 449 MB, free: 140 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.1613, allocations: 9.719 kB / 449 MB, free: 124 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1615, allocations: 314.8 kB / 449.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.1615, allocations: 4 kB / 449.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-06/0.1615, allocations: 0 / 449.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.1616, allocations: 68.27 kB / 449.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1616, allocations: 0 / 449.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.9e-05/0.1617, allocations: 71.33 kB / 449.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/0.1617, allocations: 35.36 kB / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1617, allocations: 0 / 449.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1618, allocations: 3.938 kB / 449.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.1618, allocations: 0 / 449.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1618, allocations: 0 / 449.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.1618, allocations: 4 kB / 449.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1618, allocations: 4.031 kB / 449.5 MB, free: 15.59 MB / 334.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 0.0001023/0.162, allocations: 135.5 kB / 449.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.162, allocations: 15.92 kB / 449.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.162, allocations: 3.125 kB / 449.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.162, allocations: 0 / 449.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.162, allocations: 0 / 449.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.162, allocations: 0 / 449.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1621, allocations: 145.7 kB / 449.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1621, allocations: 0 / 449.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.1622, allocations: 8 kB / 449.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1622, allocations: 7.922 kB / 449.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1622, allocations: 0 / 449.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1622, allocations: 0 / 449.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1622, allocations: 0 / 449.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.1623, allocations: 90.78 kB / 449.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.1624, allocations: 81.09 kB / 449.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1624, allocations: 3.938 kB / 449.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.1624, allocations: 8.031 kB / 450 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.1624, allocations: 0 / 450 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1624, allocations: 0 / 450 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.1625, allocations: 75.28 kB / 450 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1625, allocations: 0 / 450 MB, free: 14.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005211/0.163, allocations: 124 kB / 450.2 MB, free: 14.79 MB / 334.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.001056/0.1641, allocations: 302.6 kB / 450.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1642, allocations: 55.41 kB / 450.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.1642, allocations: 7.938 kB / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.1643, allocations: 51.41 kB / 450.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.1645, allocations: 8.062 kB / 450.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.1647, allocations: 108.5 kB / 450.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1651, allocations: 0.6731 MB / 451.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.1652, allocations: 7.438 kB / 451.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1652, allocations: 0 / 451.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of Templates: time 0.007449/0.1726, allocations: 3.276 MB / 454.6 MB, free: 10.22 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