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.001009/0.001009, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008264/0.0008264, allocations: 90.31 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1712/0.1712, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.747e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.08953, allocations: 63.25 MB / 0.5114 GB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.69/6.78, allocations: 3.403 GB / 3.915 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/6.78, allocations: 83.95 kB / 3.915 GB, free: 98.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.925/7.705, allocations: 294.3 MB / 4.202 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/7.705, allocations: 0 / 4.202 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.575e-05/7.705, allocations: 19.92 kB / 4.202 GB, free: 8.93 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.005178/7.711, allocations: 1.582 MB / 4.204 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/7.711, allocations: 12.03 kB / 4.204 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003882/7.711, allocations: 59.42 kB / 4.204 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/7.712, allocations: 362.2 kB / 4.204 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/7.712, allocations: 28.77 kB / 4.204 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/7.712, allocations: 36 kB / 4.204 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/7.713, allocations: 0.4897 MB / 4.205 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/7.713, allocations: 3.938 kB / 4.205 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/7.713, allocations: 16 kB / 4.205 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/7.713, allocations: 8 kB / 4.205 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/7.713, allocations: 451.5 kB / 4.205 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/7.716, allocations: 1.971 MB / 4.207 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/7.716, allocations: 440.7 kB / 4.208 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/7.716, allocations: 170.6 kB / 4.208 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006658/7.717, allocations: 0.9494 MB / 4.209 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/7.717, allocations: 42.55 kB / 4.209 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.255e-06/7.717, allocations: 0 / 4.209 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.0006617/7.718, allocations: 341.5 kB / 4.209 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/7.718, allocations: 110.8 kB / 4.209 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/7.718, allocations: 347.6 kB / 4.21 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/7.718, allocations: 37.7 kB / 4.21 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/7.718, allocations: 215.9 kB / 4.21 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/7.719, allocations: 109.9 kB / 4.21 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/7.719, allocations: 8 kB / 4.21 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/7.719, allocations: 354.8 kB / 4.21 GB, free: 268 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/7.719, allocations: 132.7 kB / 4.21 GB, free: 132 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3359/8.055, allocations: 233.1 kB / 4.211 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/8.055, allocations: 231 kB / 4.211 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/8.055, allocations: 3.844 kB / 4.211 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009852/8.056, allocations: 0.5152 MB / 4.211 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/8.056, allocations: 66.62 kB / 4.211 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/8.056, allocations: 5.531 kB / 4.211 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/8.056, allocations: 11.69 kB / 4.211 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/8.057, allocations: 84.34 kB / 4.211 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/8.057, allocations: 5.922 kB / 4.211 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/8.057, allocations: 62.62 kB / 4.212 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/8.057, allocations: 28 kB / 4.212 GB, free: 86.19 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.0001351/8.058, allocations: 127.3 kB / 4.212 GB, free: 86.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/8.058, allocations: 43.91 kB / 4.212 GB, free: 86.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/8.059, allocations: 475.2 kB / 4.212 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/8.059, allocations: 4.109 kB / 4.212 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/8.059, allocations: 1.031 kB / 4.212 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.567e-06/8.059, allocations: 3.422 kB / 4.212 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/8.061, allocations: 2.417 MB / 4.215 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/8.061, allocations: 1.969 kB / 4.215 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/8.062, allocations: 68.94 kB / 4.215 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/8.062, allocations: 3.844 kB / 4.215 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/8.062, allocations: 16.23 kB / 4.215 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/8.062, allocations: 3.859 kB / 4.215 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/8.062, allocations: 9 kB / 4.215 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/8.062, allocations: 0.696 MB / 4.215 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/8.062, allocations: 143.5 kB / 4.215 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/8.063, allocations: 6.594 kB / 4.215 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/8.063, allocations: 28.25 kB / 4.215 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/8.063, allocations: 31.83 kB / 4.216 GB, free: 83.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/8.063, allocations: 20.22 kB / 4.216 GB, free: 83.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000336/8.063, allocations: 350.8 kB / 4.216 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/8.063, allocations: 3.828 kB / 4.216 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001602/8.065, allocations: 445.8 kB / 4.216 GB, free: 83.43 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.001818/8.067, allocations: 1.117 MB / 4.217 GB, free: 83.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006078/8.067, allocations: 442.6 kB / 4.218 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/8.067, allocations: 0 / 4.218 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/8.068, allocations: 153 kB / 4.218 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/8.069, allocations: 247.7 kB / 4.218 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/8.07, allocations: 0.5522 MB / 4.219 GB, free: 82.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/8.07, allocations: 0.8481 MB / 4.22 GB, free: 82.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004282/8.071, allocations: 110.1 kB / 4.22 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/8.071, allocations: 44.34 kB / 4.22 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/8.071, allocations: 3.562 kB / 4.22 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.03899/8.11, allocations: 25.52 MB / 4.245 GB, free: 81.89 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/jenkins/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