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.002276/0.002282, allocations: 180.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.264/2.264, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 89.72 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.295/0.295, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.218e-05/2.219e-05, allocations: 7.984 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.29/10.7, allocations: 3.573 GB / 4.039 GB, free: 11.57 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/10.7, allocations: 89.27 kB / 4.039 GB, free: 11.53 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.781/12.48, allocations: 301.9 MB / 4.334 GB, free: 96.76 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.493e-06/12.48, allocations: 0 / 4.334 GB, free: 96.76 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 3.546e-05/12.48, allocations: 10.38 kB / 4.334 GB, free: 96.76 MB / 0.4952 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.005688/12.48, allocations: 1.592 MB / 4.336 GB, free: 95.61 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/12.48, allocations: 7.938 kB / 4.336 GB, free: 95.61 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/12.48, allocations: 56.11 kB / 4.336 GB, free: 95.59 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/12.49, allocations: 378.7 kB / 4.336 GB, free: 95.3 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/12.49, allocations: 18.5 kB / 4.336 GB, free: 95.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-05/12.49, allocations: 20.53 kB / 4.336 GB, free: 95.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001066/12.49, allocations: 428.7 kB / 4.336 GB, free: 95.17 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/12.49, allocations: 437.8 kB / 4.337 GB, free: 94.96 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/12.49, allocations: 3.781 kB / 4.337 GB, free: 94.96 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/12.49, allocations: 3.125 kB / 4.337 GB, free: 94.96 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/12.49, allocations: 10.62 kB / 4.337 GB, free: 94.96 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/12.49, allocations: 2.032 MB / 4.339 GB, free: 93.37 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/12.49, allocations: 391 kB / 4.339 GB, free: 93.11 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/12.49, allocations: 141.9 kB / 4.339 GB, free: 93.04 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008218/12.49, allocations: 0.7763 MB / 4.34 GB, free: 92.18 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/12.49, allocations: 44.2 kB / 4.34 GB, free: 92.13 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/12.49, allocations: 0 / 4.34 GB, free: 92.13 MB / 0.4952 GB Notification: Performance of matching and sorting (n=28): time 0.00137/12.49, allocations: 370.8 kB / 4.34 GB, free: 92 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/12.49, allocations: 105.8 kB / 4.341 GB, free: 91.87 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/12.5, allocations: 256.4 kB / 4.341 GB, free: 91.72 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/12.5, allocations: 27.64 kB / 4.341 GB, free: 91.69 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/12.5, allocations: 289.7 kB / 4.341 GB, free: 91.44 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/12.5, allocations: 99.77 kB / 4.341 GB, free: 91.36 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/12.5, allocations: 0 / 4.341 GB, free: 91.36 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/12.5, allocations: 324 kB / 4.342 GB, free: 91.05 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/12.5, allocations: 130.2 kB / 4.342 GB, free: 91 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/12.5, allocations: 234.2 kB / 4.342 GB, free: 90.82 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/12.5, allocations: 246.1 kB / 4.342 GB, free: 90.75 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/12.5, allocations: 3.5 kB / 4.342 GB, free: 90.75 MB / 0.4952 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001554/12.5, allocations: 494.7 kB / 4.343 GB, free: 90.59 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/12.5, allocations: 63.5 kB / 4.343 GB, free: 90.52 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/12.5, allocations: 6.844 kB / 4.343 GB, free: 90.52 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/12.5, allocations: 14.84 kB / 4.343 GB, free: 90.52 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/12.5, allocations: 87.33 kB / 4.343 GB, free: 90.51 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/12.5, allocations: 3.75 kB / 4.343 GB, free: 90.51 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/12.5, allocations: 46.61 kB / 4.343 GB, free: 90.49 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/12.5, allocations: 26.89 kB / 4.343 GB, free: 90.48 MB / 0.4952 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 0.0001712/12.5, allocations: 116.5 kB / 4.343 GB, free: 90.37 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/12.5, allocations: 32.75 kB / 4.343 GB, free: 90.35 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/12.5, allocations: 399.1 kB / 4.343 GB, free: 90.16 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/12.5, allocations: 7.484 kB / 4.343 GB, free: 90.16 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/12.5, allocations: 1.344 kB / 4.343 GB, free: 90.16 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/12.5, allocations: 2.594 kB / 4.343 GB, free: 90.16 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/12.5, allocations: 1.026 MB / 4.344 GB, free: 89.46 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/12.5, allocations: 7.766 kB / 4.344 GB, free: 89.45 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/12.5, allocations: 47.38 kB / 4.344 GB, free: 89.45 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/12.5, allocations: 1.688 kB / 4.344 GB, free: 89.45 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/12.5, allocations: 3.719 kB / 4.344 GB, free: 89.45 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/12.5, allocations: 6.312 kB / 4.344 GB, free: 89.45 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/12.5, allocations: 1.219 kB / 4.344 GB, free: 89.45 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/12.51, allocations: 0.6256 MB / 4.345 GB, free: 88.94 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/12.51, allocations: 127.2 kB / 4.345 GB, free: 88.82 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/12.51, allocations: 6.969 kB / 4.345 GB, free: 88.82 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/12.51, allocations: 18.39 kB / 4.345 GB, free: 88.82 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/12.51, allocations: 18.67 kB / 4.345 GB, free: 88.81 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/12.51, allocations: 17.78 kB / 4.345 GB, free: 88.81 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0003109/12.51, allocations: 227.3 kB / 4.345 GB, free: 88.68 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.41e-07/12.51, allocations: 3.438 kB / 4.345 GB, free: 88.68 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002091/12.51, allocations: 451.1 kB / 4.346 GB, free: 88.54 MB / 0.4952 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.003098/12.51, allocations: 1.372 MB / 4.347 GB, free: 88.22 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0008872/12.51, allocations: 395 kB / 4.348 GB, free: 88 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/12.51, allocations: 0 / 4.348 GB, free: 88 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/12.51, allocations: 114.4 kB / 4.348 GB, free: 87.96 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/12.51, allocations: 168.4 kB / 4.348 GB, free: 87.92 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/12.52, allocations: 0.4937 MB / 4.348 GB, free: 87.62 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/12.52, allocations: 0.8343 MB / 4.349 GB, free: 86.91 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/12.52, allocations: 42.22 kB / 4.349 GB, free: 86.9 MB / 0.4952 GB Notification: Performance of SimCode: time 9.02e-07/12.52, allocations: 0 / 4.349 GB, free: 86.9 MB / 0.4952 GB Notification: Performance of Templates: time 0.03067/12.55, allocations: 14.43 MB / 4.363 GB, free: 78.82 MB / 0.4952 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