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.001862/0.001862, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002282/0.002282, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.557/1.557, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3895/0.3895, allocations: 34.24 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.543e-06/1.543e-06, allocations: 3.938 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.827e-05, allocations: 2.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3447/0.3448, allocations: 160.3 MB / 0.5249 GB, free: 6.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3466, allocations: 0.8813 MB / 0.5258 GB, free: 5.715 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.3468, allocations: 13.06 kB / 0.5258 GB, free: 5.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.3475, allocations: 206.1 kB / 0.526 GB, free: 5.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.3481, allocations: 303.8 kB / 0.5263 GB, free: 5.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.3528, allocations: 2.001 MB / 0.5282 GB, free: 4.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009723/0.3538, allocations: 0.9863 MB / 0.5292 GB, free: 3.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.3542, allocations: 284.5 kB / 0.5295 GB, free: 3.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.3576, allocations: 1.73 MB / 0.5312 GB, free: 3.113 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.3581, allocations: 293.8 kB / 0.5314 GB, free: 3.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.3582, allocations: 46.03 kB / 0.5315 GB, free: 3.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003971/0.3621, allocations: 2.302 MB / 0.5337 GB, free: 2.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.3624, allocations: 211.8 kB / 0.5339 GB, free: 2.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.3627, allocations: 196.7 kB / 0.5341 GB, free: 2.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.3661, allocations: 2.228 MB / 0.5363 GB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3661, allocations: 0 / 0.5363 GB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3661, allocations: 0 / 0.5363 GB, free: 0.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3661, allocations: 0 / 0.5363 GB, free: 0.875 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.001706/0.3678, allocations: 1.003 MB / 0.5373 GB, free: 68 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3679, allocations: 10.53 kB / 0.5373 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.3683, allocations: 95.12 kB / 0.5374 GB, free: 20 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009073/0.3692, allocations: 345 kB / 0.5377 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.3692, allocations: 26.41 kB / 0.5377 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.3693, allocations: 41.03 kB / 0.5378 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3704, allocations: 0.7708 MB / 0.5385 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3705, allocations: 0 / 0.5385 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.3705, allocations: 21.41 kB / 0.5386 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.3705, allocations: 7.938 kB / 0.5386 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009033/0.3714, allocations: 491.7 kB / 0.539 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.3742, allocations: 1.477 MB / 0.5405 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.375, allocations: 367.6 kB / 0.5408 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.3753, allocations: 167.7 kB / 0.541 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004661/0.3758, allocations: 126.9 kB / 0.5411 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.3759, allocations: 43.45 kB / 0.5411 GB, free: 13.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.913e-06/0.3759, allocations: 0 / 0.5411 GB, free: 13.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001197/0.3771, allocations: 0.502 MB / 0.5416 GB, free: 12.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.3771, allocations: 109.6 kB / 0.5417 GB, free: 12.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3775, allocations: 294.7 kB / 0.542 GB, free: 12.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.3775, allocations: 35.23 kB / 0.5421 GB, free: 12.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.3777, allocations: 229.2 kB / 0.5423 GB, free: 12.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.3778, allocations: 112.5 kB / 0.5424 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.378, allocations: 78.73 kB / 0.5425 GB, free: 12.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.3782, allocations: 341.9 kB / 0.5428 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.3786, allocations: 208.2 kB / 0.543 GB, free: 11.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.379, allocations: 310.7 kB / 0.5433 GB, free: 11.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/0.3798, allocations: 487.2 kB / 0.5437 GB, free: 11.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3798, allocations: 0 / 0.5437 GB, free: 11.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001106/0.3809, allocations: 0.6095 MB / 0.5443 GB, free: 10.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.381, allocations: 63.75 kB / 0.5444 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.381, allocations: 5.281 kB / 0.5444 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.381, allocations: 8.906 kB / 0.5444 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.3814, allocations: 85.42 kB / 0.5445 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.3815, allocations: 9.141 kB / 0.5445 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.3818, allocations: 44.03 kB / 0.5445 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.3818, allocations: 21.33 kB / 0.5446 GB, free: 10.62 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.0002542/0.3821, allocations: 185.7 kB / 0.5447 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3822, allocations: 43.66 kB / 0.5448 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.3833, allocations: 486.4 kB / 0.5452 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3833, allocations: 2.312 kB / 0.5452 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3833, allocations: 2.938 kB / 0.5453 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3833, allocations: 6.172 kB / 0.5453 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.3859, allocations: 1.201 MB / 0.5464 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3859, allocations: 3.094 kB / 0.5464 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.3862, allocations: 68.05 kB / 0.5465 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.3862, allocations: 2.156 kB / 0.5465 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.3862, allocations: 14.09 kB / 0.5465 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3862, allocations: 2.531 kB / 0.5465 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3862, allocations: 6.641 kB / 0.5465 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3872, allocations: 0.6502 MB / 0.5472 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.3873, allocations: 35.7 kB / 0.5472 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.3874, allocations: 11.94 kB / 0.5472 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.3878, allocations: 27.97 kB / 0.5472 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.3881, allocations: 31.91 kB / 0.5473 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.3882, allocations: 15.98 kB / 0.5473 GB, free: 8.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003662/0.3886, allocations: 283 kB / 0.5475 GB, free: 8.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3886, allocations: 4 kB / 0.5475 GB, free: 8.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001206/0.3898, allocations: 358.9 kB / 0.5479 GB, free: 7.848 MB / 426.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.001305/0.3911, allocations: 0.5172 MB / 0.5484 GB, free: 7.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009868/0.3921, allocations: 0.4964 MB / 0.5489 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3921, allocations: 0 / 0.5489 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.3924, allocations: 159.7 kB / 0.549 GB, free: 6.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.3937, allocations: 222.5 kB / 0.5492 GB, free: 6.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.3952, allocations: 0.7618 MB / 0.55 GB, free: 5.637 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3955, allocations: 236.1 kB / 0.5502 GB, free: 5.387 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004025/0.3959, allocations: 109.4 kB / 0.5503 GB, free: 5.285 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.396, allocations: 44.48 kB / 0.5504 GB, free: 5.242 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.396, allocations: 0 / 0.5504 GB, free: 5.242 MB / 426.7 MB Notification: Performance of Templates: time 0.02611/0.4221, allocations: 13.49 MB / 0.5635 GB, free: 7.922 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.8522725980728865]