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.001962/0.001962, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002179/0.002179, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 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.55/1.55, allocations: 230.3 MB / 258 MB, free: 8.277 MB / 206.1 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.2696/0.2696, allocations: 46.89 MB / 361.3 MB, free: 4.492 MB / 286.1 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 0.002276/0.002276, allocations: 83.84 kB / 0.4971 GB, free: 7.641 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3812, allocations: 66.02 MB / 0.5615 GB, free: 4.688 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.7624/1.144, allocations: 185.6 MB / 0.7427 GB, free: 1.766 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.002283/1.146, allocations: 0.892 MB / 0.7436 GB, free: 1.762 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/1.146, allocations: 15.69 kB / 0.7436 GB, free: 1.762 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008717/1.147, allocations: 212.2 kB / 0.7438 GB, free: 1.762 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.0007426/1.148, allocations: 296.1 kB / 0.7441 GB, free: 1.762 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005947/1.154, allocations: 1.972 MB / 0.746 GB, free: 1.719 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.001046/1.155, allocations: 0.9912 MB / 0.747 GB, free: 1.719 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/1.155, allocations: 275.1 kB / 0.7473 GB, free: 1.703 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003426/1.159, allocations: 1.601 MB / 0.7488 GB, free: 1.676 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000577/1.159, allocations: 341.7 kB / 0.7492 GB, free: 1.676 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 9.724e-05/1.159, allocations: 47.97 kB / 0.7492 GB, free: 1.676 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005541/1.165, allocations: 2.899 MB / 0.752 GB, free: 1.648 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003272/1.165, allocations: 202.5 kB / 0.7522 GB, free: 1.648 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004493/1.166, allocations: 272.6 kB / 0.7525 GB, free: 1.648 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.004643/1.17, allocations: 2.056 MB / 0.7545 GB, free: 1.535 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.17, allocations: 1.203 kB / 0.7545 GB, free: 1.535 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.893e-06/1.17, allocations: 0.9062 kB / 0.7545 GB, free: 1.535 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 1.26e-05/1.17, allocations: 0 / 0.7545 GB, free: 1.535 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.00246/1.173, allocations: 1.01 MB / 0.7555 GB, free: 16.9 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.173, allocations: 11.25 kB / 0.7555 GB, free: 16.9 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/1.173, allocations: 57.81 kB / 0.7555 GB, free: 16.88 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/1.174, allocations: 324.1 kB / 0.7559 GB, free: 16.7 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/1.174, allocations: 32.47 kB / 0.7559 GB, free: 16.7 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/1.174, allocations: 34.56 kB / 0.7559 GB, free: 16.7 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008809/1.175, allocations: 0.5157 MB / 0.7564 GB, free: 16.61 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.175, allocations: 0.75 kB / 0.7564 GB, free: 16.61 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/1.175, allocations: 18.38 kB / 0.7564 GB, free: 16.61 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/1.175, allocations: 9.406 kB / 0.7565 GB, free: 16.61 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008363/1.176, allocations: 497.1 kB / 0.7569 GB, free: 16.61 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/1.179, allocations: 1.948 MB / 0.7588 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/1.179, allocations: 366.8 kB / 0.7592 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/1.18, allocations: 172.6 kB / 0.7593 GB, free: 15.35 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000433/1.18, allocations: 125.6 kB / 0.7595 GB, free: 15.35 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.18, allocations: 43.97 kB / 0.7595 GB, free: 15.31 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=30): time 1.794e-06/1.18, allocations: 0 / 0.7595 GB, free: 15.31 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=30): time 0.001096/1.181, allocations: 0.4968 MB / 0.76 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/1.181, allocations: 109.6 kB / 0.7601 GB, free: 15.12 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/1.182, allocations: 404.3 kB / 0.7605 GB, free: 15 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 5.578e-05/1.182, allocations: 32.14 kB / 0.7605 GB, free: 14.97 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001426/1.182, allocations: 219.2 kB / 0.7607 GB, free: 14.84 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/1.182, allocations: 110.7 kB / 0.7608 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/1.182, allocations: 79.91 kB / 0.7609 GB, free: 14.76 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001962/1.182, allocations: 353.5 kB / 0.7612 GB, free: 14.44 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/1.182, allocations: 150.4 kB / 0.7614 GB, free: 14.44 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/1.183, allocations: 256.8 kB / 0.7616 GB, free: 14.32 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/1.183, allocations: 485.7 kB / 0.7621 GB, free: 14.14 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.183, allocations: 3.219 kB / 0.7621 GB, free: 14.14 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009536/1.184, allocations: 0.5444 MB / 0.7626 GB, free: 14.02 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/1.184, allocations: 63.8 kB / 0.7627 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.185, allocations: 4.469 kB / 0.7627 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.185, allocations: 11.38 kB / 0.7627 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/1.185, allocations: 82.17 kB / 0.7628 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.185, allocations: 9.438 kB / 0.7628 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/1.185, allocations: 54.14 kB / 0.7628 GB, free: 13.92 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/1.185, allocations: 23.66 kB / 0.7629 GB, free: 13.92 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.0003029/1.186, allocations: 189.3 kB / 0.763 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.186, allocations: 40.8 kB / 0.7631 GB, free: 13.78 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009657/1.187, allocations: 496.2 kB / 0.7636 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.187, allocations: 2.75 kB / 0.7636 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.187, allocations: 0.9688 kB / 0.7636 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.187, allocations: 9.797 kB / 0.7636 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/1.189, allocations: 1.359 MB / 0.7649 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.189, allocations: 3 kB / 0.7649 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/1.19, allocations: 62.75 kB / 0.765 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/1.19, allocations: 5.312 kB / 0.765 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/1.19, allocations: 10.89 kB / 0.765 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.19, allocations: 2.156 kB / 0.765 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.19, allocations: 6.938 kB / 0.765 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009049/1.19, allocations: 0.6401 MB / 0.7656 GB, free: 12.79 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.191, allocations: 51.86 kB / 0.7657 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/1.191, allocations: 12.62 kB / 0.7657 GB, free: 12.76 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/1.191, allocations: 29.27 kB / 0.7657 GB, free: 12.76 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/1.191, allocations: 27.94 kB / 0.7657 GB, free: 12.76 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/1.191, allocations: 26.48 kB / 0.7657 GB, free: 12.75 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0003864/1.192, allocations: 361.4 kB / 0.7661 GB, free: 12.67 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1.11e-07/1.192, allocations: 0 / 0.7661 GB, free: 12.67 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.001231/1.193, allocations: 355 kB / 0.7664 GB, free: 12.61 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.001359/1.194, allocations: 0.4915 MB / 0.7669 GB, free: 12.45 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.000838/1.195, allocations: 459.8 kB / 0.7673 GB, free: 12.32 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.195, allocations: 5.562 kB / 0.7674 GB, free: 12.32 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002888/1.195, allocations: 153.7 kB / 0.7675 GB, free: 12.32 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.197, allocations: 284 kB / 0.7678 GB, free: 12.29 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/1.198, allocations: 0.8024 MB / 0.7686 GB, free: 11.89 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/1.199, allocations: 0.8394 MB / 0.7694 GB, free: 11.2 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0005044/1.199, allocations: 121.3 kB / 0.7695 GB, free: 11.18 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.199, allocations: 48.27 kB / 0.7695 GB, free: 11.17 MB / 0.5762 GB
Notification: Performance of SimCode: time 7.22e-07/1.199, allocations: 4.031 kB / 0.7695 GB, free: 11.17 MB / 0.5762 GB
Notification: Performance of Templates: time 0.02508/1.224, allocations: 15.34 MB / 0.7845 GB, free: 8.016 MB / 0.5762 GB
"
[Timeout remaining time 659]
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.0.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: 6.889031692408025]