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.001518/0.001518, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001852/0.001852, allocations: 208.1 kB / 23.73 MB, free: 4.387 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 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.2286/0.2286, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 75.88 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3168, allocations: 65.47 MB / 0.5575 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2129/0.5298, allocations: 160.4 MB / 0.7141 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.5318, allocations: 0.8852 MB / 0.715 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.5321, allocations: 11.88 kB / 0.715 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007344/0.5328, allocations: 194.7 kB / 0.7151 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008262/0.5337, allocations: 298.3 kB / 0.7154 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005494/0.5392, allocations: 1.958 MB / 0.7173 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.5406, allocations: 0.9906 MB / 0.7183 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005776/0.5412, allocations: 275.3 kB / 0.7186 GB, free: 1.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/0.5452, allocations: 1.601 MB / 0.7201 GB, free: 304 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006746/0.5459, allocations: 318.8 kB / 0.7204 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.546, allocations: 48 kB / 0.7205 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005606/0.5516, allocations: 2.289 MB / 0.7227 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004597/0.5521, allocations: 207.5 kB / 0.7229 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005866/0.5527, allocations: 227.2 kB / 0.7231 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005404/0.5581, allocations: 1.975 MB / 0.7251 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.5581, allocations: 0 / 0.7251 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5581, allocations: 0 / 0.7251 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.662e-05/0.5581, allocations: 0 / 0.7251 GB, free: 11.24 MB / 0.5606 GB 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.002437/0.5605, allocations: 0.9974 MB / 0.726 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5606, allocations: 12.03 kB / 0.7261 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.5609, allocations: 67.59 kB / 0.7261 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.5616, allocations: 315.9 kB / 0.7264 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.5617, allocations: 36.88 kB / 0.7265 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.5617, allocations: 36 kB / 0.7265 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5629, allocations: 0.7708 MB / 0.7272 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5629, allocations: 0 / 0.7272 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.563, allocations: 20 kB / 0.7273 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.563, allocations: 12 kB / 0.7273 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.564, allocations: 496.2 kB / 0.7277 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.5668, allocations: 1.481 MB / 0.7292 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/0.5675, allocations: 355.6 kB / 0.7295 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.5679, allocations: 174.1 kB / 0.7297 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/0.5683, allocations: 131.9 kB / 0.7298 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.5684, allocations: 46.5 kB / 0.7299 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.5684, allocations: 0 / 0.7299 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001224/0.5696, allocations: 493.1 kB / 0.7303 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.5697, allocations: 110.8 kB / 0.7304 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.57, allocations: 292.6 kB / 0.7307 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.5701, allocations: 33.7 kB / 0.7308 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.5703, allocations: 228.3 kB / 0.731 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.5704, allocations: 119.1 kB / 0.7311 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.5705, allocations: 74.06 kB / 0.7312 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.5707, allocations: 338.8 kB / 0.7315 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.5711, allocations: 212 kB / 0.7317 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.5715, allocations: 309.6 kB / 0.732 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008094/0.5724, allocations: 483.6 kB / 0.7324 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.5724, allocations: 11.94 kB / 0.7324 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001177/0.5735, allocations: 0.5897 MB / 0.733 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.5736, allocations: 63.41 kB / 0.7331 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5736, allocations: 4 kB / 0.7331 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5736, allocations: 4 kB / 0.7331 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.574, allocations: 83.83 kB / 0.7332 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.5741, allocations: 7.984 kB / 0.7332 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.5744, allocations: 44.08 kB / 0.7332 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.5744, allocations: 23.98 kB / 0.7332 GB, free: 2.363 MB / 0.5606 GB 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.000264/0.5747, allocations: 193.6 kB / 0.7334 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.5748, allocations: 31.81 kB / 0.7335 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.5759, allocations: 491.6 kB / 0.7339 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.576, allocations: 4 kB / 0.7339 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.576, allocations: 0 / 0.7339 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.576, allocations: 3.984 kB / 0.7339 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.5786, allocations: 1.2 MB / 0.7351 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.5786, allocations: 4.188 kB / 0.7351 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.5789, allocations: 63.89 kB / 0.7352 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.579, allocations: 4 kB / 0.7352 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.579, allocations: 11.94 kB / 0.7352 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.579, allocations: 4 kB / 0.7352 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.579, allocations: 0 / 0.7352 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2475/0.8265, allocations: 0.6271 MB / 0.7358 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.8266, allocations: 38.2 kB / 0.7358 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.8267, allocations: 16.27 kB / 0.7359 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.8271, allocations: 22.47 kB / 0.7359 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.8272, allocations: 29.31 kB / 0.7359 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.8273, allocations: 22.55 kB / 0.7359 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000353/0.8276, allocations: 278.1 kB / 0.7362 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8276, allocations: 0.5312 kB / 0.7362 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001273/0.8289, allocations: 366.8 kB / 0.7365 GB, free: 177.4 MB / 0.5606 GB 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.001183/0.8301, allocations: 495.4 kB / 0.737 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009122/0.831, allocations: 0.5107 MB / 0.7375 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.831, allocations: 1.719 kB / 0.7375 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.8313, allocations: 159.6 kB / 0.7377 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.8324, allocations: 214 kB / 0.7379 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.8334, allocations: 0.7813 MB / 0.7386 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.8336, allocations: 243 kB / 0.7389 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003175/0.8339, allocations: 96.42 kB / 0.739 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.834, allocations: 43.56 kB / 0.739 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.834, allocations: 0 / 0.739 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01779/0.8518, allocations: 14.06 MB / 0.7527 GB, free: 164 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] 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.16629046574235]