Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009944/0.0009944, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009637/0.0009637, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9163/0.9163, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 34.87 MB / 296.3 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.812e-05, allocations: 2.875 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.261/0.261, allocations: 148.9 MB / 0.5152 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2625, allocations: 0.8789 MB / 0.5161 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.2626, allocations: 13.56 kB / 0.5161 GB, free: 14.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.2631, allocations: 116.3 kB / 0.5162 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.2635, allocations: 307.3 kB / 0.5165 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.266, allocations: 1.324 MB / 0.5178 GB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006565/0.2666, allocations: 0.9644 MB / 0.5188 GB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.2669, allocations: 296.8 kB / 0.519 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000738/0.2677, allocations: 0.7081 MB / 0.5197 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.2679, allocations: 291.8 kB / 0.52 GB, free: 13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.268, allocations: 46.25 kB / 0.5201 GB, free: 13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.2694, allocations: 1.379 MB / 0.5214 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.2695, allocations: 204.7 kB / 0.5216 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.2697, allocations: 208.5 kB / 0.5218 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.271, allocations: 1.4 MB / 0.5232 GB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.271, allocations: 0 / 0.5232 GB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.271, allocations: 0 / 0.5232 GB, free: 11.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.271, allocations: 0 / 0.5232 GB, free: 11.96 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.001035/0.2721, allocations: 0.9896 MB / 0.5241 GB, free: 11.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2721, allocations: 12.56 kB / 0.5241 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.2723, allocations: 96 kB / 0.5242 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.2727, allocations: 342.8 kB / 0.5246 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.2727, allocations: 34.03 kB / 0.5246 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.2727, allocations: 40.72 kB / 0.5246 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.2733, allocations: 0.6467 MB / 0.5253 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2733, allocations: 0 / 0.5253 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.2733, allocations: 17.75 kB / 0.5253 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2733, allocations: 11.22 kB / 0.5253 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.2737, allocations: 259.9 kB / 0.5255 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.2749, allocations: 1.735 MB / 0.5272 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.2752, allocations: 230.3 kB / 0.5275 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.2753, allocations: 95.8 kB / 0.5275 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.2755, allocations: 79.64 kB / 0.5276 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2755, allocations: 45.72 kB / 0.5277 GB, free: 8.715 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.2755, allocations: 0 / 0.5277 GB, free: 8.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004759/0.276, allocations: 284.6 kB / 0.5279 GB, free: 8.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.276, allocations: 105.6 kB / 0.528 GB, free: 8.488 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2762, allocations: 331.5 kB / 0.5284 GB, free: 8.266 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2763, allocations: 32.64 kB / 0.5284 GB, free: 8.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.2764, allocations: 282.8 kB / 0.5287 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.2764, allocations: 106.9 kB / 0.5288 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.2765, allocations: 82.31 kB / 0.5288 GB, free: 7.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.2766, allocations: 0.5221 MB / 0.5293 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2767, allocations: 123.8 kB / 0.5295 GB, free: 7.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.2768, allocations: 269.3 kB / 0.5297 GB, free: 7.004 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.2772, allocations: 355.7 kB / 0.5301 GB, free: 6.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2772, allocations: 2.062 kB / 0.5301 GB, free: 6.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004151/0.2776, allocations: 450.3 kB / 0.5305 GB, free: 6.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.2776, allocations: 70.06 kB / 0.5306 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2776, allocations: 3.438 kB / 0.5306 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2776, allocations: 5.531 kB / 0.5306 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2778, allocations: 79.86 kB / 0.5306 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.2778, allocations: 5.812 kB / 0.5306 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.278, allocations: 44.64 kB / 0.5307 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.278, allocations: 24.08 kB / 0.5307 GB, free: 6.336 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.0001025/0.2781, allocations: 189.3 kB / 0.5309 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.2782, allocations: 42.75 kB / 0.5309 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.2786, allocations: 350 kB / 0.5313 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2786, allocations: 5.812 kB / 0.5313 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2786, allocations: 2.531 kB / 0.5313 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2786, allocations: 5.438 kB / 0.5313 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.2797, allocations: 1.2 MB / 0.5325 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2797, allocations: 0 / 0.5325 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.2798, allocations: 58.59 kB / 0.5325 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.2798, allocations: 3.125 kB / 0.5325 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2798, allocations: 13.78 kB / 0.5325 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2798, allocations: 2.781 kB / 0.5325 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2798, allocations: 2.906 kB / 0.5325 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.2802, allocations: 0.6678 MB / 0.5332 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.2802, allocations: 41.75 kB / 0.5332 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.2802, allocations: 13.84 kB / 0.5332 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2804, allocations: 15.05 kB / 0.5332 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.2804, allocations: 31.22 kB / 0.5333 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.2805, allocations: 22.84 kB / 0.5333 GB, free: 4.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2806, allocations: 261.6 kB / 0.5335 GB, free: 4.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2806, allocations: 0 / 0.5335 GB, free: 4.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000516/0.2811, allocations: 275.6 kB / 0.5338 GB, free: 4.301 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.0005837/0.2817, allocations: 400.2 kB / 0.5342 GB, free: 4.129 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.282, allocations: 372.2 kB / 0.5345 GB, free: 3.883 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.282, allocations: 7.156 kB / 0.5346 GB, free: 3.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.2821, allocations: 103.5 kB / 0.5347 GB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.2828, allocations: 232.6 kB / 0.5349 GB, free: 3.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.2836, allocations: 0.7352 MB / 0.5356 GB, free: 3.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.2837, allocations: 127.4 kB / 0.5357 GB, free: 3.211 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.2839, allocations: 92.91 kB / 0.5358 GB, free: 3.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.284, allocations: 51.09 kB / 0.5359 GB, free: 3.168 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.284, allocations: 0 / 0.5359 GB, free: 3.168 MB / 410.7 MB Notification: Performance of Templates: time 0.01294/0.2969, allocations: 13.05 MB / 0.5486 GB, free: 10.88 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.4794612880796194]