Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [: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.002441/0.00244, allocations: 172.7 kB / 8.146 MB, free: 2.195 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.647/1.647, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001262/0.001262, allocations: 92.02 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.2625/0.2625, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.959e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2797, allocations: 58.84 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.845/6.125, allocations: 2.753 GB / 3.218 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/6.125, allocations: 86.77 kB / 3.218 GB, free: 31.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.415/7.541, allocations: 288.4 MB / 3.5 GB, free: 77.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.211e-05/7.541, allocations: 8.344 kB / 3.5 GB, free: 77.16 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005064/7.546, allocations: 1.214 MB / 3.501 GB, free: 76.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/7.546, allocations: 7.312 kB / 3.501 GB, free: 76.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/7.547, allocations: 127.5 kB / 3.501 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/7.548, allocations: 333.8 kB / 3.502 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/7.548, allocations: 14.06 kB / 3.502 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/7.548, allocations: 15.94 kB / 3.502 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006071/7.549, allocations: 214 kB / 3.502 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/7.549, allocations: 303.3 kB / 3.502 GB, free: 76.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/7.549, allocations: 11.5 kB / 3.502 GB, free: 76.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/7.55, allocations: 3.906 kB / 3.502 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/7.55, allocations: 7.938 kB / 3.502 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/7.554, allocations: 2.272 MB / 3.505 GB, free: 74.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/7.554, allocations: 111 kB / 3.505 GB, free: 74.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/7.554, allocations: 58.61 kB / 3.505 GB, free: 74.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/7.555, allocations: 484.2 kB / 3.505 GB, free: 73.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/7.555, allocations: 35.22 kB / 3.505 GB, free: 73.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.805e-06/7.555, allocations: 0 / 3.505 GB, free: 73.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.001042/7.556, allocations: 224 kB / 3.505 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/7.556, allocations: 102.8 kB / 3.505 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/7.556, allocations: 224.7 kB / 3.506 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/7.556, allocations: 28.36 kB / 3.506 GB, free: 73.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/7.556, allocations: 251.3 kB / 3.506 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/7.556, allocations: 38.92 kB / 3.506 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/7.556, allocations: 0 / 3.506 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/7.557, allocations: 324.9 kB / 3.506 GB, free: 73.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/7.557, allocations: 46.28 kB / 3.506 GB, free: 73.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/7.557, allocations: 164.9 kB / 3.507 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/7.557, allocations: 92.09 kB / 3.507 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/7.557, allocations: 2.031 kB / 3.507 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001118/7.558, allocations: 295.3 kB / 3.507 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/7.558, allocations: 10.64 kB / 3.507 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/7.559, allocations: 3.781 kB / 3.507 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/7.559, allocations: 3.406 kB / 3.507 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/7.559, allocations: 72.03 kB / 3.507 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/7.559, allocations: 13.56 kB / 3.507 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/7.559, allocations: 34.95 kB / 3.507 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/7.56, allocations: 17.38 kB / 3.507 GB, free: 72.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 9.379e-05/7.56, allocations: 40.94 kB / 3.507 GB, free: 72.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/7.56, allocations: 100.7 kB / 3.507 GB, free: 72.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/7.561, allocations: 0.6384 MB / 3.508 GB, free: 72.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/7.561, allocations: 3.797 kB / 3.508 GB, free: 72.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/7.561, allocations: 3.938 kB / 3.508 GB, free: 72.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/7.561, allocations: 3.562 kB / 3.508 GB, free: 72.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/7.562, allocations: 406.5 kB / 3.508 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/7.562, allocations: 0 / 3.508 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/7.562, allocations: 46.27 kB / 3.508 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/7.562, allocations: 0 / 3.508 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/7.562, allocations: 11.09 kB / 3.508 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/7.562, allocations: 2.156 kB / 3.508 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/7.562, allocations: 0 / 3.508 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001177/7.564, allocations: 0.6131 MB / 3.509 GB, free: 72.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/7.564, allocations: 113.5 kB / 3.509 GB, free: 72.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/7.564, allocations: 0 / 3.509 GB, free: 72.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/7.564, allocations: 34.52 kB / 3.509 GB, free: 72.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/7.564, allocations: 23.64 kB / 3.509 GB, free: 72.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/7.564, allocations: 7.062 kB / 3.509 GB, free: 72.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002191/7.565, allocations: 175.8 kB / 3.509 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004223/7.569, allocations: 0.8575 MB / 3.51 GB, free: 72.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.008742/7.578, allocations: 1.425 MB / 3.511 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006822/7.578, allocations: 308.6 kB / 3.512 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/7.578, allocations: 3.719 kB / 3.512 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/7.579, allocations: 269.8 kB / 3.512 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/7.58, allocations: 114.5 kB / 3.512 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/7.581, allocations: 0.5516 MB / 3.513 GB, free: 71.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/7.582, allocations: 0.8448 MB / 3.513 GB, free: 70.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/7.582, allocations: 3.969 kB / 3.513 GB, free: 70.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.04496/7.627, allocations: 22.02 MB / 3.535 GB, free: 69.59 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches