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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.3 MB / 236 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000896/0.0008961, allocations: 87.86 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1927/0.1927, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.733e-05, allocations: 4 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.7/7.827, allocations: 3.41 GB / 3.912 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/7.828, allocations: 83.08 kB / 3.912 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9486/8.776, allocations: 297.8 MB / 4.202 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/8.776, allocations: 0 / 4.202 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.982e-05/8.776, allocations: 11.94 kB / 4.202 GB, free: 8.094 MB / 0.5261 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.004736/8.781, allocations: 1.558 MB / 4.204 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/8.781, allocations: 8.031 kB / 4.204 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/8.782, allocations: 59.39 kB / 4.204 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/8.782, allocations: 374.1 kB / 4.204 GB, free: 6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/8.782, allocations: 28.78 kB / 4.204 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/8.782, allocations: 36 kB / 4.204 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007574/8.783, allocations: 485.6 kB / 4.205 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/8.783, allocations: 3.938 kB / 4.205 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/8.783, allocations: 20 kB / 4.205 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/8.783, allocations: 8 kB / 4.205 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/8.784, allocations: 455.5 kB / 4.205 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/8.786, allocations: 1.975 MB / 4.207 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/8.787, allocations: 436.8 kB / 4.208 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/8.787, allocations: 162.6 kB / 4.208 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/8.788, allocations: 0.9572 MB / 4.209 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/8.788, allocations: 38.56 kB / 4.209 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/8.788, allocations: 0 / 4.209 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.0006519/8.788, allocations: 345.4 kB / 4.209 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/8.788, allocations: 110.8 kB / 4.209 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/8.789, allocations: 355.5 kB / 4.21 GB, free: 172 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/8.789, allocations: 33.7 kB / 4.21 GB, free: 132 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.3391/9.128, allocations: 210.6 kB / 4.21 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/9.128, allocations: 104.9 kB / 4.21 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/9.128, allocations: 8.156 kB / 4.21 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002122/9.128, allocations: 350 kB / 4.21 GB, free: 91.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/9.129, allocations: 135.4 kB / 4.21 GB, free: 91.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/9.129, allocations: 241.4 kB / 4.211 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/9.13, allocations: 228.2 kB / 4.211 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/9.13, allocations: 5.922 kB / 4.211 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001244/9.131, allocations: 0.5227 MB / 4.211 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.514e-05/9.131, allocations: 63.45 kB / 4.212 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/9.131, allocations: 3.125 kB / 4.212 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/9.131, allocations: 5.438 kB / 4.212 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/9.132, allocations: 87.84 kB / 4.212 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/9.132, allocations: 6.922 kB / 4.212 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/9.132, allocations: 66.64 kB / 4.212 GB, free: 90.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/9.132, allocations: 24.44 kB / 4.212 GB, free: 90.71 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/9.133, allocations: 131.7 kB / 4.212 GB, free: 90.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/9.133, allocations: 41.78 kB / 4.212 GB, free: 90.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/9.134, allocations: 471.7 kB / 4.212 GB, free: 90.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/9.134, allocations: 3.438 kB / 4.212 GB, free: 90.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/9.134, allocations: 2.234 kB / 4.212 GB, free: 90.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/9.134, allocations: 2.75 kB / 4.212 GB, free: 90.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/9.137, allocations: 2.419 MB / 4.215 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/9.137, allocations: 6.062 kB / 4.215 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/9.137, allocations: 68.66 kB / 4.215 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/9.137, allocations: 9.062 kB / 4.215 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/9.137, allocations: 9.047 kB / 4.215 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/9.137, allocations: 5.094 kB / 4.215 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/9.137, allocations: 1.969 kB / 4.215 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/9.138, allocations: 0.7119 MB / 4.215 GB, free: 88.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/9.138, allocations: 143.4 kB / 4.216 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/9.138, allocations: 7.25 kB / 4.216 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/9.139, allocations: 27.39 kB / 4.216 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/9.139, allocations: 29.31 kB / 4.216 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/9.139, allocations: 24.64 kB / 4.216 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004284/9.139, allocations: 347 kB / 4.216 GB, free: 87.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/9.139, allocations: 1.031 kB / 4.216 GB, free: 87.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001797/9.141, allocations: 432.6 kB / 4.216 GB, free: 87.93 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002043/9.143, allocations: 1.102 MB / 4.218 GB, free: 87.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007248/9.144, allocations: 441.3 kB / 4.218 GB, free: 87.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/9.144, allocations: 2.625 kB / 4.218 GB, free: 87.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/9.144, allocations: 157.8 kB / 4.218 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/9.145, allocations: 241.7 kB / 4.218 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/9.146, allocations: 0.5564 MB / 4.219 GB, free: 87.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/9.147, allocations: 0.8481 MB / 4.22 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004702/9.147, allocations: 109.2 kB / 4.22 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/9.147, allocations: 46.39 kB / 4.22 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/9.147, allocations: 0 / 4.22 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.03659/9.184, allocations: 25.38 MB / 4.245 GB, free: 86.38 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches