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.001298/0.001298, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007917/0.0007918, allocations: 84.03 kB / 261.7 MB, free: 1.617 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.1956/0.1956, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.602e-05, allocations: 0 / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.69/8.812, allocations: 3.573 GB / 4.039 GB, free: 105 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/8.812, allocations: 88.81 kB / 4.039 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9509/9.763, allocations: 301.9 MB / 4.334 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/9.763, allocations: 0 / 4.334 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.899e-05/9.763, allocations: 11.98 kB / 4.334 GB, free: 5.316 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.00548/9.768, allocations: 1.594 MB / 4.336 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/9.768, allocations: 8.031 kB / 4.336 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/9.769, allocations: 59.44 kB / 4.336 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/9.77, allocations: 374 kB / 4.336 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/9.77, allocations: 12 kB / 4.336 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/9.77, allocations: 28 kB / 4.336 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000722/9.771, allocations: 425.3 kB / 4.336 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/9.771, allocations: 432 kB / 4.337 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/9.771, allocations: 0 / 4.337 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/9.771, allocations: 0 / 4.337 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/9.771, allocations: 12 kB / 4.337 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/9.774, allocations: 2.036 MB / 4.339 GB, free: 76 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2945/10.07, allocations: 388.1 kB / 4.339 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/10.07, allocations: 139.4 kB / 4.339 GB, free: 79.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/10.07, allocations: 0.7779 MB / 4.34 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/10.07, allocations: 44.36 kB / 4.34 GB, free: 78.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/10.07, allocations: 0 / 4.34 GB, free: 78.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0008826/10.07, allocations: 368.5 kB / 4.341 GB, free: 78.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/10.07, allocations: 112.2 kB / 4.341 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/10.07, allocations: 257.8 kB / 4.341 GB, free: 78.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/10.07, allocations: 26.8 kB / 4.341 GB, free: 78.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/10.07, allocations: 239 kB / 4.341 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/10.07, allocations: 89.58 kB / 4.341 GB, free: 78.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/10.07, allocations: 1.281 kB / 4.341 GB, free: 78.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/10.07, allocations: 345.4 kB / 4.342 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/10.07, allocations: 121.1 kB / 4.342 GB, free: 77.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/10.07, allocations: 234.3 kB / 4.342 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/10.07, allocations: 243.6 kB / 4.342 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/10.07, allocations: 1.094 kB / 4.342 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009902/10.07, allocations: 0.5125 MB / 4.343 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/10.07, allocations: 64.53 kB / 4.343 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/10.07, allocations: 3.781 kB / 4.343 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/10.07, allocations: 3.969 kB / 4.343 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/10.07, allocations: 87.55 kB / 4.343 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/10.07, allocations: 6.594 kB / 4.343 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/10.07, allocations: 56.58 kB / 4.343 GB, free: 77.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/10.07, allocations: 17.34 kB / 4.343 GB, free: 77.5 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 9.473e-05/10.07, allocations: 114.2 kB / 4.343 GB, free: 77.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/10.07, allocations: 38.78 kB / 4.343 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/10.07, allocations: 404.6 kB / 4.343 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/10.07, allocations: 3.594 kB / 4.343 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/10.07, allocations: 0 / 4.343 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/10.07, allocations: 1.453 kB / 4.343 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/10.08, allocations: 1.021 MB / 4.344 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/10.08, allocations: 3.062 kB / 4.344 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/10.08, allocations: 57.27 kB / 4.344 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/10.08, allocations: 2.125 kB / 4.344 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/10.08, allocations: 3.578 kB / 4.344 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/10.08, allocations: 6.172 kB / 4.344 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/10.08, allocations: 1.969 kB / 4.344 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/10.08, allocations: 0.6342 MB / 4.345 GB, free: 76.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/10.08, allocations: 121.1 kB / 4.345 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/10.08, allocations: 7.812 kB / 4.345 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/10.08, allocations: 17.31 kB / 4.345 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/10.08, allocations: 23.59 kB / 4.345 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/10.08, allocations: 20.2 kB / 4.345 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001893/10.08, allocations: 231.8 kB / 4.345 GB, free: 76.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/10.08, allocations: 3.5 kB / 4.345 GB, free: 76.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001543/10.08, allocations: 451.4 kB / 4.346 GB, free: 76.14 MB / 0.4948 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.002474/10.08, allocations: 1.354 MB / 4.347 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005597/10.08, allocations: 395.4 kB / 4.348 GB, free: 75.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/10.08, allocations: 5.031 kB / 4.348 GB, free: 75.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/10.08, allocations: 107 kB / 4.348 GB, free: 75.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/10.08, allocations: 153.6 kB / 4.348 GB, free: 75.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/10.08, allocations: 485.3 kB / 4.348 GB, free: 75.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/10.08, allocations: 0.8347 MB / 4.349 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003466/10.08, allocations: 87.28 kB / 4.349 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/10.08, allocations: 36.98 kB / 4.349 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/10.08, allocations: 2.281 kB / 4.349 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.02769/10.11, allocations: 15.87 MB / 4.365 GB, free: 74.6 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