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.00204/0.002039, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0009207/0.0009205, allocations: 90.75 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.488e-05/1.525e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.34/8.48, allocations: 3.409 GB / 3.904 GB, free: 164 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/8.481, allocations: 83.95 kB / 3.904 GB, free: 164 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9847/9.465, allocations: 294.8 MB / 4.192 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/9.465, allocations: 0 / 4.192 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.428e-05/9.465, allocations: 8 kB / 4.192 GB, free: 64.26 MB / 0.5105 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.006009/9.471, allocations: 1.573 MB / 4.193 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/9.472, allocations: 11.98 kB / 4.193 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004839/9.472, allocations: 55.44 kB / 4.193 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/9.473, allocations: 365.8 kB / 4.194 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/9.473, allocations: 16 kB / 4.194 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/9.473, allocations: 23.95 kB / 4.194 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007727/9.474, allocations: 433.3 kB / 4.194 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/9.475, allocations: 432 kB / 4.195 GB, free: 61.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/9.475, allocations: 3.938 kB / 4.195 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.668e-05/9.475, allocations: 8 kB / 4.195 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/9.475, allocations: 11.98 kB / 4.195 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/9.477, allocations: 2.035 MB / 4.197 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/9.478, allocations: 389 kB / 4.197 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/9.478, allocations: 142.6 kB / 4.197 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006209/9.479, allocations: 0.7714 MB / 4.198 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/9.479, allocations: 46.5 kB / 4.198 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.896e-06/9.479, allocations: 0 / 4.198 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.0009131/9.48, allocations: 369.5 kB / 4.198 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/9.48, allocations: 114.8 kB / 4.198 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/9.48, allocations: 253.1 kB / 4.199 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/9.48, allocations: 25.7 kB / 4.199 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/9.48, allocations: 235.9 kB / 4.199 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/9.48, allocations: 94.56 kB / 4.199 GB, free: 56.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/9.48, allocations: 4 kB / 4.199 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.638e-05/9.48, allocations: 346.7 kB / 4.199 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/9.48, allocations: 128.7 kB / 4.199 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/9.481, allocations: 229.9 kB / 4.2 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/9.481, allocations: 243.7 kB / 4.2 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/9.481, allocations: 3.938 kB / 4.2 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001016/9.482, allocations: 0.5068 MB / 4.2 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/9.482, allocations: 64.64 kB / 4.2 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/9.482, allocations: 4.375 kB / 4.2 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/9.482, allocations: 8 kB / 4.2 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/9.483, allocations: 87.89 kB / 4.201 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/9.483, allocations: 7.938 kB / 4.201 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/9.483, allocations: 47.61 kB / 4.201 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/9.483, allocations: 20 kB / 4.201 GB, free: 54.62 MB / 0.5105 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.000132/9.483, allocations: 112.9 kB / 4.201 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/9.484, allocations: 31.62 kB / 4.201 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/9.484, allocations: 394.6 kB / 4.201 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/9.484, allocations: 4 kB / 4.201 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/9.484, allocations: 0 / 4.201 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/9.484, allocations: 7.938 kB / 4.201 GB, free: 54.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/9.485, allocations: 1.024 MB / 4.202 GB, free: 52.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/9.485, allocations: 8.062 kB / 4.202 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/9.486, allocations: 48.03 kB / 4.202 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/9.486, allocations: 8 kB / 4.202 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/9.486, allocations: 7.953 kB / 4.202 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/9.486, allocations: 0 / 4.202 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/9.486, allocations: 4.156 kB / 4.202 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/9.486, allocations: 0.6181 MB / 4.203 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/9.486, allocations: 128.6 kB / 4.203 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/9.487, allocations: 11.95 kB / 4.203 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/9.487, allocations: 15.98 kB / 4.203 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/9.487, allocations: 20.16 kB / 4.203 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/9.487, allocations: 15.98 kB / 4.203 GB, free: 52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002087/9.487, allocations: 228.5 kB / 4.203 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/9.487, allocations: 0 / 4.203 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001773/9.489, allocations: 415.3 kB / 4.204 GB, free: 51.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002716/9.492, allocations: 1.226 MB / 4.205 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005408/9.492, allocations: 393.7 kB / 4.205 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/9.492, allocations: 0 / 4.205 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/9.493, allocations: 107.8 kB / 4.205 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/9.493, allocations: 164.3 kB / 4.205 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/9.495, allocations: 471.3 kB / 4.206 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/9.495, allocations: 0.835 MB / 4.207 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004232/9.495, allocations: 95.42 kB / 4.207 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/9.495, allocations: 39.44 kB / 4.207 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of SimCode: time 3.7e-07/9.495, allocations: 0 / 4.207 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.02216/9.518, allocations: 15.05 MB / 4.222 GB, free: 33.14 MB / 0.5105 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