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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 108.1 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2473/0.2473, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB 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.001487/0.001487, allocations: 64.48 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1209, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5124/0.6334, allocations: 186.3 MB / 0.6135 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.6359, allocations: 0.9007 MB / 0.6144 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.6362, allocations: 11.62 kB / 0.6144 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.637, allocations: 211.1 kB / 0.6146 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.6377, allocations: 274.3 kB / 0.6149 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00663/0.6443, allocations: 2.151 MB / 0.617 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.646, allocations: 0.9726 MB / 0.6179 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.6466, allocations: 340.1 kB / 0.6182 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0047/0.6513, allocations: 1.699 MB / 0.6199 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.6519, allocations: 323.2 kB / 0.6202 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.376e-05/0.652, allocations: 51.62 kB / 0.6203 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005628/0.6577, allocations: 2.933 MB / 0.6231 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.658, allocations: 191.5 kB / 0.6233 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004226/0.6585, allocations: 274.8 kB / 0.6236 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.6636, allocations: 2.116 MB / 0.6256 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6637, allocations: 0 / 0.6256 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6637, allocations: 0 / 0.6256 GB, free: 12.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.6637, allocations: 0 / 0.6256 GB, free: 12.25 MB / 446.1 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.002145/0.6659, allocations: 1.067 MB / 0.6267 GB, free: 11.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6659, allocations: 8.031 kB / 0.6267 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.6662, allocations: 59.42 kB / 0.6267 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.6669, allocations: 382 kB / 0.6271 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.6669, allocations: 29 kB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.667, allocations: 40 kB / 0.6272 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008913/0.6679, allocations: 0.5209 MB / 0.6277 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6679, allocations: 0 / 0.6277 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.668, allocations: 19.98 kB / 0.6277 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.668, allocations: 8 kB / 0.6277 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008434/0.6688, allocations: 0.4917 MB / 0.6282 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.6716, allocations: 1.963 MB / 0.6301 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.6723, allocations: 456.7 kB / 0.6305 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.6727, allocations: 182.5 kB / 0.6307 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008519/0.6735, allocations: 0.9494 MB / 0.6316 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.6736, allocations: 46.48 kB / 0.6317 GB, free: 5.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.435e-06/0.6736, allocations: 0 / 0.6317 GB, free: 5.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.001183/0.6748, allocations: 0.4927 MB / 0.6322 GB, free: 5.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.6749, allocations: 106.8 kB / 0.6323 GB, free: 4.887 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.6754, allocations: 401.6 kB / 0.6326 GB, free: 4.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.6754, allocations: 33.7 kB / 0.6327 GB, free: 4.449 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.6756, allocations: 220.1 kB / 0.6329 GB, free: 4.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.6757, allocations: 94.56 kB / 0.633 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.6759, allocations: 85.97 kB / 0.6331 GB, free: 4.047 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.676, allocations: 346.8 kB / 0.6334 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.6764, allocations: 152.6 kB / 0.6335 GB, free: 3.551 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.6768, allocations: 266 kB / 0.6338 GB, free: 3.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.6776, allocations: 487.7 kB / 0.6343 GB, free: 2.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6776, allocations: 0 / 0.6343 GB, free: 2.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00105/0.6787, allocations: 0.5469 MB / 0.6348 GB, free: 2.148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.6788, allocations: 67.39 kB / 0.6348 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6788, allocations: 0 / 0.6348 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.6788, allocations: 11.94 kB / 0.6349 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.6793, allocations: 87.83 kB / 0.6349 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.6793, allocations: 4.375 kB / 0.6349 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.6796, allocations: 55.45 kB / 0.635 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.6797, allocations: 20 kB / 0.635 GB, free: 1.895 MB / 446.1 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.0002482/0.6799, allocations: 193.5 kB / 0.6352 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.6801, allocations: 47.44 kB / 0.6353 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009773/0.6811, allocations: 480 kB / 0.6357 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6811, allocations: 4 kB / 0.6357 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.6811, allocations: 4 kB / 0.6357 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6811, allocations: 3.984 kB / 0.6357 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.6842, allocations: 2.438 MB / 0.6381 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.6843, allocations: 7.984 kB / 0.6381 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.6845, allocations: 59.95 kB / 0.6382 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.6846, allocations: 7.984 kB / 0.6382 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.6846, allocations: 16 kB / 0.6382 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.6846, allocations: 4 kB / 0.6382 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6846, allocations: 7.984 kB / 0.6382 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.6854, allocations: 0.6316 MB / 0.6388 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.6856, allocations: 128.6 kB / 0.6389 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/0.6857, allocations: 11.94 kB / 0.6389 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.6861, allocations: 19.98 kB / 0.639 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.6862, allocations: 27.91 kB / 0.639 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.6862, allocations: 19.98 kB / 0.639 GB, free: 13.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004276/0.6867, allocations: 363.1 kB / 0.6394 GB, free: 13.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.555e-06/0.6867, allocations: 0 / 0.6394 GB, free: 13.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001287/0.688, allocations: 391.5 kB / 0.6397 GB, free: 12.64 MB / 462.1 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.001336/0.6893, allocations: 0.5609 MB / 0.6403 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008742/0.6902, allocations: 479.2 kB / 0.6407 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6902, allocations: 0 / 0.6407 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.6906, allocations: 167.8 kB / 0.6409 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6919, allocations: 277.6 kB / 0.6412 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.6932, allocations: 0.7846 MB / 0.6419 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.6936, allocations: 0.8351 MB / 0.6427 GB, free: 9.465 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.6941, allocations: 119.2 kB / 0.6429 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.6942, allocations: 51.36 kB / 0.6429 GB, free: 9.297 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6942, allocations: 3.938 kB / 0.6429 GB, free: 9.293 MB / 462.1 MB Notification: Performance of Templates: time 0.02689/0.7211, allocations: 15.97 MB / 0.6585 GB, free: 9.367 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches