Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001784, allocations: 201.5 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 226.5 MB / 245.4 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008377/0.0008381, allocations: 100.7 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4389/0.4389, allocations: 44.81 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003844, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5067, allocations: 62.95 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.961/10.47, allocations: 3.411 GB / 3.929 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/10.47, allocations: 88.94 kB / 3.929 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9649/11.43, allocations: 292.8 MB / 4.215 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/11.43, allocations: 3.625 kB / 4.215 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.297e-05/11.43, allocations: 10.84 kB / 4.215 GB, free: 101.4 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.00518/11.44, allocations: 1.617 MB / 4.217 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/11.44, allocations: 10.88 kB / 4.217 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/11.44, allocations: 55.16 kB / 4.217 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/11.44, allocations: 383.5 kB / 4.217 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/11.44, allocations: 29.5 kB / 4.217 GB, free: 99.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/11.44, allocations: 31.53 kB / 4.217 GB, free: 99.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008141/11.44, allocations: 0.5198 MB / 4.218 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/11.44, allocations: 0 / 4.218 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/11.44, allocations: 15.75 kB / 4.218 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/11.44, allocations: 11.53 kB / 4.218 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/11.44, allocations: 496.5 kB / 4.218 GB, free: 99.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/11.44, allocations: 1.956 MB / 4.22 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/11.44, allocations: 458 kB / 4.221 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/11.44, allocations: 185.4 kB / 4.221 GB, free: 97.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/11.44, allocations: 0.9575 MB / 4.222 GB, free: 96.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/11.44, allocations: 45.97 kB / 4.222 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/11.44, allocations: 0 / 4.222 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.0009413/11.45, allocations: 0.5091 MB / 4.222 GB, free: 96.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/11.45, allocations: 105.9 kB / 4.223 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/11.45, allocations: 399.4 kB / 4.223 GB, free: 96.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/11.45, allocations: 33.45 kB / 4.223 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/11.45, allocations: 218.9 kB / 4.223 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/11.45, allocations: 110.5 kB / 4.223 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/11.45, allocations: 7.281 kB / 4.223 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/11.45, allocations: 349.2 kB / 4.224 GB, free: 95.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/11.45, allocations: 154.5 kB / 4.224 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/11.45, allocations: 265 kB / 4.224 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/11.45, allocations: 486.3 kB / 4.224 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/11.45, allocations: 3.562 kB / 4.224 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008023/11.45, allocations: 0.5648 MB / 4.225 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/11.45, allocations: 66.81 kB / 4.225 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/11.45, allocations: 3.969 kB / 4.225 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/11.45, allocations: 3.375 kB / 4.225 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/11.45, allocations: 87.64 kB / 4.225 GB, free: 94.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/11.45, allocations: 11.2 kB / 4.225 GB, free: 94.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/11.45, allocations: 56.23 kB / 4.225 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/11.45, allocations: 22.78 kB / 4.225 GB, free: 94.55 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.0001891/11.45, allocations: 187.4 kB / 4.225 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/11.45, allocations: 53.05 kB / 4.225 GB, free: 94.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009041/11.45, allocations: 0.4884 MB / 4.226 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/11.45, allocations: 3.812 kB / 4.226 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/11.45, allocations: 0 / 4.226 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/11.45, allocations: 0 / 4.226 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/11.45, allocations: 2.462 MB / 4.228 GB, free: 91.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/11.45, allocations: 7.375 kB / 4.228 GB, free: 91.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/11.45, allocations: 60.88 kB / 4.228 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/11.45, allocations: 6.312 kB / 4.228 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/11.45, allocations: 7.781 kB / 4.228 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/11.45, allocations: 7.719 kB / 4.228 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/11.45, allocations: 3.969 kB / 4.228 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/11.45, allocations: 0.6504 MB / 4.229 GB, free: 91.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/11.45, allocations: 143.9 kB / 4.229 GB, free: 91.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/11.45, allocations: 10.62 kB / 4.229 GB, free: 91.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/11.45, allocations: 33.69 kB / 4.229 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/11.45, allocations: 28.84 kB / 4.229 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/11.45, allocations: 19.86 kB / 4.229 GB, free: 91.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003216/11.46, allocations: 353.9 kB / 4.23 GB, free: 90.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/11.46, allocations: 3.688 kB / 4.23 GB, free: 90.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001639/11.46, allocations: 437.2 kB / 4.23 GB, free: 90.83 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.001896/11.46, allocations: 1.125 MB / 4.231 GB, free: 90.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007105/11.46, allocations: 479 kB / 4.232 GB, free: 89.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/11.46, allocations: 4 kB / 4.232 GB, free: 89.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/11.46, allocations: 159.8 kB / 4.232 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/11.46, allocations: 262.8 kB / 4.232 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/11.46, allocations: 0.9305 MB / 4.233 GB, free: 88.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/11.46, allocations: 0.8356 MB / 4.234 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000424/11.46, allocations: 115.8 kB / 4.234 GB, free: 87.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/11.46, allocations: 47.42 kB / 4.234 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/11.46, allocations: 0 / 4.234 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.0291/11.49, allocations: 23.52 MB / 4.257 GB, free: 63.93 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches