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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 183.9 kB / 24.51 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2444/0.2444, allocations: 44.9 MB / 353.5 MB, free: 11.82 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002013/0.002013, allocations: 63.91 kB / 497.7 MB, free: 0.9961 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.35, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2314/0.5814, allocations: 182.2 MB / 0.7268 GB, free: 8.566 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.002723/0.5842, allocations: 0.9047 MB / 0.7276 GB, free: 7.656 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005633/0.5847, allocations: 15.88 kB / 0.7277 GB, free: 7.641 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.001018/0.5857, allocations: 206.7 kB / 0.7279 GB, free: 7.438 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.0009854/0.5867, allocations: 290.3 kB / 0.7281 GB, free: 7.152 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007018/0.5937, allocations: 1.956 MB / 0.73 GB, free: 5.199 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.001975/0.5957, allocations: 0.9945 MB / 0.731 GB, free: 4.203 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.5965, allocations: 273.2 kB / 0.7313 GB, free: 3.934 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004745/0.6012, allocations: 1.573 MB / 0.7328 GB, free: 2.355 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008656/0.6021, allocations: 338.8 kB / 0.7331 GB, free: 2.023 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.6023, allocations: 48 kB / 0.7332 GB, free: 1.977 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.3544/0.9567, allocations: 2.841 MB / 0.736 GB, free: 5.117 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.9571, allocations: 199 kB / 0.7361 GB, free: 5.117 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.9576, allocations: 270.3 kB / 0.7364 GB, free: 5.117 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.005103/0.9627, allocations: 2.027 MB / 0.7384 GB, free: 5.02 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.9627, allocations: 0 / 0.7384 GB, free: 5.02 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.663e-06/0.9627, allocations: 0.5 kB / 0.7384 GB, free: 5.02 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 2e-05/0.9627, allocations: 1.562 kB / 0.7384 GB, free: 5.02 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.00264/0.9654, allocations: 0.9957 MB / 0.7394 GB, free: 4.398 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.9654, allocations: 10.19 kB / 0.7394 GB, free: 4.398 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.9657, allocations: 59.7 kB / 0.7394 GB, free: 4.371 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.9663, allocations: 316.7 kB / 0.7397 GB, free: 4.199 MB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.9664, allocations: 29.34 kB / 0.7397 GB, free: 4.199 MB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.9665, allocations: 37.42 kB / 0.7398 GB, free: 4.199 MB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.9675, allocations: 0.5188 MB / 0.7403 GB, free: 4.109 MB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.9675, allocations: 0.9688 kB / 0.7403 GB, free: 4.109 MB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.9676, allocations: 15.75 kB / 0.7403 GB, free: 4.109 MB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.9676, allocations: 13.16 kB / 0.7403 GB, free: 4.109 MB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/0.9685, allocations: 0.4886 MB / 0.7408 GB, free: 4.109 MB / 0.5606 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.9711, allocations: 1.943 MB / 0.7427 GB, free: 18.95 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.9718, allocations: 364.2 kB / 0.743 GB, free: 18.88 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.9721, allocations: 169.7 kB / 0.7432 GB, free: 18.86 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/0.9725, allocations: 132.7 kB / 0.7433 GB, free: 18.86 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.9726, allocations: 43.94 kB / 0.7434 GB, free: 18.82 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=30): time 3.116e-06/0.9726, allocations: 0 / 0.7434 GB, free: 18.82 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=30): time 0.001094/0.9737, allocations: 0.4912 MB / 0.7439 GB, free: 18.77 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.9737, allocations: 109.4 kB / 0.744 GB, free: 18.64 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.9741, allocations: 401 kB / 0.7443 GB, free: 18.53 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.9742, allocations: 37.39 kB / 0.7444 GB, free: 18.5 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.9743, allocations: 219.9 kB / 0.7446 GB, free: 18.37 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.9744, allocations: 108.9 kB / 0.7447 GB, free: 18.3 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.9745, allocations: 87.06 kB / 0.7448 GB, free: 18.28 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.000164/0.9747, allocations: 352.1 kB / 0.7451 GB, free: 17.96 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.975, allocations: 149.6 kB / 0.7452 GB, free: 17.96 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.9753, allocations: 253.5 kB / 0.7455 GB, free: 17.85 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.9759, allocations: 489.4 kB / 0.746 GB, free: 17.67 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9759, allocations: 7.562 kB / 0.746 GB, free: 17.66 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.000963/0.9769, allocations: 0.5408 MB / 0.7465 GB, free: 17.55 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.977, allocations: 61.06 kB / 0.7466 GB, free: 17.49 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.977, allocations: 4.219 kB / 0.7466 GB, free: 17.49 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.977, allocations: 5.375 kB / 0.7466 GB, free: 17.49 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.9774, allocations: 87.53 kB / 0.7466 GB, free: 17.49 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.9774, allocations: 5.281 kB / 0.7466 GB, free: 17.49 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.9778, allocations: 56.41 kB / 0.7467 GB, free: 17.46 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.9779, allocations: 24.81 kB / 0.7467 GB, free: 17.46 MB / 0.5762 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.000252/0.9781, allocations: 194.1 kB / 0.7469 GB, free: 17.34 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.9783, allocations: 42.42 kB / 0.747 GB, free: 17.32 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000947/0.9792, allocations: 487 kB / 0.7474 GB, free: 17.25 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9792, allocations: 5.125 kB / 0.7474 GB, free: 17.25 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9792, allocations: 3.5 kB / 0.7474 GB, free: 17.25 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9792, allocations: 0.8438 kB / 0.7474 GB, free: 17.25 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.9817, allocations: 1.363 MB / 0.7488 GB, free: 16.71 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.9817, allocations: 5.312 kB / 0.7488 GB, free: 16.71 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.982, allocations: 64.83 kB / 0.7488 GB, free: 16.7 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.982, allocations: 6.312 kB / 0.7488 GB, free: 16.7 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.982, allocations: 6.625 kB / 0.7488 GB, free: 16.7 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.982, allocations: 5.406 kB / 0.7488 GB, free: 16.7 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.982, allocations: 3.5 kB / 0.7488 GB, free: 16.7 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.9829, allocations: 0.6438 MB / 0.7495 GB, free: 16.35 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.983, allocations: 54.8 kB / 0.7495 GB, free: 16.32 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.983, allocations: 19.95 kB / 0.7495 GB, free: 16.31 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.9835, allocations: 22.5 kB / 0.7496 GB, free: 16.3 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.9836, allocations: 31.48 kB / 0.7496 GB, free: 16.3 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.9836, allocations: 20.95 kB / 0.7496 GB, free: 16.3 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0003821/0.984, allocations: 363.8 kB / 0.75 GB, free: 16.22 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.984, allocations: 1.312 kB / 0.75 GB, free: 16.22 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.001288/0.9853, allocations: 346.2 kB / 0.7503 GB, free: 16.16 MB / 0.5762 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.001229/0.9865, allocations: 0.4923 MB / 0.7508 GB, free: 16.01 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0008663/0.9874, allocations: 452.5 kB / 0.7512 GB, free: 15.89 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9874, allocations: 0 / 0.7512 GB, free: 15.89 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.9877, allocations: 161.1 kB / 0.7514 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.9892, allocations: 289.7 kB / 0.7516 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.9904, allocations: 0.7974 MB / 0.7524 GB, free: 15.46 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.9909, allocations: 0.8363 MB / 0.7532 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0004834/0.9914, allocations: 118.2 kB / 0.7533 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.9915, allocations: 50.14 kB / 0.7534 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of SimCode: time 7.72e-07/0.9915, allocations: 0 / 0.7534 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of Templates: time 0.02548/1.017, allocations: 15.23 MB / 0.7683 GB, free: 13.66 MB / 0.5762 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.4887702306732535]