Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 178.7 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.277/1.277, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.0009478/0.0009477, allocations: 88.73 kB / 281.2 MB, free: 5.52 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.1915/0.1915, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.368e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 61.9 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.882/6.01, allocations: 2.758 GB / 3.252 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/6.01, allocations: 84.81 kB / 3.253 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.073/7.083, allocations: 291.5 MB / 3.537 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.023e-05/7.083, allocations: 10.77 kB / 3.537 GB, free: 83.62 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003717/7.087, allocations: 1.206 MB / 3.538 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/7.087, allocations: 11.44 kB / 3.538 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/7.088, allocations: 120.5 kB / 3.538 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/7.088, allocations: 337.9 kB / 3.539 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/7.088, allocations: 11.66 kB / 3.539 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/7.088, allocations: 14.09 kB / 3.539 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003311/7.089, allocations: 213.5 kB / 3.539 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/7.089, allocations: 304 kB / 3.539 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/7.089, allocations: 7.844 kB / 3.539 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/7.089, allocations: 2.625 kB / 3.539 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/7.089, allocations: 7.312 kB / 3.539 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/7.091, allocations: 2.281 MB / 3.542 GB, free: 80.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/7.091, allocations: 115.1 kB / 3.542 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/7.092, allocations: 46.64 kB / 3.542 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/7.092, allocations: 484.4 kB / 3.542 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/7.092, allocations: 34.06 kB / 3.542 GB, free: 79.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/7.092, allocations: 2.625 kB / 3.542 GB, free: 79.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.0006444/7.093, allocations: 223.4 kB / 3.542 GB, free: 79.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/7.093, allocations: 106.2 kB / 3.543 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/7.093, allocations: 234.3 kB / 3.543 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/7.093, allocations: 29.55 kB / 3.543 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/7.093, allocations: 183.7 kB / 3.543 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/7.093, allocations: 38.03 kB / 3.543 GB, free: 79.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/7.093, allocations: 0 / 3.543 GB, free: 79.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/7.093, allocations: 338.1 kB / 3.543 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/7.093, allocations: 56.2 kB / 3.543 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/7.093, allocations: 156.8 kB / 3.544 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/7.093, allocations: 90.47 kB / 3.544 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/7.093, allocations: 3.875 kB / 3.544 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007334/7.094, allocations: 306.9 kB / 3.544 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/7.094, allocations: 7.812 kB / 3.544 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/7.094, allocations: 3.875 kB / 3.544 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/7.094, allocations: 6.766 kB / 3.544 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/7.095, allocations: 72.17 kB / 3.544 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/7.095, allocations: 11.61 kB / 3.544 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/7.095, allocations: 48.33 kB / 3.544 GB, free: 78.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/7.095, allocations: 18.12 kB / 3.544 GB, free: 78.59 MB / 0.5105 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 8.475e-05/7.095, allocations: 109.9 kB / 3.544 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/7.095, allocations: 98.73 kB / 3.544 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/7.096, allocations: 0.6346 MB / 3.545 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/7.096, allocations: 11.12 kB / 3.545 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/7.096, allocations: 7.5 kB / 3.545 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/7.096, allocations: 0 / 3.545 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/7.096, allocations: 414.5 kB / 3.545 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/7.096, allocations: 0 / 3.545 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/7.097, allocations: 42.16 kB / 3.545 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/7.097, allocations: 3.312 kB / 3.545 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/7.097, allocations: 3.703 kB / 3.545 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/7.097, allocations: 0 / 3.545 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/7.097, allocations: 1.875 kB / 3.545 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007793/7.098, allocations: 0.6204 MB / 3.546 GB, free: 77.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/7.098, allocations: 99.2 kB / 3.546 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/7.098, allocations: 3.562 kB / 3.546 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/7.098, allocations: 31.27 kB / 3.546 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/7.098, allocations: 21.77 kB / 3.546 GB, free: 77.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/7.098, allocations: 11.62 kB / 3.546 GB, free: 77.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001339/7.098, allocations: 173 kB / 3.546 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004427/7.103, allocations: 0.8603 MB / 3.547 GB, free: 77.16 MB / 0.5105 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.00537/7.108, allocations: 1.442 MB / 3.549 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004522/7.108, allocations: 301.9 kB / 3.549 GB, free: 76.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.108, allocations: 0 / 3.549 GB, free: 76.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/7.109, allocations: 274.2 kB / 3.549 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/7.109, allocations: 113.2 kB / 3.549 GB, free: 76.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000816/7.11, allocations: 0.5177 MB / 3.55 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/7.111, allocations: 0.8488 MB / 3.551 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/7.111, allocations: 0 / 3.551 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.03919/7.15, allocations: 26.87 MB / 3.577 GB, free: 74.57 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches