Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 179.4 kB / 8.519 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 221.4 MB / 230.3 MB, free: 7.641 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008774, allocations: 85.86 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1711/0.1711, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.111e-06/6.152e-06, allocations: 0 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 61.91 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.253/6.358, allocations: 3.409 GB / 3.903 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/6.358, allocations: 76.95 kB / 3.903 GB, free: 170.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.96/7.318, allocations: 297.5 MB / 4.194 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.937e-05/7.318, allocations: 15.94 kB / 4.194 GB, free: 68.11 MB / 0.5105 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.005952/7.324, allocations: 1.555 MB / 4.195 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/7.324, allocations: 15.97 kB / 4.195 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/7.325, allocations: 55.42 kB / 4.195 GB, free: 66.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/7.325, allocations: 380 kB / 4.196 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/7.325, allocations: 12 kB / 4.196 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/7.325, allocations: 24 kB / 4.196 GB, free: 66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007053/7.326, allocations: 441.2 kB / 4.196 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/7.327, allocations: 436 kB / 4.197 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/7.327, allocations: 7.938 kB / 4.197 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/7.327, allocations: 4 kB / 4.197 GB, free: 65.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/7.327, allocations: 8 kB / 4.197 GB, free: 65.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/7.33, allocations: 2.049 MB / 4.199 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/7.33, allocations: 392.3 kB / 4.199 GB, free: 62.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/7.33, allocations: 150.6 kB / 4.199 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/7.331, allocations: 0.7753 MB / 4.2 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/7.331, allocations: 42.5 kB / 4.2 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 4.779e-06/7.331, allocations: 0 / 4.2 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.001038/7.332, allocations: 381.5 kB / 4.2 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/7.332, allocations: 114.8 kB / 4.201 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/7.333, allocations: 251.5 kB / 4.201 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/7.333, allocations: 29.7 kB / 4.201 GB, free: 60.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/7.333, allocations: 203.6 kB / 4.201 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/7.333, allocations: 98.5 kB / 4.201 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/7.333, allocations: 3.938 kB / 4.201 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001072/7.333, allocations: 342.8 kB / 4.201 GB, free: 59.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/7.333, allocations: 132.7 kB / 4.202 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/7.333, allocations: 233.9 kB / 4.202 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/7.334, allocations: 254.1 kB / 4.202 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/7.334, allocations: 0 / 4.202 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009185/7.335, allocations: 0.5085 MB / 4.202 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/7.335, allocations: 7.984 kB / 4.202 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/7.335, allocations: 4 kB / 4.203 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/7.335, allocations: 8 kB / 4.203 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/7.336, allocations: 84.27 kB / 4.203 GB, free: 58.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/7.336, allocations: 11.94 kB / 4.203 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/7.336, allocations: 43.58 kB / 4.203 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/7.336, allocations: 27.03 kB / 4.203 GB, free: 58.52 MB / 0.5105 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.0001092/7.336, allocations: 116.9 kB / 4.203 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/7.336, allocations: 39.53 kB / 4.203 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/7.337, allocations: 414.7 kB / 4.203 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/7.337, allocations: 4 kB / 4.203 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/7.337, allocations: 3.984 kB / 4.203 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/7.337, allocations: 0 / 4.203 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/7.339, allocations: 1.363 MB / 4.205 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/7.339, allocations: 4.625 kB / 4.205 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/7.339, allocations: 59.91 kB / 4.205 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/7.339, allocations: 4 kB / 4.205 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/7.339, allocations: 8 kB / 4.205 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/7.339, allocations: 15.92 kB / 4.205 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.339, allocations: 4 kB / 4.205 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00057/7.34, allocations: 0.7466 MB / 4.205 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/7.34, allocations: 132.5 kB / 4.205 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/7.34, allocations: 11.94 kB / 4.206 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/7.34, allocations: 24.11 kB / 4.206 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/7.34, allocations: 31.88 kB / 4.206 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/7.34, allocations: 15.94 kB / 4.206 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001884/7.34, allocations: 227.1 kB / 4.206 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001684/7.342, allocations: 411.3 kB / 4.206 GB, free: 54.56 MB / 0.5105 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.001939/7.344, allocations: 1.261 MB / 4.207 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005086/7.345, allocations: 360 kB / 4.208 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/7.345, allocations: 0 / 4.208 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/7.345, allocations: 123.8 kB / 4.208 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/7.346, allocations: 164.3 kB / 4.208 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/7.347, allocations: 0.5723 MB / 4.209 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/7.347, allocations: 0.891 MB / 4.209 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/7.347, allocations: 0 / 4.209 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.02214/7.369, allocations: 15.56 MB / 4.225 GB, free: 35.75 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches