Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001553/0.001553, allocations: 181.9 kB / 16.4 MB, free: 5.723 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.943/1.943, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001157/0.001156, allocations: 97.16 kB / 270.9 MB, free: 8.359 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.5073/0.5073, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004789, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.61/10.74, allocations: 3.574 GB / 4.053 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/10.74, allocations: 91.31 kB / 4.053 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.82/12.56, allocations: 305.5 MB / 4.351 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.923e-06/12.56, allocations: 0 / 4.351 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.307e-05/12.56, allocations: 15.2 kB / 4.351 GB, free: 81.81 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.005538/12.56, allocations: 1.638 MB / 4.353 GB, free: 80.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/12.56, allocations: 8.375 kB / 4.353 GB, free: 80.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/12.56, allocations: 57.59 kB / 4.353 GB, free: 80.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/12.56, allocations: 373 kB / 4.353 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/12.56, allocations: 28.03 kB / 4.353 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/12.56, allocations: 38.69 kB / 4.353 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/12.56, allocations: 0.5052 MB / 4.354 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/12.56, allocations: 7.75 kB / 4.354 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.792e-05/12.56, allocations: 18.97 kB / 4.354 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/12.56, allocations: 7.344 kB / 4.354 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/12.57, allocations: 496.6 kB / 4.354 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/12.57, allocations: 1.972 MB / 4.356 GB, free: 78.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/12.57, allocations: 461.3 kB / 4.357 GB, free: 78.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009538/12.57, allocations: 0.955 MB / 4.358 GB, free: 77.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/12.57, allocations: 38.31 kB / 4.358 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.296e-06/12.57, allocations: 0 / 4.358 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.00165/12.57, allocations: 0.5091 MB / 4.358 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/12.57, allocations: 110.5 kB / 4.358 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/12.57, allocations: 357.3 kB / 4.358 GB, free: 76.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/12.57, allocations: 37.02 kB / 4.359 GB, free: 76.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/12.57, allocations: 265.1 kB / 4.359 GB, free: 76.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/12.57, allocations: 101.2 kB / 4.359 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/12.57, allocations: 8 kB / 4.359 GB, free: 76.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/12.57, allocations: 322.4 kB / 4.359 GB, free: 75.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/12.57, allocations: 163.9 kB / 4.359 GB, free: 75.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/12.57, allocations: 256.7 kB / 4.36 GB, free: 75.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/12.58, allocations: 251.7 kB / 4.36 GB, free: 75.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/12.58, allocations: 3.938 kB / 4.36 GB, free: 75.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001412/12.58, allocations: 0.5344 MB / 4.36 GB, free: 75.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/12.58, allocations: 62.58 kB / 4.36 GB, free: 75.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/12.58, allocations: 7.938 kB / 4.36 GB, free: 75.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/12.58, allocations: 7.875 kB / 4.36 GB, free: 75.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/12.58, allocations: 87.86 kB / 4.361 GB, free: 75.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/12.58, allocations: 11.53 kB / 4.361 GB, free: 75.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/12.58, allocations: 54.92 kB / 4.361 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/12.58, allocations: 26.28 kB / 4.361 GB, free: 75.17 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 () * 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.0003155/12.58, allocations: 177.9 kB / 4.361 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/12.58, allocations: 50.3 kB / 4.361 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/12.58, allocations: 0.491 MB / 4.361 GB, free: 74.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/12.58, allocations: 3.344 kB / 4.361 GB, free: 74.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/12.58, allocations: 0 / 4.361 GB, free: 74.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/12.58, allocations: 6.75 kB / 4.361 GB, free: 74.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/12.58, allocations: 2.456 MB / 4.364 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/12.58, allocations: 3.75 kB / 4.364 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/12.59, allocations: 67.48 kB / 4.364 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/12.59, allocations: 3.844 kB / 4.364 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/12.59, allocations: 11.06 kB / 4.364 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/12.59, allocations: 3.312 kB / 4.364 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/12.59, allocations: 7.188 kB / 4.364 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/12.59, allocations: 0.742 MB / 4.365 GB, free: 72.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/12.59, allocations: 140.2 kB / 4.365 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/12.59, allocations: 9.469 kB / 4.365 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007247/12.59, allocations: 24.38 kB / 4.365 GB, free: 71.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/12.59, allocations: 44.38 kB / 4.365 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/12.59, allocations: 20.91 kB / 4.365 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005595/12.59, allocations: 349 kB / 4.365 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.6e-07/12.59, allocations: 3.781 kB / 4.365 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002157/12.59, allocations: 472.9 kB / 4.366 GB, free: 71.57 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 () * 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.002981/12.59, allocations: 1.242 MB / 4.367 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00129/12.59, allocations: 474.6 kB / 4.367 GB, free: 71.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/12.59, allocations: 9.844 kB / 4.367 GB, free: 71.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/12.6, allocations: 166.1 kB / 4.367 GB, free: 70.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/12.6, allocations: 246.3 kB / 4.368 GB, free: 70.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/12.6, allocations: 0.9688 MB / 4.369 GB, free: 70.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/12.6, allocations: 0.8498 MB / 4.369 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/12.6, allocations: 43.38 kB / 4.369 GB, free: 69.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/12.6, allocations: 3.688 kB / 4.369 GB, free: 69.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.03014/12.63, allocations: 15.55 MB / 4.385 GB, free: 63.61 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches