Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 170.2 kB / 8.149 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001671/0.001671, allocations: 92.8 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2792/0.2792, allocations: 43.48 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.534e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2701, allocations: 58.84 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.351/7.621, allocations: 3.573 GB / 4.038 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/7.622, allocations: 88.61 kB / 4.039 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.592/9.214, allocations: 304.5 MB / 4.336 GB, free: 96.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.447e-05/9.214, allocations: 8.625 kB / 4.336 GB, free: 96.59 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.005738/9.22, allocations: 1.594 MB / 4.338 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/9.22, allocations: 9.891 kB / 4.338 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/9.22, allocations: 56.03 kB / 4.338 GB, free: 95.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/9.221, allocations: 370.6 kB / 4.338 GB, free: 95.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/9.221, allocations: 10.88 kB / 4.338 GB, free: 95.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/9.221, allocations: 26.16 kB / 4.338 GB, free: 95.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001235/9.223, allocations: 442.3 kB / 4.338 GB, free: 94.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/9.224, allocations: 439.8 kB / 4.339 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/9.224, allocations: 5.062 kB / 4.339 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/9.224, allocations: 1.031 kB / 4.339 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/9.224, allocations: 13.41 kB / 4.339 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/9.228, allocations: 2.049 MB / 4.341 GB, free: 93.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000912/9.229, allocations: 393.8 kB / 4.341 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/9.229, allocations: 146 kB / 4.341 GB, free: 92.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008745/9.23, allocations: 0.7761 MB / 4.342 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/9.23, allocations: 42.25 kB / 4.342 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.985e-06/9.23, allocations: 3.125 kB / 4.342 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.001572/9.232, allocations: 383 kB / 4.343 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/9.232, allocations: 110.1 kB / 4.343 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/9.232, allocations: 253.1 kB / 4.343 GB, free: 91.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/9.233, allocations: 27.73 kB / 4.343 GB, free: 91.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/9.233, allocations: 258.8 kB / 4.343 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.681e-05/9.233, allocations: 99.12 kB / 4.343 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/9.233, allocations: 1.125 kB / 4.343 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/9.233, allocations: 327 kB / 4.344 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/9.233, allocations: 135 kB / 4.344 GB, free: 90.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/9.234, allocations: 236.8 kB / 4.344 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/9.235, allocations: 257.4 kB / 4.344 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/9.235, allocations: 1.156 kB / 4.344 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001843/9.237, allocations: 497.1 kB / 4.345 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/9.237, allocations: 5.219 kB / 4.345 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/9.237, allocations: 8.188 kB / 4.345 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/9.237, allocations: 6.25 kB / 4.345 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/9.238, allocations: 86.48 kB / 4.345 GB, free: 90.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/9.238, allocations: 14.22 kB / 4.345 GB, free: 90.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/9.238, allocations: 35.27 kB / 4.345 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/9.238, allocations: 22.53 kB / 4.345 GB, free: 90.41 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 0.0001606/9.238, allocations: 39.36 kB / 4.345 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/9.239, allocations: 37.48 kB / 4.345 GB, free: 90.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/9.24, allocations: 423.5 kB / 4.345 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/9.24, allocations: 2.156 kB / 4.345 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/9.24, allocations: 0.9688 kB / 4.345 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/9.24, allocations: 1.125 kB / 4.345 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/9.243, allocations: 1.38 MB / 4.347 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/9.243, allocations: 4.125 kB / 4.347 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/9.244, allocations: 53.86 kB / 4.347 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/9.244, allocations: 10.25 kB / 4.347 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/9.244, allocations: 8.125 kB / 4.347 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/9.244, allocations: 10.88 kB / 4.347 GB, free: 89.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/9.244, allocations: 5.062 kB / 4.347 GB, free: 89.23 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001128/9.245, allocations: 0.7556 MB / 4.347 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/9.245, allocations: 130.1 kB / 4.348 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/9.245, allocations: 11.09 kB / 4.348 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/9.246, allocations: 33.73 kB / 4.348 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/9.246, allocations: 30.12 kB / 4.348 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/9.246, allocations: 15.72 kB / 4.348 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003405/9.246, allocations: 227.6 kB / 4.348 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002135/9.249, allocations: 455.1 kB / 4.348 GB, free: 88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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.003299/9.252, allocations: 1.401 MB / 4.35 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009793/9.253, allocations: 347 kB / 4.35 GB, free: 86.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/9.253, allocations: 4 kB / 4.35 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/9.253, allocations: 126.7 kB / 4.35 GB, free: 86.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/9.255, allocations: 164.2 kB / 4.35 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/9.256, allocations: 0.6189 MB / 4.351 GB, free: 85.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005563/9.257, allocations: 0.8903 MB / 4.352 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/9.257, allocations: 0 / 4.352 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.03445/9.292, allocations: 14.43 MB / 4.366 GB, free: 70.89 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/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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches