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.001702/0.001702, allocations: 181.8 kB / 15.76 MB, free: 6.367 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.924/1.924, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001208/0.001208, allocations: 94.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2807/0.2807, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004265, allocations: 8 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1692, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.22/9.389, allocations: 3.574 GB / 4.053 GB, free: 43.29 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/9.389, allocations: 86.39 kB / 4.053 GB, free: 43.24 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.21/10.6, allocations: 305.6 MB / 4.351 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/10.6, allocations: 0 / 4.351 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.931e-05/10.6, allocations: 9.781 kB / 4.351 GB, free: 88.44 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.005419/10.6, allocations: 1.63 MB / 4.353 GB, free: 87.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/10.61, allocations: 6.469 kB / 4.353 GB, free: 87.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/10.61, allocations: 67.5 kB / 4.353 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/10.61, allocations: 370.2 kB / 4.353 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/10.61, allocations: 32.95 kB / 4.353 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/10.61, allocations: 38.47 kB / 4.353 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/10.61, allocations: 0.5049 MB / 4.354 GB, free: 87.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/10.61, allocations: 2.625 kB / 4.354 GB, free: 87.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/10.61, allocations: 20.45 kB / 4.354 GB, free: 87.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/10.61, allocations: 7.844 kB / 4.354 GB, free: 87.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/10.61, allocations: 0.4892 MB / 4.354 GB, free: 87.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/10.61, allocations: 1.967 MB / 4.356 GB, free: 85.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/10.61, allocations: 457 kB / 4.357 GB, free: 85.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/10.61, allocations: 0.9578 MB / 4.358 GB, free: 84.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/10.61, allocations: 37.06 kB / 4.358 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/10.61, allocations: 2.875 kB / 4.358 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.0009206/10.61, allocations: 0.5061 MB / 4.358 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/10.61, allocations: 113.6 kB / 4.358 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/10.61, allocations: 350.5 kB / 4.359 GB, free: 84.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/10.61, allocations: 32.55 kB / 4.359 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/10.61, allocations: 228.5 kB / 4.359 GB, free: 84.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/10.61, allocations: 99.45 kB / 4.359 GB, free: 84.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/10.61, allocations: 11.62 kB / 4.359 GB, free: 84.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/10.61, allocations: 352.6 kB / 4.359 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/10.61, allocations: 160 kB / 4.359 GB, free: 83.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/10.61, allocations: 262.8 kB / 4.36 GB, free: 83.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/10.61, allocations: 248.7 kB / 4.36 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/10.61, allocations: 0 / 4.36 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008189/10.61, allocations: 0.5608 MB / 4.36 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/10.61, allocations: 68.67 kB / 4.36 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/10.61, allocations: 3.25 kB / 4.36 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/10.61, allocations: 6.375 kB / 4.36 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/10.62, allocations: 87.58 kB / 4.361 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/10.62, allocations: 3.75 kB / 4.361 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/10.62, allocations: 60.06 kB / 4.361 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/10.62, allocations: 21.67 kB / 4.361 GB, free: 83.36 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.0001906/10.62, allocations: 187.8 kB / 4.361 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/10.62, allocations: 43.81 kB / 4.361 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008967/10.62, allocations: 0.4909 MB / 4.361 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/10.62, allocations: 3.906 kB / 4.361 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/10.62, allocations: 1.531 kB / 4.361 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/10.62, allocations: 3.797 kB / 4.361 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/10.62, allocations: 2.457 MB / 4.364 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/10.62, allocations: 7.688 kB / 4.364 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/10.62, allocations: 61.86 kB / 4.364 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/10.62, allocations: 3.875 kB / 4.364 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/10.62, allocations: 10.44 kB / 4.364 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/10.62, allocations: 12.81 kB / 4.364 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/10.62, allocations: 0 / 4.364 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/10.62, allocations: 0.733 MB / 4.365 GB, free: 80.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/10.62, allocations: 152.5 kB / 4.365 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/10.62, allocations: 10.09 kB / 4.365 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/10.62, allocations: 28.7 kB / 4.365 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/10.62, allocations: 34.89 kB / 4.365 GB, free: 80.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/10.62, allocations: 23.67 kB / 4.365 GB, free: 80.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002967/10.62, allocations: 349.7 kB / 4.365 GB, free: 80.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/10.62, allocations: 0 / 4.365 GB, free: 80.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001712/10.62, allocations: 481.2 kB / 4.366 GB, free: 80.41 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.002044/10.63, allocations: 1.238 MB / 4.367 GB, free: 80.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007158/10.63, allocations: 472.2 kB / 4.367 GB, free: 80 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/10.63, allocations: 0 / 4.367 GB, free: 80 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/10.63, allocations: 168.1 kB / 4.367 GB, free: 79.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/10.63, allocations: 257.1 kB / 4.368 GB, free: 79.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/10.63, allocations: 0.9214 MB / 4.369 GB, free: 79.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/10.63, allocations: 0.8473 MB / 4.369 GB, free: 78.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004008/10.63, allocations: 103.1 kB / 4.369 GB, free: 78.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/10.63, allocations: 48.47 kB / 4.37 GB, free: 78.77 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/10.63, allocations: 3.938 kB / 4.37 GB, free: 78.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.02981/10.66, allocations: 24.06 MB / 4.393 GB, free: 76.33 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