Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [: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.001178/0.001178, allocations: 178.6 kB / 8.519 MB, free: 1.828 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.242/1.242, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009263/0.0009263, allocations: 90.47 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.1922/0.1922, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.064e-06/7.093e-06, allocations: 0 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 61.9 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7415/0.8661, allocations: 300.3 MB / 0.7873 GB, free: 90.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.8664, allocations: 69.77 kB / 0.7874 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04197/0.9084, allocations: 20.35 MB / 0.8073 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.9084, allocations: 4 kB / 0.8073 GB, free: 72.6 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008042/0.9092, allocations: 0.557 MB / 0.8078 GB, free: 72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.9093, allocations: 11.97 kB / 0.8078 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.9094, allocations: 23.81 kB / 0.8079 GB, free: 71.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.9097, allocations: 230.7 kB / 0.8081 GB, free: 71.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.75e-05/0.9098, allocations: 115.3 kB / 0.8082 GB, free: 71.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.9098, allocations: 16 kB / 0.8082 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006249/0.9104, allocations: 0.7072 MB / 0.8089 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.9108, allocations: 281.9 kB / 0.8092 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9108, allocations: 4 kB / 0.8092 GB, free: 70.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.9108, allocations: 3.906 kB / 0.8092 GB, free: 70.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.9108, allocations: 12 kB / 0.8092 GB, free: 70.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.9128, allocations: 3.192 MB / 0.8123 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.382e-05/0.9129, allocations: 45.69 kB / 0.8123 GB, free: 66.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.9129, allocations: 24.89 kB / 0.8124 GB, free: 66.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.9131, allocations: 166.2 kB / 0.8125 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.9131, allocations: 34.55 kB / 0.8126 GB, free: 66.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.9131, allocations: 0 / 0.8126 GB, free: 66.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004839/0.9136, allocations: 153.7 kB / 0.8127 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.9136, allocations: 51.41 kB / 0.8128 GB, free: 66.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.9138, allocations: 203.7 kB / 0.813 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.9138, allocations: 25.7 kB / 0.813 GB, free: 66.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.9138, allocations: 222.6 kB / 0.8132 GB, free: 65.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.9139, allocations: 35.55 kB / 0.8132 GB, free: 65.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.9139, allocations: 0 / 0.8132 GB, free: 65.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.9139, allocations: 330.8 kB / 0.8135 GB, free: 65.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.914, allocations: 36.88 kB / 0.8136 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.9142, allocations: 309.2 kB / 0.8139 GB, free: 64.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.9144, allocations: 111.8 kB / 0.814 GB, free: 64.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9145, allocations: 3.938 kB / 0.814 GB, free: 64.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005459/0.915, allocations: 321.8 kB / 0.8143 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.915, allocations: 11.91 kB / 0.8143 GB, free: 64.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.915, allocations: 12.12 kB / 0.8143 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.9151, allocations: 16 kB / 0.8143 GB, free: 64.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.9154, allocations: 107.9 kB / 0.8144 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.9154, allocations: 23.86 kB / 0.8144 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.9157, allocations: 8 kB / 0.8145 GB, free: 64.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.9157, allocations: 28 kB / 0.8145 GB, free: 64.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.674e-05/0.9158, allocations: 128.7 kB / 0.8146 GB, free: 64.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.9158, allocations: 23.66 kB / 0.8146 GB, free: 64.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.9161, allocations: 108.4 kB / 0.8147 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.9161, allocations: 4 kB / 0.8147 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.9161, allocations: 0 / 0.8147 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9161, allocations: 0 / 0.8147 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.9164, allocations: 384.6 kB / 0.8151 GB, free: 63.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9165, allocations: 0 / 0.8151 GB, free: 63.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.9166, allocations: 23.97 kB / 0.8151 GB, free: 63.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9166, allocations: 0 / 0.8151 GB, free: 63.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.9166, allocations: 4 kB / 0.8151 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9166, allocations: 0 / 0.8151 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9166, allocations: 0 / 0.8151 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00016/0.9168, allocations: 220.4 kB / 0.8153 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.9169, allocations: 120.8 kB / 0.8155 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.9169, allocations: 0 / 0.8155 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.9171, allocations: 4 kB / 0.8155 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.9171, allocations: 7.984 kB / 0.8155 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.9171, allocations: 12.12 kB / 0.8155 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.086e-05/0.9172, allocations: 136.5 kB / 0.8156 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004526/0.9177, allocations: 87.98 kB / 0.8157 GB, free: 62.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 1 * 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.0002334/0.9179, allocations: 176.6 kB / 0.8159 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.9181, allocations: 142.2 kB / 0.816 GB, free: 62.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9182, allocations: 4 kB / 0.816 GB, free: 62.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.9182, allocations: 23.92 kB / 0.816 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.9184, allocations: 28.33 kB / 0.816 GB, free: 62.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.9188, allocations: 197.9 kB / 0.8162 GB, free: 62.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.919, allocations: 0.7592 MB / 0.817 GB, free: 61.59 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.919, allocations: 0 / 0.817 GB, free: 61.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.005611/0.9247, allocations: 3.193 MB / 0.8201 GB, free: 58.41 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches