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.0009169/0.000917, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.276/1.276, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0008206/0.0008205, allocations: 98.34 kB / 271.9 MB, free: 8.25 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.3169/0.3169, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003489, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1179, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.396/7.514, allocations: 3.574 GB / 4.054 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/7.514, allocations: 87.95 kB / 4.054 GB, free: 95.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.176/8.69, allocations: 303.1 MB / 4.35 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/8.69, allocations: 0 / 4.35 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.374e-05/8.69, allocations: 15.16 kB / 4.35 GB, free: 66.54 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.00502/8.695, allocations: 1.625 MB / 4.352 GB, free: 65.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/8.695, allocations: 9.438 kB / 4.352 GB, free: 65.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/8.696, allocations: 61.97 kB / 4.352 GB, free: 65.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/8.696, allocations: 389.3 kB / 4.352 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/8.696, allocations: 29.09 kB / 4.352 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/8.696, allocations: 34.84 kB / 4.352 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/8.697, allocations: 0.5057 MB / 4.353 GB, free: 65.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/8.697, allocations: 11.62 kB / 4.353 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/8.697, allocations: 13.94 kB / 4.353 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/8.697, allocations: 12.03 kB / 4.353 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/8.698, allocations: 0.4887 MB / 4.353 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/8.7, allocations: 1.965 MB / 4.355 GB, free: 64.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/8.701, allocations: 456.9 kB / 4.356 GB, free: 64.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/8.701, allocations: 186.4 kB / 4.356 GB, free: 64.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007006/8.702, allocations: 0.9559 MB / 4.357 GB, free: 63.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/8.702, allocations: 43.31 kB / 4.357 GB, free: 62.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/8.702, allocations: 1.969 kB / 4.357 GB, free: 62.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.001007/8.703, allocations: 0.5026 MB / 4.357 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/8.703, allocations: 110.3 kB / 4.357 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/8.703, allocations: 399.4 kB / 4.358 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/8.703, allocations: 38.33 kB / 4.358 GB, free: 62.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/8.704, allocations: 220 kB / 4.358 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/8.704, allocations: 101.7 kB / 4.358 GB, free: 62.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/8.704, allocations: 6.125 kB / 4.358 GB, free: 62.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/8.704, allocations: 348.5 kB / 4.358 GB, free: 62.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/8.704, allocations: 158 kB / 4.359 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/8.704, allocations: 264.4 kB / 4.359 GB, free: 62.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/8.705, allocations: 496.8 kB / 4.359 GB, free: 61.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/8.705, allocations: 0 / 4.359 GB, free: 61.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008648/8.706, allocations: 0.5726 MB / 4.36 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/8.706, allocations: 64.62 kB / 4.36 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/8.706, allocations: 3.062 kB / 4.36 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/8.706, allocations: 6.578 kB / 4.36 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/8.706, allocations: 87.75 kB / 4.36 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/8.706, allocations: 8.953 kB / 4.36 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/8.707, allocations: 58.39 kB / 4.36 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/8.707, allocations: 22.8 kB / 4.36 GB, free: 61.68 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.000226/8.707, allocations: 184.8 kB / 4.36 GB, free: 61.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/8.707, allocations: 49.78 kB / 4.36 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009367/8.708, allocations: 0.4918 MB / 4.361 GB, free: 61.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/8.708, allocations: 4.406 kB / 4.361 GB, free: 61.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/8.708, allocations: 0 / 4.361 GB, free: 61.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/8.708, allocations: 6.188 kB / 4.361 GB, free: 61.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/8.711, allocations: 2.453 MB / 4.363 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/8.711, allocations: 6.75 kB / 4.363 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/8.711, allocations: 65.22 kB / 4.363 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/8.711, allocations: 3.531 kB / 4.363 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/8.711, allocations: 8.875 kB / 4.363 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/8.711, allocations: 7.156 kB / 4.363 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/8.711, allocations: 7.25 kB / 4.363 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007148/8.712, allocations: 0.646 MB / 4.364 GB, free: 59.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/8.712, allocations: 144.6 kB / 4.364 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/8.712, allocations: 5.969 kB / 4.364 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/8.713, allocations: 29.67 kB / 4.364 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/8.713, allocations: 29.3 kB / 4.364 GB, free: 59.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/8.713, allocations: 24.45 kB / 4.364 GB, free: 59.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004152/8.713, allocations: 352.3 kB / 4.364 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/8.713, allocations: 0 / 4.364 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002349/8.715, allocations: 482.3 kB / 4.365 GB, free: 58.95 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.002783/8.718, allocations: 1.243 MB / 4.366 GB, free: 58.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009015/8.719, allocations: 476.4 kB / 4.367 GB, free: 58.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/8.719, allocations: 7.125 kB / 4.367 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/8.719, allocations: 168.9 kB / 4.367 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/8.721, allocations: 245.5 kB / 4.367 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/8.722, allocations: 0.9704 MB / 4.368 GB, free: 58.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/8.722, allocations: 0.8445 MB / 4.369 GB, free: 57.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/8.723, allocations: 51.3 kB / 4.369 GB, free: 57.38 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/8.723, allocations: 0 / 4.369 GB, free: 57.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.02503/8.748, allocations: 14.99 MB / 4.383 GB, free: 56.91 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