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.00141/0.00141, allocations: 107 kB / 16.27 MB, free: 6.051 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.0015/0.0015, allocations: 190.9 kB / 17.19 MB, free: 5.688 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.551/1.551, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2097/0.2097, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001556/0.001556, allocations: 74.97 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4347/0.5375, allocations: 186.3 MB / 0.6121 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.5396, allocations: 0.9003 MB / 0.613 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.5402, allocations: 12.81 kB / 0.613 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.5412, allocations: 211.8 kB / 0.6132 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008745/0.5421, allocations: 271.7 kB / 0.6134 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006269/0.5484, allocations: 2.159 MB / 0.6156 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.5496, allocations: 0.9705 MB / 0.6165 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.55, allocations: 333.5 kB / 0.6168 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/0.5539, allocations: 1.696 MB / 0.6185 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.5544, allocations: 327.2 kB / 0.6188 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.482e-05/0.5545, allocations: 47.5 kB / 0.6188 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005501/0.5601, allocations: 2.852 MB / 0.6216 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.5604, allocations: 191.5 kB / 0.6218 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.5607, allocations: 266.8 kB / 0.6221 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.5643, allocations: 2.105 MB / 0.6241 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5643, allocations: 0 / 0.6241 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5643, allocations: 0 / 0.6241 GB, free: 12.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.5643, allocations: 4 kB / 0.6241 GB, free: 12.83 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.001869/0.5662, allocations: 1.067 MB / 0.6252 GB, free: 11.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5663, allocations: 12.03 kB / 0.6252 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.5666, allocations: 59.42 kB / 0.6252 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.567, allocations: 362 kB / 0.6256 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.5671, allocations: 29 kB / 0.6256 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.5671, allocations: 36 kB / 0.6256 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.568, allocations: 0.5197 MB / 0.6261 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.568, allocations: 4 kB / 0.6261 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.5681, allocations: 20 kB / 0.6262 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5681, allocations: 8 kB / 0.6262 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.569, allocations: 0.4953 MB / 0.6267 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.5718, allocations: 1.974 MB / 0.6286 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.5725, allocations: 452.7 kB / 0.629 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.5729, allocations: 186.4 kB / 0.6292 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008143/0.5737, allocations: 0.9533 MB / 0.6301 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.5737, allocations: 34.56 kB / 0.6302 GB, free: 6.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 4.218e-06/0.5737, allocations: 4 kB / 0.6302 GB, free: 6.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.001142/0.5749, allocations: 0.4954 MB / 0.6306 GB, free: 5.602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.575, allocations: 114.8 kB / 0.6308 GB, free: 5.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/0.5754, allocations: 397.6 kB / 0.6311 GB, free: 5.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.5755, allocations: 37.69 kB / 0.6312 GB, free: 5.027 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.5756, allocations: 216.2 kB / 0.6314 GB, free: 4.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.5757, allocations: 102.5 kB / 0.6315 GB, free: 4.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.5759, allocations: 81.97 kB / 0.6316 GB, free: 4.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.576, allocations: 354.8 kB / 0.6319 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.5763, allocations: 144.7 kB / 0.632 GB, free: 4.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.5767, allocations: 258 kB / 0.6323 GB, free: 3.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007105/0.5774, allocations: 487.6 kB / 0.6327 GB, free: 3.301 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5774, allocations: 7.938 kB / 0.6327 GB, free: 3.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001011/0.5785, allocations: 0.5469 MB / 0.6333 GB, free: 2.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.5785, allocations: 59.41 kB / 0.6333 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5785, allocations: 4.375 kB / 0.6333 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5786, allocations: 8 kB / 0.6333 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.579, allocations: 83.89 kB / 0.6334 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.579, allocations: 5.562 kB / 0.6334 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.5793, allocations: 51.52 kB / 0.6335 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5794, allocations: 23.98 kB / 0.6335 GB, free: 2.484 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.0002244/0.5796, allocations: 193.5 kB / 0.6337 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5798, allocations: 47.44 kB / 0.6337 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.5808, allocations: 487.8 kB / 0.6342 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5808, allocations: 4 kB / 0.6342 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5808, allocations: 4.062 kB / 0.6342 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5808, allocations: 0 / 0.6342 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.5839, allocations: 2.437 MB / 0.6366 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5839, allocations: 0 / 0.6366 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.5842, allocations: 72.03 kB / 0.6367 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.5842, allocations: 4 kB / 0.6367 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.5842, allocations: 11.94 kB / 0.6367 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.5843, allocations: 7.984 kB / 0.6367 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/0.5843, allocations: 4.219 kB / 0.6367 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008163/0.5851, allocations: 0.6277 MB / 0.6373 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.5852, allocations: 124.5 kB / 0.6374 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.5853, allocations: 15.94 kB / 0.6374 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.5857, allocations: 31.91 kB / 0.6375 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.5858, allocations: 19.97 kB / 0.6375 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.5859, allocations: 23.98 kB / 0.6375 GB, free: 13.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003835/0.5862, allocations: 355.1 kB / 0.6378 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5863, allocations: 0 / 0.6378 GB, free: 13.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001074/0.5873, allocations: 387.6 kB / 0.6382 GB, free: 13.25 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.001225/0.5886, allocations: 0.5752 MB / 0.6388 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008384/0.5894, allocations: 482.5 kB / 0.6392 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.5894, allocations: 4 kB / 0.6392 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.5898, allocations: 164.8 kB / 0.6394 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.5913, allocations: 296 kB / 0.6397 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.5926, allocations: 0.7885 MB / 0.6404 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.593, allocations: 0.839 MB / 0.6413 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.5935, allocations: 114.8 kB / 0.6414 GB, free: 9.914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5936, allocations: 47.42 kB / 0.6414 GB, free: 9.867 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5936, allocations: 0 / 0.6414 GB, free: 9.867 MB / 462.1 MB Notification: Performance of Templates: time 0.02987/0.6235, allocations: 15.98 MB / 0.657 GB, free: 9.934 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 -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/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) Reference file matches