Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000949/0.0009491, allocations: 190.5 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.017/1.017, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008101/0.0008101, allocations: 102.7 kB / 261.4 MB, free: 13.55 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.1516/0.1516, allocations: 43.5 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.08e-06/5.09e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2171, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.849/4.066, allocations: 2.753 GB / 3.218 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/4.067, allocations: 77.08 kB / 3.218 GB, free: 32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.8168/4.883, allocations: 288.4 MB / 3.5 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.776e-05/4.883, allocations: 6.688 kB / 3.5 GB, free: 77.75 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.003322/4.887, allocations: 1.21 MB / 3.501 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/4.887, allocations: 11.41 kB / 3.501 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009424/4.888, allocations: 118.7 kB / 3.501 GB, free: 77.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/4.888, allocations: 341.9 kB / 3.502 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/4.888, allocations: 7.688 kB / 3.502 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/4.888, allocations: 16.69 kB / 3.502 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003032/4.888, allocations: 214.7 kB / 3.502 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/4.889, allocations: 309 kB / 3.502 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/4.889, allocations: 2.062 kB / 3.502 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/4.889, allocations: 7.844 kB / 3.502 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/4.889, allocations: 7.375 kB / 3.502 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/4.891, allocations: 2.28 MB / 3.505 GB, free: 75.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/4.891, allocations: 108 kB / 3.505 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/4.891, allocations: 53.52 kB / 3.505 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/4.891, allocations: 485.6 kB / 3.505 GB, free: 74.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/4.891, allocations: 40.19 kB / 3.505 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/4.891, allocations: 2.906 kB / 3.505 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0005877/4.892, allocations: 223.4 kB / 3.505 GB, free: 74.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/4.892, allocations: 102.8 kB / 3.506 GB, free: 74.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/4.892, allocations: 227 kB / 3.506 GB, free: 74.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/4.892, allocations: 25.7 kB / 3.506 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/4.892, allocations: 188.6 kB / 3.506 GB, free: 74.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/4.892, allocations: 38.73 kB / 3.506 GB, free: 74.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/4.892, allocations: 5.703 kB / 3.506 GB, free: 74.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.678e-05/4.892, allocations: 335.9 kB / 3.506 GB, free: 73.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/4.893, allocations: 49.47 kB / 3.506 GB, free: 73.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/4.893, allocations: 162.8 kB / 3.507 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/4.893, allocations: 84.44 kB / 3.507 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/4.893, allocations: 3.625 kB / 3.507 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006218/4.894, allocations: 307.7 kB / 3.507 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/4.894, allocations: 7.562 kB / 3.507 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/4.894, allocations: 7.094 kB / 3.507 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/4.894, allocations: 3.656 kB / 3.507 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/4.894, allocations: 73.61 kB / 3.507 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/4.894, allocations: 3.875 kB / 3.507 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/4.894, allocations: 49.38 kB / 3.507 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/4.894, allocations: 14.72 kB / 3.507 GB, free: 73.55 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 6.199e-05/4.894, allocations: 115.7 kB / 3.507 GB, free: 73.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/4.894, allocations: 103 kB / 3.507 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/4.895, allocations: 0.6399 MB / 3.508 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/4.895, allocations: 10.92 kB / 3.508 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/4.895, allocations: 0 / 3.508 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/4.895, allocations: 0 / 3.508 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/4.895, allocations: 403.8 kB / 3.508 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/4.895, allocations: 3.906 kB / 3.508 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/4.896, allocations: 45.06 kB / 3.508 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/4.896, allocations: 0 / 3.508 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/4.896, allocations: 7.406 kB / 3.508 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/4.896, allocations: 0 / 3.508 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/4.896, allocations: 0 / 3.508 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006396/4.896, allocations: 0.6175 MB / 3.509 GB, free: 73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/4.896, allocations: 104.5 kB / 3.509 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/4.896, allocations: 3.75 kB / 3.509 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/4.897, allocations: 29.47 kB / 3.509 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/4.897, allocations: 21.28 kB / 3.509 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/4.897, allocations: 7.344 kB / 3.509 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.956e-05/4.897, allocations: 175.5 kB / 3.509 GB, free: 72.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002817/4.9, allocations: 0.8573 MB / 3.51 GB, free: 72.68 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.003541/4.903, allocations: 1.436 MB / 3.511 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003419/4.903, allocations: 310.3 kB / 3.512 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/4.903, allocations: 0 / 3.512 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/4.904, allocations: 272.4 kB / 3.512 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/4.904, allocations: 116.9 kB / 3.512 GB, free: 72.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/4.905, allocations: 0.5177 MB / 3.513 GB, free: 72.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/4.905, allocations: 0.8462 MB / 3.513 GB, free: 71.57 MB / 0.4948 GB Notification: Performance of SimCode: time 2.11e-07/4.905, allocations: 3.938 kB / 3.513 GB, free: 71.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.0296/4.935, allocations: 26.86 MB / 3.54 GB, free: 71.11 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches