Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [: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.001441/0.001441, allocations: 171.6 kB / 8.516 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.302/1.302, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009802/0.00098, allocations: 97.89 kB / 281.2 MB, free: 5.504 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.1888/0.1888, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.534e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 61.9 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.588/5.709, allocations: 2.755 GB / 3.249 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/5.709, allocations: 79.95 kB / 3.249 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7154/6.424, allocations: 209.3 MB / 3.453 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.223e-05/6.424, allocations: 4 kB / 3.453 GB, free: 14.21 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008091/6.432, allocations: 1.761 MB / 3.455 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/6.433, allocations: 19.95 kB / 3.455 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/6.434, allocations: 199.5 kB / 3.455 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/6.435, allocations: 270.5 kB / 3.455 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/6.435, allocations: 12 kB / 3.455 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/6.435, allocations: 16 kB / 3.455 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006478/6.435, allocations: 473 kB / 3.456 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/6.436, allocations: 381.9 kB / 3.456 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/6.436, allocations: 0 / 3.456 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/6.436, allocations: 4 kB / 3.456 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/6.436, allocations: 8 kB / 3.456 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.166/7.602, allocations: 262.4 MB / 3.713 GB, free: 9.371 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/7.602, allocations: 85.98 kB / 3.713 GB, free: 9.281 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/7.602, allocations: 25.94 kB / 3.713 GB, free: 9.258 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3289/7.931, allocations: 46.3 MB / 3.758 GB, free: 143.5 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/7.932, allocations: 112.4 kB / 3.758 GB, free: 143.5 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/7.932, allocations: 0 / 3.758 GB, free: 143.5 MB / 0.5418 GB Notification: Performance of matching and sorting (n=13): time 0.002854/7.935, allocations: 476.4 kB / 3.758 GB, free: 143.4 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/7.935, allocations: 80.86 kB / 3.759 GB, free: 143.3 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/7.935, allocations: 214.1 kB / 3.759 GB, free: 143.2 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/7.935, allocations: 33.33 kB / 3.759 GB, free: 143.2 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/7.935, allocations: 245.2 kB / 3.759 GB, free: 143 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/7.935, allocations: 47.45 kB / 3.759 GB, free: 143 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/7.935, allocations: 0 / 3.759 GB, free: 143 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/7.935, allocations: 330.8 kB / 3.759 GB, free: 142.7 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/7.935, allocations: 65.88 kB / 3.759 GB, free: 142.7 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/7.936, allocations: 323.7 kB / 3.76 GB, free: 142.3 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/7.936, allocations: 118.5 kB / 3.76 GB, free: 142.3 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/7.937, allocations: 3.625 kB / 3.76 GB, free: 142.3 MB / 0.5418 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003413/7.94, allocations: 0.79 MB / 3.761 GB, free: 142.3 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/7.94, allocations: 6.688 kB / 3.761 GB, free: 142.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/7.94, allocations: 10 kB / 3.761 GB, free: 142.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/7.94, allocations: 14.62 kB / 3.761 GB, free: 142.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/7.941, allocations: 133.9 kB / 3.761 GB, free: 142.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006164/7.941, allocations: 1.204 MB / 3.762 GB, free: 141.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/7.942, allocations: 14.73 kB / 3.762 GB, free: 141.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/7.942, allocations: 36.05 kB / 3.762 GB, free: 141.1 MB / 0.5418 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: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * 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.0002163/7.942, allocations: 133.2 kB / 3.762 GB, free: 141 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/7.944, allocations: 263.1 kB / 3.762 GB, free: 141 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/7.945, allocations: 0.8313 MB / 3.763 GB, free: 140.9 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/7.945, allocations: 7.375 kB / 3.763 GB, free: 140.9 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/7.945, allocations: 3.969 kB / 3.763 GB, free: 140.9 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/7.945, allocations: 0 / 3.763 GB, free: 140.9 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/7.946, allocations: 402.2 kB / 3.764 GB, free: 140.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/7.946, allocations: 3.469 kB / 3.764 GB, free: 140.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/7.946, allocations: 23.3 kB / 3.764 GB, free: 140.7 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000326/7.946, allocations: 168.8 kB / 3.764 GB, free: 140.7 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/7.946, allocations: 3.5 kB / 3.764 GB, free: 140.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008268/7.947, allocations: 1.372 MB / 3.765 GB, free: 139.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/7.947, allocations: 1.969 kB / 3.765 GB, free: 139.6 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001965/7.949, allocations: 0.7357 MB / 3.766 GB, free: 139.5 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/7.949, allocations: 156.6 kB / 3.766 GB, free: 139.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/7.949, allocations: 3.656 kB / 3.766 GB, free: 139.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/7.95, allocations: 11.67 kB / 3.766 GB, free: 139.4 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/7.95, allocations: 10.16 kB / 3.766 GB, free: 139.4 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/7.95, allocations: 7.594 kB / 3.766 GB, free: 139.4 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.0002856/7.95, allocations: 223 kB / 3.766 GB, free: 139.3 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01023/7.96, allocations: 1.687 MB / 3.768 GB, free: 139.3 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0178/7.978, allocations: 2.297 MB / 3.77 GB, free: 139.1 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.001315/7.98, allocations: 385.4 kB / 3.77 GB, free: 139.1 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/7.98, allocations: 0 / 3.77 GB, free: 139.1 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0004636/7.98, allocations: 259.8 kB / 3.771 GB, free: 139.1 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/7.981, allocations: 43.86 kB / 3.771 GB, free: 139.1 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1959/8.177, allocations: 82.06 MB / 3.851 GB, free: 126.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/8.177, allocations: 0.8462 MB / 3.852 GB, free: 125.8 MB / 0.5418 GB Notification: Performance of SimCode: time 2.615e-06/8.177, allocations: 0 / 3.852 GB, free: 125.8 MB / 0.5418 GB Notification: Performance of Templates: time 0.05512/8.232, allocations: 42.81 MB / 3.894 GB, free: 97.48 MB / 0.5418 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches