Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001529/0.001529, allocations: 107.2 kB / 19.69 MB, free: 2.199 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.001534/0.001534, allocations: 185.1 kB / 22.98 MB, free: 5.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2665/0.2665, allocations: 44.23 MB / 330.2 MB, free: 9.562 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 71.89 kB / 468 MB, free: 4.027 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 61.03 MB / 0.5166 GB, free: 6.863 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4709/0.5945, allocations: 187.2 MB / 0.6994 GB, free: 8.211 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.002265/0.5967, allocations: 0.9163 MB / 0.7003 GB, free: 7.293 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.5972, allocations: 11.88 kB / 0.7003 GB, free: 7.281 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.000953/0.5981, allocations: 214.6 kB / 0.7005 GB, free: 7.07 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.0007828/0.5989, allocations: 282.4 kB / 0.7008 GB, free: 6.793 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007274/0.6062, allocations: 2.205 MB / 0.7029 GB, free: 4.594 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.001711/0.6079, allocations: 0.9945 MB / 0.7039 GB, free: 3.594 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000766/0.6087, allocations: 277.2 kB / 0.7042 GB, free: 3.32 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.6135, allocations: 1.729 MB / 0.7059 GB, free: 1.586 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007543/0.6143, allocations: 342.7 kB / 0.7062 GB, free: 1.25 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.6144, allocations: 48 kB / 0.7062 GB, free: 1.203 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.006404/0.6208, allocations: 3.05 MB / 0.7092 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004031/0.6213, allocations: 199.3 kB / 0.7094 GB, free: 13.95 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005669/0.6218, allocations: 270.8 kB / 0.7097 GB, free: 13.69 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.005627/0.6274, allocations: 2.127 MB / 0.7117 GB, free: 11.55 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6275, allocations: 0 / 0.7117 GB, free: 11.55 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.6275, allocations: 0 / 0.7117 GB, free: 11.55 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 3.335e-05/0.6275, allocations: 0 / 0.7117 GB, free: 11.55 MB / 0.545 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.002688/0.6302, allocations: 1.017 MB / 0.7127 GB, free: 10.49 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.6302, allocations: 12.03 kB / 0.7127 GB, free: 10.48 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.6306, allocations: 60.83 kB / 0.7128 GB, free: 10.42 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.6313, allocations: 327.8 kB / 0.7131 GB, free: 10.08 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.6313, allocations: 21 kB / 0.7131 GB, free: 10.06 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.6315, allocations: 40 kB / 0.7132 GB, free: 10.02 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.6326, allocations: 0.5273 MB / 0.7137 GB, free: 9.461 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6326, allocations: 0 / 0.7137 GB, free: 9.461 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.6327, allocations: 16 kB / 0.7137 GB, free: 9.445 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.6327, allocations: 12 kB / 0.7137 GB, free: 9.434 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009993/0.6337, allocations: 499.3 kB / 0.7142 GB, free: 8.945 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.6372, allocations: 1.931 MB / 0.7161 GB, free: 6.879 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.638, allocations: 367.5 kB / 0.7164 GB, free: 6.492 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.6384, allocations: 174.4 kB / 0.7166 GB, free: 6.312 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/0.6389, allocations: 123.9 kB / 0.7167 GB, free: 6.191 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.639, allocations: 46.5 kB / 0.7168 GB, free: 6.137 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=30): time 2.314e-06/0.639, allocations: 0 / 0.7168 GB, free: 6.137 MB / 0.545 GB
Notification: Performance of matching and sorting (n=30): time 0.001306/0.6403, allocations: 0.4971 MB / 0.7172 GB, free: 5.633 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.6404, allocations: 110.8 kB / 0.7173 GB, free: 5.5 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.6409, allocations: 393.7 kB / 0.7177 GB, free: 5.105 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.641, allocations: 33.7 kB / 0.7178 GB, free: 5.066 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.6412, allocations: 232.6 kB / 0.718 GB, free: 4.836 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.6413, allocations: 103.1 kB / 0.7181 GB, free: 4.734 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.6415, allocations: 82.02 kB / 0.7182 GB, free: 4.648 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001928/0.6417, allocations: 346.8 kB / 0.7185 GB, free: 4.301 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.642, allocations: 152.6 kB / 0.7186 GB, free: 4.152 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.6425, allocations: 261.6 kB / 0.7189 GB, free: 3.855 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.6434, allocations: 481 kB / 0.7193 GB, free: 3.328 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6434, allocations: 7.938 kB / 0.7193 GB, free: 3.32 MB / 0.545 GB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.001201/0.6446, allocations: 0.555 MB / 0.7199 GB, free: 2.746 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/0.6447, allocations: 59.41 kB / 0.7199 GB, free: 2.676 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6447, allocations: 4 kB / 0.7199 GB, free: 2.672 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.6447, allocations: 4 kB / 0.72 GB, free: 2.668 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.6451, allocations: 91.81 kB / 0.72 GB, free: 2.578 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.6451, allocations: 4 kB / 0.72 GB, free: 2.574 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.6455, allocations: 51.95 kB / 0.7201 GB, free: 2.523 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.6456, allocations: 24.86 kB / 0.7201 GB, free: 2.5 MB / 0.545 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.0002586/0.6458, allocations: 189.6 kB / 0.7203 GB, free: 2.305 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.646, allocations: 43.72 kB / 0.7203 GB, free: 2.262 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.6472, allocations: 482.3 kB / 0.7208 GB, free: 1.777 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.6472, allocations: 4 kB / 0.7208 GB, free: 1.773 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6472, allocations: 0 / 0.7208 GB, free: 1.773 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6472, allocations: 3.984 kB / 0.7208 GB, free: 1.77 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.6502, allocations: 1.366 MB / 0.7221 GB, free: 332 kB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.6502, allocations: 4 kB / 0.7221 GB, free: 328 kB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.6505, allocations: 68.08 kB / 0.7222 GB, free: 260 kB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.6505, allocations: 4 kB / 0.7222 GB, free: 256 kB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.6505, allocations: 11.94 kB / 0.7222 GB, free: 244 kB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.6505, allocations: 4 kB / 0.7222 GB, free: 240 kB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.6505, allocations: 7.938 kB / 0.7222 GB, free: 232 kB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.6515, allocations: 0.6398 MB / 0.7229 GB, free: 15.55 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6516, allocations: 43.98 kB / 0.7229 GB, free: 15.51 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.6517, allocations: 19.88 kB / 0.7229 GB, free: 15.49 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.6522, allocations: 31.97 kB / 0.723 GB, free: 15.46 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.6523, allocations: 27.89 kB / 0.723 GB, free: 15.43 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.6523, allocations: 23.98 kB / 0.723 GB, free: 15.41 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0004775/0.6528, allocations: 363.1 kB / 0.7233 GB, free: 15.05 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 7e-08/0.6528, allocations: 0 / 0.7233 GB, free: 15.05 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.001273/0.6541, allocations: 382.9 kB / 0.7237 GB, free: 14.68 MB / 0.5606 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.001751/0.6558, allocations: 0.5848 MB / 0.7243 GB, free: 14.1 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0009834/0.6568, allocations: 458.3 kB / 0.7247 GB, free: 13.62 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6568, allocations: 0 / 0.7247 GB, free: 13.62 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.6572, allocations: 157.1 kB / 0.7249 GB, free: 13.47 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.6588, allocations: 288.9 kB / 0.7251 GB, free: 13.2 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6603, allocations: 0.7959 MB / 0.7259 GB, free: 12.35 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.6609, allocations: 0.839 MB / 0.7267 GB, free: 11.48 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0004349/0.6613, allocations: 116.3 kB / 0.7269 GB, free: 11.37 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.6614, allocations: 51.42 kB / 0.7269 GB, free: 11.32 MB / 0.5606 GB
Notification: Performance of SimCode: time 6.21e-07/0.6614, allocations: 0 / 0.7269 GB, free: 11.32 MB / 0.5606 GB
Notification: Performance of Templates: time 0.02965/0.6911, allocations: 16.31 MB / 0.7428 GB, free: 11.02 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.22684774082154]