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.001038/0.001038, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007879/0.000788, allocations: 96.03 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1834/0.1834, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.125e-05/1.127e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09658, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.821/7.918, allocations: 3.403 GB / 3.907 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/7.918, allocations: 87.94 kB / 3.907 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9577/8.876, allocations: 291.3 MB / 4.192 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.505e-06/8.876, allocations: 7.984 kB / 4.192 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.605e-05/8.876, allocations: 15.94 kB / 4.192 GB, free: 80.19 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/8.881, allocations: 1.573 MB / 4.193 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/8.881, allocations: 12.03 kB / 4.193 GB, free: 78.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/8.882, allocations: 55.42 kB / 4.193 GB, free: 78.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/8.882, allocations: 369.9 kB / 4.194 GB, free: 78.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/8.882, allocations: 12 kB / 4.194 GB, free: 78.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/8.882, allocations: 20 kB / 4.194 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006123/8.883, allocations: 425.4 kB / 4.194 GB, free: 77.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/8.883, allocations: 444 kB / 4.195 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/8.883, allocations: 0 / 4.195 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/8.883, allocations: 0 / 4.195 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/8.884, allocations: 8 kB / 4.195 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/8.886, allocations: 2.045 MB / 4.197 GB, free: 74.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/8.886, allocations: 389 kB / 4.197 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/8.886, allocations: 142.6 kB / 4.197 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/8.887, allocations: 0.7753 MB / 4.198 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/8.887, allocations: 38.56 kB / 4.198 GB, free: 73.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.754e-06/8.887, allocations: 3.938 kB / 4.198 GB, free: 73.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0007825/8.888, allocations: 369.4 kB / 4.198 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/8.888, allocations: 106.8 kB / 4.198 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/8.888, allocations: 257.1 kB / 4.199 GB, free: 72.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/8.888, allocations: 29.7 kB / 4.199 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/8.888, allocations: 228 kB / 4.199 GB, free: 72.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/8.888, allocations: 106.4 kB / 4.199 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/8.888, allocations: 0 / 4.199 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/8.888, allocations: 346.8 kB / 4.199 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/8.889, allocations: 124.7 kB / 4.199 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/8.889, allocations: 229.9 kB / 4.2 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/8.889, allocations: 247.8 kB / 4.2 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/8.889, allocations: 4 kB / 4.2 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008425/8.89, allocations: 0.5115 MB / 4.2 GB, free: 70.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/8.89, allocations: 59.41 kB / 4.2 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/8.89, allocations: 8.062 kB / 4.2 GB, free: 70.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/8.89, allocations: 8 kB / 4.2 GB, free: 70.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/8.891, allocations: 87.88 kB / 4.2 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/8.891, allocations: 7.938 kB / 4.2 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/8.891, allocations: 43.95 kB / 4.201 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/8.891, allocations: 23.98 kB / 4.201 GB, free: 70.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 () * 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.0001062/8.891, allocations: 112.9 kB / 4.201 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/8.891, allocations: 35.58 kB / 4.201 GB, free: 70.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/8.892, allocations: 394.8 kB / 4.201 GB, free: 70 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/8.892, allocations: 4 kB / 4.201 GB, free: 69.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/8.892, allocations: 4 kB / 4.201 GB, free: 69.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/8.892, allocations: 4 kB / 4.201 GB, free: 69.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/8.893, allocations: 1.035 MB / 4.202 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/8.893, allocations: 0 / 4.202 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/8.893, allocations: 47.92 kB / 4.202 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/8.893, allocations: 4.172 kB / 4.202 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/8.893, allocations: 4 kB / 4.202 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/8.893, allocations: 7.938 kB / 4.202 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/8.893, allocations: 0 / 4.202 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/8.894, allocations: 0.6267 MB / 4.203 GB, free: 68.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/8.894, allocations: 120.7 kB / 4.203 GB, free: 68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/8.894, allocations: 0 / 4.203 GB, free: 68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/8.894, allocations: 19.97 kB / 4.203 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/8.894, allocations: 19.98 kB / 4.203 GB, free: 67.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/8.894, allocations: 15.98 kB / 4.203 GB, free: 67.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002201/8.895, allocations: 232.5 kB / 4.203 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.895, allocations: 3.938 kB / 4.203 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001892/8.897, allocations: 423.2 kB / 4.204 GB, free: 67.3 MB / 0.5261 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.002195/8.899, allocations: 1.245 MB / 4.205 GB, free: 66.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004972/8.899, allocations: 398.4 kB / 4.205 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/8.899, allocations: 4 kB / 4.205 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/8.899, allocations: 108.8 kB / 4.205 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/8.9, allocations: 152.5 kB / 4.205 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/8.901, allocations: 480 kB / 4.206 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/8.901, allocations: 0.835 MB / 4.207 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003388/8.902, allocations: 91.41 kB / 4.207 GB, free: 64.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/8.902, allocations: 43.42 kB / 4.207 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/8.902, allocations: 0 / 4.207 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of Templates: time 0.02099/8.923, allocations: 15.18 MB / 4.222 GB, free: 48.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/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