Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001503/0.001503, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001632/0.001632, allocations: 164.8 kB / 24.99 MB, free: 9.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9874/0.9874, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2695/0.2695, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.756e-05, allocations: 6.25 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3352/0.3353, allocations: 178.1 MB / 0.5411 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.337, allocations: 0.8967 MB / 0.542 GB, free: 14.62 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.3372, allocations: 13.44 kB / 0.542 GB, free: 14.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.3378, allocations: 201 kB / 0.5422 GB, free: 14.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.3383, allocations: 305.7 kB / 0.5425 GB, free: 14.31 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004162/0.3424, allocations: 1.993 MB / 0.5444 GB, free: 13.36 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.3435, allocations: 0.9891 MB / 0.5454 GB, free: 12.89 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/0.344, allocations: 300.4 kB / 0.5457 GB, free: 12.71 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003034/0.347, allocations: 1.731 MB / 0.5473 GB, free: 11.79 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.3475, allocations: 293.3 kB / 0.5476 GB, free: 11.63 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.3476, allocations: 50.03 kB / 0.5477 GB, free: 11.63 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.351, allocations: 2.304 MB / 0.5499 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.3512, allocations: 210.6 kB / 0.5501 GB, free: 10.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.3514, allocations: 201.9 kB / 0.5503 GB, free: 10.24 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.3548, allocations: 1.999 MB / 0.5523 GB, free: 9.082 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3548, allocations: 2.219 kB / 0.5523 GB, free: 9.082 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3548, allocations: 0 / 0.5523 GB, free: 9.082 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3548, allocations: 0 / 0.5523 GB, free: 9.082 MB / 426.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.001614/0.3564, allocations: 1.106 MB / 0.5533 GB, free: 7.973 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3565, allocations: 8.031 kB / 0.5534 GB, free: 7.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.3567, allocations: 99.52 kB / 0.5535 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.3571, allocations: 333.6 kB / 0.5538 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3572, allocations: 29 kB / 0.5538 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.3572, allocations: 40 kB / 0.5538 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.3578, allocations: 0.6512 MB / 0.5545 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3578, allocations: 3.438 kB / 0.5545 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.3578, allocations: 20 kB / 0.5545 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3578, allocations: 8 kB / 0.5545 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.3582, allocations: 255.6 kB / 0.5547 GB, free: 6.422 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3597, allocations: 1.734 MB / 0.5564 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.3603, allocations: 232.5 kB / 0.5567 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3604, allocations: 99.02 kB / 0.5568 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.3607, allocations: 131.9 kB / 0.5569 GB, free: 4.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3607, allocations: 45.33 kB / 0.5569 GB, free: 4.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/0.3607, allocations: 0 / 0.5569 GB, free: 4.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005314/0.3613, allocations: 286.4 kB / 0.5572 GB, free: 3.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3613, allocations: 110.8 kB / 0.5573 GB, free: 3.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3615, allocations: 330.3 kB / 0.5576 GB, free: 3.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3615, allocations: 29.7 kB / 0.5576 GB, free: 3.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3617, allocations: 283.2 kB / 0.5579 GB, free: 2.992 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.3617, allocations: 111 kB / 0.558 GB, free: 2.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.3618, allocations: 79.72 kB / 0.5581 GB, free: 2.797 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.362, allocations: 0.5118 MB / 0.5586 GB, free: 2.273 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3621, allocations: 120.1 kB / 0.5587 GB, free: 2.145 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3623, allocations: 272.1 kB / 0.559 GB, free: 1.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.3626, allocations: 360 kB / 0.5593 GB, free: 1.383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3626, allocations: 4 kB / 0.5593 GB, free: 1.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005083/0.3632, allocations: 455 kB / 0.5598 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.3632, allocations: 63.34 kB / 0.5598 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3632, allocations: 4 kB / 0.5598 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3632, allocations: 8 kB / 0.5598 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.3634, allocations: 83.83 kB / 0.5599 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3635, allocations: 7.984 kB / 0.5599 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.3636, allocations: 40.11 kB / 0.5599 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.3636, allocations: 20 kB / 0.56 GB, free: 0.6719 MB / 426.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.0001315/0.3638, allocations: 188.4 kB / 0.5601 GB, free: 488 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.3639, allocations: 43.75 kB / 0.5602 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.3644, allocations: 358.9 kB / 0.5605 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3644, allocations: 4 kB / 0.5605 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3644, allocations: 4 kB / 0.5605 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3644, allocations: 0 / 0.5605 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3658, allocations: 1.196 MB / 0.5617 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3658, allocations: 4 kB / 0.5617 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.3659, allocations: 59.84 kB / 0.5618 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3659, allocations: 4.188 kB / 0.5618 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3659, allocations: 15.98 kB / 0.5618 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3659, allocations: 4.938 kB / 0.5618 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3659, allocations: 4 kB / 0.5618 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/0.3664, allocations: 0.6682 MB / 0.5624 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.3664, allocations: 31.75 kB / 0.5625 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.3665, allocations: 15.92 kB / 0.5625 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3667, allocations: 19.98 kB / 0.5625 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.3667, allocations: 27.84 kB / 0.5625 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3668, allocations: 27.3 kB / 0.5626 GB, free: 13.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001694/0.3669, allocations: 263 kB / 0.5628 GB, free: 13.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3669, allocations: 0 / 0.5628 GB, free: 13.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008628/0.3678, allocations: 366.9 kB / 0.5632 GB, free: 13.27 MB / 442.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.001049/0.3688, allocations: 0.5132 MB / 0.5637 GB, free: 12.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.3693, allocations: 389.4 kB / 0.564 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3693, allocations: 0 / 0.564 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3694, allocations: 99.77 kB / 0.5641 GB, free: 12.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.3701, allocations: 233.7 kB / 0.5644 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3712, allocations: 0.7409 MB / 0.5651 GB, free: 11.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.3713, allocations: 121.6 kB / 0.5652 GB, free: 11.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.3715, allocations: 85.95 kB / 0.5653 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.3716, allocations: 44.48 kB / 0.5653 GB, free: 10.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3716, allocations: 0 / 0.5653 GB, free: 10.97 MB / 442.7 MB Notification: Performance of Templates: time 0.01557/0.3872, allocations: 13.53 MB / 0.5785 GB, free: 13.64 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.6821509751025587]