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.002454/0.002454, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002787/0.002787, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.623/1.623, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3733/0.3733, allocations: 32.79 MB / 293.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 179] 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.693e-06/1.693e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.415e-05, allocations: 5.969 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3938/0.3938, allocations: 178 MB / 0.5403 GB, free: 15.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.3962, allocations: 0.889 MB / 0.5412 GB, free: 14.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.3966, allocations: 17.5 kB / 0.5412 GB, free: 14.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007796/0.3974, allocations: 197.8 kB / 0.5414 GB, free: 14.58 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007962/0.3982, allocations: 302.6 kB / 0.5417 GB, free: 14.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.4039, allocations: 2.002 MB / 0.5436 GB, free: 13.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.4053, allocations: 0.9911 MB / 0.5446 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006707/0.406, allocations: 295.1 kB / 0.5449 GB, free: 12.79 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004774/0.4108, allocations: 1.727 MB / 0.5466 GB, free: 11.94 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007397/0.4115, allocations: 300.1 kB / 0.5468 GB, free: 11.78 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.4117, allocations: 46.03 kB / 0.5469 GB, free: 11.78 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006259/0.4179, allocations: 2.303 MB / 0.5491 GB, free: 10.63 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.4185, allocations: 218.5 kB / 0.5493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007971/0.4193, allocations: 202.4 kB / 0.5495 GB, free: 10.38 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00658/0.4259, allocations: 2.222 MB / 0.5517 GB, free: 9.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4259, allocations: 0 / 0.5517 GB, free: 9.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4259, allocations: 0 / 0.5517 GB, free: 9.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.775e-05/0.4259, allocations: 4 kB / 0.5517 GB, free: 9.008 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.002708/0.4287, allocations: 1.117 MB / 0.5528 GB, free: 7.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4287, allocations: 16.03 kB / 0.5528 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.4291, allocations: 99.52 kB / 0.5529 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.4299, allocations: 334.1 kB / 0.5532 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.4299, allocations: 29 kB / 0.5533 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.659e-05/0.43, allocations: 44 kB / 0.5533 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.4313, allocations: 0.7081 MB / 0.554 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.4313, allocations: 0 / 0.554 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.4314, allocations: 16 kB / 0.554 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.4314, allocations: 12 kB / 0.554 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.4323, allocations: 371.6 kB / 0.5544 GB, free: 6.109 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.4359, allocations: 1.87 MB / 0.5562 GB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/0.4366, allocations: 309.1 kB / 0.5565 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.4369, allocations: 139 kB / 0.5566 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005424/0.4375, allocations: 135.9 kB / 0.5568 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.4375, allocations: 46.45 kB / 0.5568 GB, free: 3.504 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.4375, allocations: 0 / 0.5568 GB, free: 3.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001115/0.4386, allocations: 381.4 kB / 0.5572 GB, free: 3.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/0.4387, allocations: 114.7 kB / 0.5573 GB, free: 2.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.4392, allocations: 374.3 kB / 0.5576 GB, free: 2.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.4393, allocations: 41.69 kB / 0.5577 GB, free: 2.562 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.4396, allocations: 291.2 kB / 0.5579 GB, free: 2.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.4397, allocations: 115 kB / 0.5581 GB, free: 2.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.4399, allocations: 91.72 kB / 0.5581 GB, free: 2.059 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003327/0.4402, allocations: 0.5352 MB / 0.5587 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.4405, allocations: 156.1 kB / 0.5588 GB, free: 1.348 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.441, allocations: 320.1 kB / 0.5591 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/0.4418, allocations: 453.1 kB / 0.5595 GB, free: 456 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4418, allocations: 0 / 0.5595 GB, free: 456 kB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001131/0.4429, allocations: 0.5312 MB / 0.5601 GB, free: 15.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.443, allocations: 63.34 kB / 0.5601 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.443, allocations: 7.312 kB / 0.5601 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.443, allocations: 4 kB / 0.5601 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.4435, allocations: 79.89 kB / 0.5602 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.4435, allocations: 15.92 kB / 0.5602 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.4438, allocations: 35.78 kB / 0.5603 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.4438, allocations: 19.98 kB / 0.5603 GB, free: 15.65 MB / 442.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.0003038/0.4442, allocations: 208.7 kB / 0.5605 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.4443, allocations: 47.7 kB / 0.5605 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.4454, allocations: 436.4 kB / 0.5609 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.4454, allocations: 4 kB / 0.5609 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4454, allocations: 0 / 0.5609 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4454, allocations: 7.984 kB / 0.561 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.4484, allocations: 1.333 MB / 0.5623 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4484, allocations: 0 / 0.5623 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.4487, allocations: 59.91 kB / 0.5623 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4487, allocations: 4 kB / 0.5623 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.4488, allocations: 12 kB / 0.5623 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.4488, allocations: 8.125 kB / 0.5623 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.4488, allocations: 4 kB / 0.5623 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4501, allocations: 0.7388 MB / 0.5631 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.4502, allocations: 31.75 kB / 0.5631 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.4503, allocations: 17.33 kB / 0.5631 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.4507, allocations: 19.98 kB / 0.5631 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.4508, allocations: 27.89 kB / 0.5632 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.4508, allocations: 24.08 kB / 0.5632 GB, free: 12.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003863/0.4512, allocations: 295 kB / 0.5635 GB, free: 12.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4512, allocations: 0 / 0.5635 GB, free: 12.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001326/0.4525, allocations: 366.9 kB / 0.5638 GB, free: 11.91 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.001621/0.4542, allocations: 0.5109 MB / 0.5643 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009693/0.4551, allocations: 482.1 kB / 0.5648 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4551, allocations: 0 / 0.5648 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.4555, allocations: 143.4 kB / 0.5649 GB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.4568, allocations: 230.1 kB / 0.5651 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4584, allocations: 0.7623 MB / 0.5659 GB, free: 9.719 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.4587, allocations: 232.1 kB / 0.5661 GB, free: 9.469 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004043/0.4591, allocations: 89.8 kB / 0.5662 GB, free: 9.391 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.4593, allocations: 40.48 kB / 0.5662 GB, free: 9.352 MB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4593, allocations: 0 / 0.5662 GB, free: 9.352 MB / 442.7 MB Notification: Performance of Templates: time 0.02796/0.4872, allocations: 13.52 MB / 0.5794 GB, free: 12.02 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.033160977996886]