Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007751/0.0007753, allocations: 91.11 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3509/0.3509, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.216e-05, allocations: 7.984 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 58.83 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.265/7.381, allocations: 3.574 GB / 4.047 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/7.381, allocations: 82.2 kB / 4.047 GB, free: 17.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.106/8.487, allocations: 305 MB / 4.345 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/8.487, allocations: 0 / 4.345 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.578e-05/8.487, allocations: 10.64 kB / 4.345 GB, free: 79.06 MB / 0.4948 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.00415/8.491, allocations: 1.596 MB / 4.346 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/8.491, allocations: 10.06 kB / 4.346 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/8.492, allocations: 54.66 kB / 4.346 GB, free: 77.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/8.492, allocations: 369.8 kB / 4.347 GB, free: 77.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/8.492, allocations: 27.84 kB / 4.347 GB, free: 77.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/8.492, allocations: 39.78 kB / 4.347 GB, free: 77.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/8.493, allocations: 497.4 kB / 4.347 GB, free: 77.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/8.493, allocations: 3.469 kB / 4.347 GB, free: 77.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/8.493, allocations: 16.22 kB / 4.347 GB, free: 77.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/8.493, allocations: 9.781 kB / 4.347 GB, free: 77.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/8.494, allocations: 464.2 kB / 4.348 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/8.496, allocations: 1.957 MB / 4.349 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/8.496, allocations: 443.7 kB / 4.35 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/8.496, allocations: 163.9 kB / 4.35 GB, free: 76.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006163/8.497, allocations: 0.9588 MB / 4.351 GB, free: 75.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/8.497, allocations: 46.08 kB / 4.351 GB, free: 75.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/8.497, allocations: 0 / 4.351 GB, free: 75.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.0005716/8.498, allocations: 346.6 kB / 4.351 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/8.498, allocations: 105.8 kB / 4.351 GB, free: 74.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/8.498, allocations: 352.6 kB / 4.352 GB, free: 74.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/8.498, allocations: 36.08 kB / 4.352 GB, free: 74.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/8.498, allocations: 219.6 kB / 4.352 GB, free: 74.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/8.498, allocations: 104.7 kB / 4.352 GB, free: 74.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/8.498, allocations: 7.438 kB / 4.352 GB, free: 74.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.359e-05/8.498, allocations: 346.5 kB / 4.352 GB, free: 74.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/8.498, allocations: 137.6 kB / 4.353 GB, free: 74.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/8.499, allocations: 246.5 kB / 4.353 GB, free: 74.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/8.499, allocations: 223.5 kB / 4.353 GB, free: 73.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/8.499, allocations: 3.969 kB / 4.353 GB, free: 73.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006446/8.5, allocations: 0.5221 MB / 4.354 GB, free: 73.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/8.5, allocations: 65.17 kB / 4.354 GB, free: 73.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/8.5, allocations: 3.969 kB / 4.354 GB, free: 73.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/8.5, allocations: 11.3 kB / 4.354 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/8.5, allocations: 80.06 kB / 4.354 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/8.5, allocations: 7.766 kB / 4.354 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/8.5, allocations: 68.41 kB / 4.354 GB, free: 73.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/8.5, allocations: 23.47 kB / 4.354 GB, free: 73.53 MB / 0.4948 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 8.593e-05/8.5, allocations: 132.3 kB / 4.354 GB, free: 73.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/8.501, allocations: 46.38 kB / 4.354 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/8.501, allocations: 466.4 kB / 4.354 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/8.501, allocations: 7.016 kB / 4.354 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/8.501, allocations: 0 / 4.354 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/8.501, allocations: 3.938 kB / 4.354 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/8.503, allocations: 2.421 MB / 4.357 GB, free: 71.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/8.503, allocations: 3.812 kB / 4.357 GB, free: 71.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/8.504, allocations: 66.55 kB / 4.357 GB, free: 71.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/8.504, allocations: 3.875 kB / 4.357 GB, free: 71.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/8.504, allocations: 14.53 kB / 4.357 GB, free: 71.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/8.504, allocations: 2.375 kB / 4.357 GB, free: 71.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/8.504, allocations: 7.406 kB / 4.357 GB, free: 71.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/8.504, allocations: 0.6991 MB / 4.358 GB, free: 70.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/8.504, allocations: 137.6 kB / 4.358 GB, free: 70.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/8.504, allocations: 12.11 kB / 4.358 GB, free: 70.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/8.505, allocations: 30.12 kB / 4.358 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/8.505, allocations: 31.12 kB / 4.358 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/8.505, allocations: 23.38 kB / 4.358 GB, free: 70.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002799/8.505, allocations: 353.9 kB / 4.358 GB, free: 70.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/8.505, allocations: 0 / 4.358 GB, free: 70.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001511/8.507, allocations: 481.3 kB / 4.359 GB, free: 69.98 MB / 0.4948 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.001806/8.509, allocations: 1.226 MB / 4.36 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005495/8.509, allocations: 442.2 kB / 4.36 GB, free: 69.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/8.509, allocations: 0 / 4.36 GB, free: 69.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/8.509, allocations: 156.3 kB / 4.36 GB, free: 69.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/8.51, allocations: 242.3 kB / 4.361 GB, free: 69.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/8.511, allocations: 0.5583 MB / 4.361 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/8.511, allocations: 0.8459 MB / 4.362 GB, free: 68.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003627/8.512, allocations: 109.5 kB / 4.362 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/8.512, allocations: 47.33 kB / 4.362 GB, free: 68.29 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/8.512, allocations: 0 / 4.362 GB, free: 68.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.02993/8.542, allocations: 26.43 MB / 4.388 GB, free: 59.05 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches