Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") [: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.0009871/0.0009872, allocations: 179.6 kB / 8.521 MB, free: 1.84 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.305/1.305, 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.0009076/0.0009076, allocations: 84.8 kB / 281.2 MB, free: 5.527 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.1746/0.1746, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.973e-06, allocations: 0 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 61.9 MB / 0.4941 GB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.019/7.15, allocations: 3.511 GB / 4.005 GB, free: 66.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/7.15, allocations: 75.58 kB / 4.005 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.5122/7.662, allocations: 87.82 MB / 4.091 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.003e-05/7.663, allocations: 7.469 kB / 4.091 GB, free: 148.3 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003936/7.666, allocations: 1.047 MB / 4.092 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/7.667, allocations: 19.02 kB / 4.092 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/7.667, allocations: 34.28 kB / 4.092 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/7.667, allocations: 245.7 kB / 4.092 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/7.667, allocations: 118.5 kB / 4.092 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/7.667, allocations: 21.53 kB / 4.092 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001259/7.669, allocations: 1.194 MB / 4.093 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/7.669, allocations: 0.5198 MB / 4.094 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/7.669, allocations: 0 / 4.094 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/7.669, allocations: 2.938 kB / 4.094 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/7.67, allocations: 25.17 kB / 4.094 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/7.674, allocations: 4.544 MB / 4.098 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/7.674, allocations: 116.7 kB / 4.098 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/7.674, allocations: 50.55 kB / 4.098 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/7.674, allocations: 359.9 kB / 4.099 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/7.675, allocations: 34.06 kB / 4.099 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.326e-06/7.675, allocations: 2.969 kB / 4.099 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001318/7.676, allocations: 315.4 kB / 4.099 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/7.676, allocations: 54.59 kB / 4.099 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/7.676, allocations: 251.6 kB / 4.099 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/7.676, allocations: 25.7 kB / 4.099 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/7.676, allocations: 274.2 kB / 4.1 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/7.676, allocations: 67.53 kB / 4.1 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/7.676, allocations: 0 / 4.1 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/7.677, allocations: 335.9 kB / 4.1 GB, free: 142 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/7.677, allocations: 88.38 kB / 4.1 GB, free: 142 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/7.677, allocations: 397.5 kB / 4.101 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/7.679, allocations: 323.6 kB / 4.101 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/7.679, allocations: 3.25 kB / 4.101 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001998/7.681, allocations: 0.6502 MB / 4.101 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/7.681, allocations: 6.531 kB / 4.102 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/7.681, allocations: 9.688 kB / 4.102 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/7.681, allocations: 16.19 kB / 4.102 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/7.682, allocations: 204.4 kB / 4.102 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005473/7.682, allocations: 1.212 MB / 4.103 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/7.683, allocations: 11.38 kB / 4.103 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/7.683, allocations: 70.25 kB / 4.103 GB, free: 140.4 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002115/7.683, allocations: 145.9 kB / 4.103 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.979e-05/7.683, allocations: 25 kB / 4.103 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000581/7.684, allocations: 223.8 kB / 4.103 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/7.684, allocations: 10.98 kB / 4.103 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/7.684, allocations: 2.625 kB / 4.103 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/7.684, allocations: 0 / 4.103 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007599/7.684, allocations: 0.5071 MB / 4.104 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/7.684, allocations: 0 / 4.104 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/7.685, allocations: 71.8 kB / 4.104 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/7.685, allocations: 6.438 kB / 4.104 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/7.685, allocations: 3.25 kB / 4.104 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005459/7.685, allocations: 1.194 MB / 4.105 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/7.685, allocations: 0 / 4.105 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006432/7.686, allocations: 283.4 kB / 4.105 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/7.686, allocations: 163.8 kB / 4.106 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/7.687, allocations: 3.875 kB / 4.106 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/7.687, allocations: 18.56 kB / 4.106 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/7.687, allocations: 6.781 kB / 4.106 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/7.687, allocations: 14.03 kB / 4.106 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002627/7.688, allocations: 181.3 kB / 4.106 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003605/7.691, allocations: 0.5257 MB / 4.106 GB, free: 138.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005332/7.697, allocations: 1.31 MB / 4.108 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001671/7.698, allocations: 313.9 kB / 4.108 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/7.698, allocations: 0 / 4.108 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/7.699, allocations: 99.2 kB / 4.108 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/7.7, allocations: 60.05 kB / 4.108 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2444/7.944, allocations: 50.97 MB / 4.158 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/7.945, allocations: 0.8893 MB / 4.159 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/7.945, allocations: 7.938 kB / 4.159 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.02363/7.969, allocations: 17.49 MB / 4.176 GB, free: 93 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches