Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8063/0.8063, allocations: 158.6 MB / 186 MB, free: 2.746 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.131/0.131, allocations: 32.37 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.417e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2672/0.2672, allocations: 146.6 MB / 445.7 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.2688, allocations: 0.9086 MB / 446.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.269, allocations: 15.88 kB / 446.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.2694, allocations: 107.2 kB / 446.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004594/0.2699, allocations: 298 kB / 447 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.2732, allocations: 1.32 MB / 448.3 MB, free: 8.566 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008967/0.2741, allocations: 0.9592 MB / 449.3 MB, free: 7.605 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.2745, allocations: 302.5 kB / 449.6 MB, free: 7.301 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000992/0.2755, allocations: 0.6898 MB / 450.3 MB, free: 6.609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.2758, allocations: 283.2 kB / 450.5 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.2758, allocations: 48 kB / 450.6 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.2781, allocations: 1.427 MB / 452 MB, free: 4.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.2783, allocations: 211.5 kB / 452.2 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.2785, allocations: 203.6 kB / 452.4 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.2805, allocations: 1.375 MB / 453.8 MB, free: 3.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2805, allocations: 0 / 453.8 MB, free: 3.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2805, allocations: 3.938 kB / 453.8 MB, free: 3.066 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2805, allocations: 0 / 453.8 MB, free: 3.066 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001163/0.2817, allocations: 0.8485 MB / 454.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2817, allocations: 16.03 kB / 454.7 MB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.2819, allocations: 80.75 kB / 454.7 MB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.2823, allocations: 300.5 kB / 455 MB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.2823, allocations: 33 kB / 455.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.2823, allocations: 40 kB / 455.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.2828, allocations: 0.606 MB / 455.7 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2828, allocations: 4 kB / 455.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.2828, allocations: 16 kB / 455.7 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2828, allocations: 8 kB / 455.7 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.2831, allocations: 177.4 kB / 455.9 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1816/0.4647, allocations: 1.282 MB / 457.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.4652, allocations: 279.5 kB / 457.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.4653, allocations: 74.97 kB / 457.5 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.4656, allocations: 74.39 kB / 457.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.4657, allocations: 42.06 kB / 457.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 4.208e-06/0.4657, allocations: 0.6875 kB / 457.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005479/0.4662, allocations: 187.1 kB / 457.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4662, allocations: 109.3 kB / 457.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.4665, allocations: 272.6 kB / 458.2 MB, free: 12.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.4666, allocations: 35.67 kB / 458.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.4667, allocations: 209.5 kB / 458.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.4667, allocations: 106.5 kB / 458.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.4668, allocations: 80.16 kB / 458.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.4669, allocations: 345.2 kB / 459 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.467, allocations: 100.3 kB / 459.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4672, allocations: 209 kB / 459.3 MB, free: 12.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.4675, allocations: 299.1 kB / 459.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4675, allocations: 1.25 kB / 459.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004314/0.4679, allocations: 360.4 kB / 459.9 MB, free: 11.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.468, allocations: 64.77 kB / 460 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.468, allocations: 4.406 kB / 460 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.468, allocations: 6.391 kB / 460 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.4683, allocations: 80.64 kB / 460.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4683, allocations: 13.89 kB / 460.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.4685, allocations: 40.28 kB / 460.1 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.4686, allocations: 19.58 kB / 460.1 MB, free: 11.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0001183/0.4687, allocations: 137.6 kB / 460.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.4688, allocations: 32.75 kB / 460.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.4693, allocations: 294.4 kB / 460.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4693, allocations: 5.719 kB / 460.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4693, allocations: 1.562 kB / 460.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4693, allocations: 2.609 kB / 460.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.4708, allocations: 0.9983 MB / 461.6 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.4708, allocations: 1.812 kB / 461.6 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.4711, allocations: 63.52 kB / 461.7 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.4711, allocations: 3.281 kB / 461.7 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.4711, allocations: 10.3 kB / 461.7 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.4711, allocations: 9.344 kB / 461.7 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4711, allocations: 6 kB / 461.7 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.4716, allocations: 0.5803 MB / 462.3 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.4716, allocations: 39.72 kB / 462.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.4717, allocations: 16.55 kB / 462.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.472, allocations: 21.92 kB / 462.3 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.4721, allocations: 25.81 kB / 462.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.4721, allocations: 17.38 kB / 462.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.4723, allocations: 127.5 kB / 462.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4723, allocations: 0.7188 kB / 462.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008864/0.4732, allocations: 273.7 kB / 462.8 MB, free: 10.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0009711/0.4742, allocations: 412.6 kB / 463.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.4746, allocations: 339.1 kB / 463.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/0.4746, allocations: 4.406 kB / 463.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.4748, allocations: 87.55 kB / 463.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.4758, allocations: 216 kB / 463.8 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4772, allocations: 0.7359 MB / 464.5 MB, free: 9.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.4774, allocations: 132 kB / 464.7 MB, free: 9.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003414/0.4777, allocations: 75.72 kB / 464.7 MB, free: 9.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005714/0.4783, allocations: 241.4 kB / 465 MB, free: 9.512 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4783, allocations: 2.031 kB / 465 MB, free: 9.512 MB / 410.7 MB Notification: Performance of Templates: time 0.01879/0.4971, allocations: 13.44 MB / 478.4 MB, free: 7.938 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.387117551174015]