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.001366/0.001366, allocations: 183 kB / 18.09 MB, free: 3.73 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.401/1.401, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007902/0.0007902, allocations: 97.7 kB / 293.3 MB, free: 10.8 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.3437/0.3437, allocations: 44.15 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004223, allocations: 16 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3557, allocations: 61.87 MB / 0.5107 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.867/7.223, allocations: 3.41 GB / 3.921 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/7.223, allocations: 95.31 kB / 3.921 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9151/8.138, allocations: 295.9 MB / 4.21 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.864e-06/8.138, allocations: 4 kB / 4.21 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.613e-05/8.138, allocations: 12 kB / 4.21 GB, free: 3.609 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.005014/8.143, allocations: 1.598 MB / 4.211 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/8.143, allocations: 11.97 kB / 4.211 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/8.144, allocations: 56.38 kB / 4.211 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/8.144, allocations: 387.1 kB / 4.212 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/8.144, allocations: 30.12 kB / 4.212 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/8.144, allocations: 39.94 kB / 4.212 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/8.145, allocations: 0.5158 MB / 4.212 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/8.145, allocations: 0 / 4.212 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/8.145, allocations: 16 kB / 4.212 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/8.145, allocations: 12 kB / 4.212 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/8.146, allocations: 499.3 kB / 4.213 GB, free: 344 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3681/8.514, allocations: 1.956 MB / 4.215 GB, free: 84.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/8.515, allocations: 463.4 kB / 4.215 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/8.515, allocations: 185.5 kB / 4.215 GB, free: 84.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007643/8.516, allocations: 0.9534 MB / 4.216 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/8.516, allocations: 42.47 kB / 4.216 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/8.516, allocations: 0.9375 kB / 4.216 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.001101/8.517, allocations: 0.5023 MB / 4.217 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/8.517, allocations: 112.9 kB / 4.217 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/8.518, allocations: 400.6 kB / 4.217 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/8.518, allocations: 36.42 kB / 4.217 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/8.518, allocations: 217.6 kB / 4.218 GB, free: 82.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/8.518, allocations: 104.1 kB / 4.218 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/8.518, allocations: 8.375 kB / 4.218 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/8.518, allocations: 352.3 kB / 4.218 GB, free: 82.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/8.518, allocations: 152.9 kB / 4.218 GB, free: 82.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/8.519, allocations: 268.9 kB / 4.219 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/8.519, allocations: 495.6 kB / 4.219 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/8.519, allocations: 2.469 kB / 4.219 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008331/8.52, allocations: 0.5614 MB / 4.22 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/8.52, allocations: 60.16 kB / 4.22 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/8.52, allocations: 5.594 kB / 4.22 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/8.52, allocations: 5.438 kB / 4.22 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/8.521, allocations: 87.78 kB / 4.22 GB, free: 81.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/8.521, allocations: 12.88 kB / 4.22 GB, free: 81.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/8.521, allocations: 68.25 kB / 4.22 GB, free: 81.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/8.521, allocations: 21.88 kB / 4.22 GB, free: 81.9 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.0002059/8.521, allocations: 183.2 kB / 4.22 GB, free: 81.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/8.521, allocations: 47.22 kB / 4.22 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009414/8.522, allocations: 498.1 kB / 4.22 GB, free: 81.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/8.522, allocations: 6.531 kB / 4.22 GB, free: 81.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/8.522, allocations: 3.219 kB / 4.22 GB, free: 81.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/8.522, allocations: 2.859 kB / 4.22 GB, free: 81.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/8.525, allocations: 2.458 MB / 4.223 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/8.525, allocations: 2.688 kB / 4.223 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/8.525, allocations: 66.05 kB / 4.223 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/8.525, allocations: 5.688 kB / 4.223 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/8.525, allocations: 5.969 kB / 4.223 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/8.525, allocations: 9.75 kB / 4.223 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/8.525, allocations: 6.938 kB / 4.223 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/8.526, allocations: 0.6491 MB / 4.224 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/8.526, allocations: 145.1 kB / 4.224 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/8.526, allocations: 13.75 kB / 4.224 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/8.527, allocations: 18.12 kB / 4.224 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/8.527, allocations: 40.23 kB / 4.224 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/8.527, allocations: 19.2 kB / 4.224 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003522/8.527, allocations: 354 kB / 4.224 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/8.527, allocations: 0 / 4.224 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001727/8.529, allocations: 427.4 kB / 4.225 GB, free: 79.25 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.002228/8.531, allocations: 1.105 MB / 4.226 GB, free: 79.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008194/8.532, allocations: 473.2 kB / 4.226 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/8.532, allocations: 2.938 kB / 4.226 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/8.532, allocations: 168.1 kB / 4.226 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/8.534, allocations: 258.7 kB / 4.227 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/8.535, allocations: 0.9209 MB / 4.227 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/8.535, allocations: 0.839 MB / 4.228 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004684/8.536, allocations: 103.8 kB / 4.228 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/8.536, allocations: 50.19 kB / 4.228 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/8.536, allocations: 3.172 kB / 4.228 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.0352/8.571, allocations: 23.37 MB / 4.251 GB, free: 77.39 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/jenkins1/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