Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001212/0.001212, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000903/0.0009031, allocations: 96.14 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1892/0.1892, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.015e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1467, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.626/6.773, allocations: 2.759 GB / 3.263 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/6.774, allocations: 83.08 kB / 3.263 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9976/7.771, allocations: 291.6 MB / 3.548 GB, free: 79.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.384e-05/7.771, allocations: 12 kB / 3.548 GB, free: 79.09 MB / 0.5261 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.004923/7.776, allocations: 1.215 MB / 3.549 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/7.776, allocations: 8.031 kB / 3.549 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/7.777, allocations: 135.4 kB / 3.549 GB, free: 77.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/7.778, allocations: 336.1 kB / 3.55 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/7.778, allocations: 12 kB / 3.55 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/7.778, allocations: 16 kB / 3.55 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003884/7.778, allocations: 208.8 kB / 3.55 GB, free: 77.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/7.779, allocations: 305.3 kB / 3.55 GB, free: 76.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/7.779, allocations: 3.938 kB / 3.55 GB, free: 76.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/7.779, allocations: 4 kB / 3.55 GB, free: 76.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/7.779, allocations: 8 kB / 3.55 GB, free: 76.74 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/7.782, allocations: 2.293 MB / 3.552 GB, free: 74.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/7.782, allocations: 114.4 kB / 3.552 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/7.782, allocations: 53.02 kB / 3.553 GB, free: 74.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/7.783, allocations: 481.5 kB / 3.553 GB, free: 73.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/7.783, allocations: 38.56 kB / 3.553 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/7.783, allocations: 0 / 3.553 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0008098/7.783, allocations: 221.3 kB / 3.553 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/7.784, allocations: 102.8 kB / 3.553 GB, free: 73.13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/7.784, allocations: 223.3 kB / 3.554 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/7.784, allocations: 25.7 kB / 3.554 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/7.784, allocations: 187.5 kB / 3.554 GB, free: 72.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/7.784, allocations: 55.33 kB / 3.554 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/7.784, allocations: 0 / 3.554 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/7.784, allocations: 330.8 kB / 3.554 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/7.784, allocations: 51.94 kB / 3.554 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/7.784, allocations: 160.4 kB / 3.554 GB, free: 72.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/7.784, allocations: 87.97 kB / 3.554 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/7.785, allocations: 0 / 3.554 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006871/7.785, allocations: 309 kB / 3.555 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/7.785, allocations: 7.125 kB / 3.555 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/7.785, allocations: 7.984 kB / 3.555 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/7.785, allocations: 7.938 kB / 3.555 GB, free: 71.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/7.786, allocations: 80.36 kB / 3.555 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/7.786, allocations: 7.938 kB / 3.555 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/7.786, allocations: 47.67 kB / 3.555 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/7.786, allocations: 15.98 kB / 3.555 GB, free: 71.48 MB / 0.5261 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 7.919e-05/7.786, allocations: 116.8 kB / 3.555 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/7.786, allocations: 99.62 kB / 3.555 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/7.787, allocations: 0.6275 MB / 3.556 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/7.787, allocations: 7.984 kB / 3.556 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/7.787, allocations: 3.906 kB / 3.556 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/7.787, allocations: 0 / 3.556 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/7.787, allocations: 407.5 kB / 3.556 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/7.787, allocations: 0 / 3.556 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/7.788, allocations: 43.91 kB / 3.556 GB, free: 70.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/7.788, allocations: 0 / 3.556 GB, free: 70.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/7.788, allocations: 8 kB / 3.556 GB, free: 70.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/7.788, allocations: 4 kB / 3.556 GB, free: 70.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/7.788, allocations: 0 / 3.556 GB, free: 70.12 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006941/7.788, allocations: 0.6183 MB / 3.557 GB, free: 69.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/7.788, allocations: 104.7 kB / 3.557 GB, free: 69.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/7.788, allocations: 0 / 3.557 GB, free: 69.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/7.789, allocations: 35.81 kB / 3.557 GB, free: 69.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/7.789, allocations: 23.91 kB / 3.557 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/7.789, allocations: 11.98 kB / 3.557 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001155/7.789, allocations: 167.1 kB / 3.557 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005276/7.794, allocations: 0.8741 MB / 3.558 GB, free: 68.26 MB / 0.5261 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.008776/7.803, allocations: 1.436 MB / 3.559 GB, free: 66.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005635/7.804, allocations: 308.6 kB / 3.56 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/7.804, allocations: 4.125 kB / 3.56 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/7.804, allocations: 267.9 kB / 3.56 GB, free: 66.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/7.805, allocations: 120.5 kB / 3.56 GB, free: 66.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/7.805, allocations: 0.5126 MB / 3.56 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/7.806, allocations: 0.8458 MB / 3.561 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of SimCode: time 3.4e-07/7.806, allocations: 0 / 3.561 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of Templates: time 0.03332/7.839, allocations: 26.94 MB / 3.588 GB, free: 37.96 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches