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.001224/0.001224, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.516/1.516, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.000883, allocations: 97.92 kB / 292.2 MB, free: 10.92 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.4347/0.4347, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.4998, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.798/8.298, allocations: 3.41 GB / 3.919 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/8.298, allocations: 92.64 kB / 3.92 GB, free: 90.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9203/9.218, allocations: 298.4 MB / 4.211 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/9.218, allocations: 4 kB / 4.211 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.313e-05/9.218, allocations: 12 kB / 4.211 GB, free: 2.723 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.004493/9.223, allocations: 1.609 MB / 4.213 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/9.223, allocations: 8.031 kB / 4.213 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/9.223, allocations: 63.38 kB / 4.213 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/9.224, allocations: 370.1 kB / 4.213 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/9.224, allocations: 29 kB / 4.213 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/9.224, allocations: 32 kB / 4.213 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2878/9.512, allocations: 0.5087 MB / 4.214 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-05/9.512, allocations: 0.5312 kB / 4.214 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/9.512, allocations: 14.44 kB / 4.214 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/9.512, allocations: 11.81 kB / 4.214 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/9.513, allocations: 493.2 kB / 4.214 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/9.516, allocations: 1.974 MB / 4.216 GB, free: 82.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/9.517, allocations: 463.7 kB / 4.216 GB, free: 82.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000738/9.518, allocations: 0.9492 MB / 4.217 GB, free: 81.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/9.518, allocations: 46.47 kB / 4.217 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.825e-06/9.518, allocations: 0 / 4.217 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.0009648/9.519, allocations: 0.5009 MB / 4.218 GB, free: 81.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/9.519, allocations: 113.3 kB / 4.218 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/9.519, allocations: 358.6 kB / 4.218 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/9.519, allocations: 35.17 kB / 4.218 GB, free: 80.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/9.519, allocations: 220.6 kB / 4.219 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/9.519, allocations: 105.2 kB / 4.219 GB, free: 80.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/9.519, allocations: 7.125 kB / 4.219 GB, free: 80.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/9.519, allocations: 345.9 kB / 4.219 GB, free: 80.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/9.52, allocations: 161.1 kB / 4.219 GB, free: 80.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/9.52, allocations: 259.9 kB / 4.219 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/9.52, allocations: 245.8 kB / 4.22 GB, free: 80.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/9.52, allocations: 0 / 4.22 GB, free: 80.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008346/9.521, allocations: 0.5629 MB / 4.22 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/9.521, allocations: 60.75 kB / 4.22 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/9.521, allocations: 3.062 kB / 4.22 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/9.521, allocations: 10.44 kB / 4.22 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/9.522, allocations: 87.06 kB / 4.22 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/9.522, allocations: 9.391 kB / 4.22 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/9.522, allocations: 62.64 kB / 4.22 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/9.522, allocations: 27.66 kB / 4.22 GB, free: 80.14 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002035/9.522, allocations: 181.3 kB / 4.221 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/9.522, allocations: 40.78 kB / 4.221 GB, free: 80 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009026/9.523, allocations: 0.4979 MB / 4.221 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/9.523, allocations: 2.938 kB / 4.221 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/9.523, allocations: 6.203 kB / 4.221 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/9.523, allocations: 0 / 4.221 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/9.526, allocations: 2.46 MB / 4.224 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/9.526, allocations: 3.125 kB / 4.224 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/9.526, allocations: 68.38 kB / 4.224 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/9.526, allocations: 6.266 kB / 4.224 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/9.526, allocations: 10.38 kB / 4.224 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/9.526, allocations: 6.031 kB / 4.224 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/9.526, allocations: 2.812 kB / 4.224 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/9.527, allocations: 0.7367 MB / 4.224 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/9.527, allocations: 144 kB / 4.224 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/9.527, allocations: 9.5 kB / 4.224 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/9.528, allocations: 31.95 kB / 4.224 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/9.528, allocations: 27.55 kB / 4.225 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/9.528, allocations: 26.27 kB / 4.225 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003936/9.528, allocations: 355.9 kB / 4.225 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/9.528, allocations: 0 / 4.225 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00174/9.53, allocations: 432.5 kB / 4.225 GB, free: 77.36 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 () * 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 (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.001956/9.532, allocations: 1.103 MB / 4.226 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007435/9.533, allocations: 481.6 kB / 4.227 GB, free: 77.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/9.533, allocations: 0 / 4.227 GB, free: 77.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000265/9.533, allocations: 172.7 kB / 4.227 GB, free: 77.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/9.534, allocations: 247.8 kB / 4.227 GB, free: 77.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/9.535, allocations: 0.9215 MB / 4.228 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/9.536, allocations: 0.8521 MB / 4.229 GB, free: 75.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004062/9.536, allocations: 106.5 kB / 4.229 GB, free: 75.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/9.536, allocations: 43.3 kB / 4.229 GB, free: 75.89 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/9.536, allocations: 1.312 kB / 4.229 GB, free: 75.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.03418/9.57, allocations: 23.08 MB / 4.252 GB, free: 75.5 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