Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001054/0.001054, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009424/0.0009424, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.8787/0.8787, allocations: 177.1 MB / 206.1 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1495/0.1495, allocations: 34.26 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.541e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2799/0.28, allocations: 146.1 MB / 0.513 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2811, allocations: 0.8746 MB / 0.5139 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2813, allocations: 13.41 kB / 0.5139 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.2816, allocations: 113.7 kB / 0.514 GB, free: 13.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.282, allocations: 295.2 kB / 0.5143 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.2841, allocations: 1.336 MB / 0.5156 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.2848, allocations: 0.9683 MB / 0.5165 GB, free: 13.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.285, allocations: 288.6 kB / 0.5168 GB, free: 13.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008037/0.2858, allocations: 0.7061 MB / 0.5175 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.2861, allocations: 302.5 kB / 0.5178 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.2862, allocations: 46.22 kB / 0.5178 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.2875, allocations: 1.38 MB / 0.5192 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2877, allocations: 210.2 kB / 0.5194 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.2878, allocations: 199 kB / 0.5196 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.289, allocations: 1.4 MB / 0.5209 GB, free: 13.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.289, allocations: 3.734 kB / 0.5209 GB, free: 13.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.289, allocations: 0 / 0.5209 GB, free: 13.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.289, allocations: 0 / 0.5209 GB, free: 13.19 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.0008957/0.2899, allocations: 0.9934 MB / 0.5219 GB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.29, allocations: 11.81 kB / 0.5219 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.2902, allocations: 102.3 kB / 0.522 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.2905, allocations: 333 kB / 0.5223 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.2905, allocations: 27.34 kB / 0.5224 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.2906, allocations: 43.66 kB / 0.5224 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.291, allocations: 0.6141 MB / 0.523 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.291, allocations: 1.203 kB / 0.523 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.291, allocations: 18.27 kB / 0.523 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2911, allocations: 8.719 kB / 0.523 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.2913, allocations: 199.9 kB / 0.5232 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.2925, allocations: 1.728 MB / 0.5249 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.2928, allocations: 210.1 kB / 0.5251 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.2928, allocations: 84.5 kB / 0.5252 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.293, allocations: 76.75 kB / 0.5253 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.293, allocations: 45.8 kB / 0.5253 GB, free: 10.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.293, allocations: 0 / 0.5253 GB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003812/0.2934, allocations: 237.5 kB / 0.5255 GB, free: 10.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.2934, allocations: 115.1 kB / 0.5257 GB, free: 10.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2936, allocations: 325.9 kB / 0.526 GB, free: 10.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.2936, allocations: 38.92 kB / 0.526 GB, free: 10.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.096e-05/0.2937, allocations: 280.3 kB / 0.5263 GB, free: 9.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.2938, allocations: 108.4 kB / 0.5264 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.2938, allocations: 85.16 kB / 0.5265 GB, free: 9.793 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.2939, allocations: 0.5207 MB / 0.527 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.294, allocations: 100.2 kB / 0.5271 GB, free: 9.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2941, allocations: 245 kB / 0.5273 GB, free: 8.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.2943, allocations: 341.1 kB / 0.5276 GB, free: 8.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2944, allocations: 0 / 0.5276 GB, free: 8.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003749/0.2947, allocations: 419.1 kB / 0.528 GB, free: 8.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.2948, allocations: 59.38 kB / 0.5281 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2948, allocations: 8.422 kB / 0.5281 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2948, allocations: 9.516 kB / 0.5281 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.295, allocations: 80.27 kB / 0.5282 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.295, allocations: 9.219 kB / 0.5282 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2951, allocations: 42.22 kB / 0.5282 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.2951, allocations: 16.77 kB / 0.5282 GB, free: 8.434 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 8.885e-05/0.2952, allocations: 188.8 kB / 0.5284 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.2953, allocations: 44.12 kB / 0.5285 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.2957, allocations: 329.7 kB / 0.5288 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2957, allocations: 5.469 kB / 0.5288 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.2957, allocations: 4 kB / 0.5288 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2957, allocations: 1.969 kB / 0.5288 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.2966, allocations: 1.086 MB / 0.5298 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2966, allocations: 3.062 kB / 0.5298 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2967, allocations: 57.38 kB / 0.5299 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2967, allocations: 6.297 kB / 0.5299 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2968, allocations: 20.47 kB / 0.5299 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2968, allocations: 8.078 kB / 0.5299 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2968, allocations: 5.484 kB / 0.5299 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.297, allocations: 0.6304 MB / 0.5305 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.2971, allocations: 39.44 kB / 0.5306 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.2971, allocations: 15.97 kB / 0.5306 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2973, allocations: 16.27 kB / 0.5306 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.2973, allocations: 25.06 kB / 0.5306 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.2973, allocations: 19.36 kB / 0.5307 GB, free: 6.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.885e-05/0.2974, allocations: 245 kB / 0.5309 GB, free: 6.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2974, allocations: 0 / 0.5309 GB, free: 6.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005143/0.298, allocations: 280.4 kB / 0.5312 GB, free: 6.789 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.0005408/0.2985, allocations: 399.7 kB / 0.5315 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.2988, allocations: 339.9 kB / 0.5319 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2988, allocations: 4.25 kB / 0.5319 GB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2989, allocations: 96.14 kB / 0.532 GB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.2996, allocations: 233.7 kB / 0.5322 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.3003, allocations: 0.7341 MB / 0.5329 GB, free: 5.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.734e-05/0.3004, allocations: 127.1 kB / 0.533 GB, free: 5.809 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.3006, allocations: 70.55 kB / 0.5331 GB, free: 5.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.301, allocations: 301 kB / 0.5334 GB, free: 5.637 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.301, allocations: 0 / 0.5334 GB, free: 5.637 MB / 410.7 MB Notification: Performance of Templates: time 0.01293/0.3139, allocations: 13.35 MB / 0.5464 GB, free: 14.74 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5108762378804386]