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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001465, allocations: 105.1 kB / 15.98 MB, free: 6.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 195.6 kB / 16.91 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4191/0.4191, allocations: 43.49 MB / 313.6 MB, free: 8.285 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.91 kB / 382.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1434, allocations: 57.79 MB / 440 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4473/0.5907, allocations: 184.1 MB / 0.6095 GB, free: 3.566 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.5929, allocations: 0.9086 MB / 0.6104 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.5932, allocations: 15.88 kB / 0.6104 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.5939, allocations: 183 kB / 0.6106 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.5945, allocations: 262.6 kB / 0.6108 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005775/0.6003, allocations: 1.965 MB / 0.6128 GB, free: 252 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.6016, allocations: 0.975 MB / 0.6137 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.602, allocations: 321.9 kB / 0.614 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.6056, allocations: 1.651 MB / 0.6156 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.6062, allocations: 334.8 kB / 0.6159 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.761e-05/0.6062, allocations: 47.94 kB / 0.616 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005149/0.6114, allocations: 2.948 MB / 0.6189 GB, free: 9.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.6117, allocations: 199.5 kB / 0.6191 GB, free: 9.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.612, allocations: 270.8 kB / 0.6193 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.6155, allocations: 2.171 MB / 0.6214 GB, free: 7.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.6155, allocations: 4 kB / 0.6214 GB, free: 7.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6155, allocations: 0 / 0.6214 GB, free: 7.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.6155, allocations: 0 / 0.6214 GB, free: 7.344 MB / 494.1 MB 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.001901/0.6174, allocations: 1.063 MB / 0.6225 GB, free: 6.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.6175, allocations: 12.03 kB / 0.6225 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.6177, allocations: 55.44 kB / 0.6225 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.6182, allocations: 366 kB / 0.6229 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.6183, allocations: 25 kB / 0.6229 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.6183, allocations: 40 kB / 0.623 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/0.6192, allocations: 0.5267 MB / 0.6235 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6192, allocations: 0 / 0.6235 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.6193, allocations: 16 kB / 0.6235 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.6193, allocations: 11.98 kB / 0.6235 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/0.6201, allocations: 0.4953 MB / 0.624 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.6226, allocations: 1.976 MB / 0.6259 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.6233, allocations: 454.3 kB / 0.6263 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.6236, allocations: 185.2 kB / 0.6265 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/0.6244, allocations: 0.9494 MB / 0.6274 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.6245, allocations: 42.55 kB / 0.6275 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.6245, allocations: 0 / 0.6275 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001054/0.6255, allocations: 0.492 MB / 0.628 GB, free: 136 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.6256, allocations: 110.8 kB / 0.6281 GB, free: 0 / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2153/0.8409, allocations: 398.2 kB / 0.6285 GB, free: 158.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.8411, allocations: 31.73 kB / 0.6285 GB, free: 158.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.8412, allocations: 216.4 kB / 0.6287 GB, free: 158.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.8413, allocations: 99.83 kB / 0.6288 GB, free: 158.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.8414, allocations: 81.2 kB / 0.6289 GB, free: 158.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.8415, allocations: 349.6 kB / 0.6292 GB, free: 158 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.8419, allocations: 149.5 kB / 0.6293 GB, free: 158 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.8422, allocations: 264.4 kB / 0.6296 GB, free: 157.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.8428, allocations: 483.5 kB / 0.6301 GB, free: 157.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8428, allocations: 0 / 0.6301 GB, free: 157.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008586/0.8437, allocations: 0.5539 MB / 0.6306 GB, free: 157.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.8437, allocations: 63.58 kB / 0.6307 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8437, allocations: 3 kB / 0.6307 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.8438, allocations: 5.719 kB / 0.6307 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.8441, allocations: 87.06 kB / 0.6307 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.8442, allocations: 5.594 kB / 0.6308 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.8445, allocations: 51.92 kB / 0.6308 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.8446, allocations: 23.58 kB / 0.6308 GB, free: 157.5 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.8448, allocations: 192.6 kB / 0.631 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.8449, allocations: 40.72 kB / 0.631 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009386/0.8458, allocations: 495.1 kB / 0.6315 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8459, allocations: 6.203 kB / 0.6315 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8459, allocations: 0 / 0.6315 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.8459, allocations: 3.281 kB / 0.6315 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.8481, allocations: 2.441 MB / 0.6339 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.8481, allocations: 2.875 kB / 0.6339 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.8484, allocations: 69.58 kB / 0.634 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.8484, allocations: 2.562 kB / 0.634 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.8485, allocations: 6.25 kB / 0.634 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.8485, allocations: 5.625 kB / 0.634 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8485, allocations: 0 / 0.634 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.8491, allocations: 0.6489 MB / 0.6346 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.8492, allocations: 129 kB / 0.6348 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.8493, allocations: 12.66 kB / 0.6348 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.8497, allocations: 22.11 kB / 0.6348 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.8498, allocations: 33.14 kB / 0.6348 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.8498, allocations: 21.03 kB / 0.6348 GB, free: 154.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003166/0.8502, allocations: 359.6 kB / 0.6352 GB, free: 154.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8502, allocations: 0 / 0.6352 GB, free: 154.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001008/0.8512, allocations: 386.7 kB / 0.6355 GB, free: 154.8 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/0.8524, allocations: 0.5818 MB / 0.6361 GB, free: 154.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007432/0.8532, allocations: 478.9 kB / 0.6366 GB, free: 154.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8532, allocations: 0 / 0.6366 GB, free: 154.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.8535, allocations: 168.8 kB / 0.6367 GB, free: 154.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.8548, allocations: 284 kB / 0.637 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.8559, allocations: 0.9276 MB / 0.6379 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.8562, allocations: 0.8333 MB / 0.6387 GB, free: 153 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000424/0.8566, allocations: 119.4 kB / 0.6388 GB, free: 153 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.8567, allocations: 48.28 kB / 0.6389 GB, free: 153 MB / 494.1 MB Notification: Performance of SimCode: time 2.215e-06/0.8567, allocations: 0 / 0.6389 GB, free: 153 MB / 494.1 MB Notification: Performance of Templates: time 0.0243/0.881, allocations: 15.86 MB / 0.6544 GB, free: 151.5 MB / 494.1 MB 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