Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001791/0.001791, allocations: 195.1 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009649/0.0009649, allocations: 91.73 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 45.14 MB / 383.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.612e-06, allocations: 4 kB / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.171/6.296, allocations: 2.756 GB / 3.26 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/6.296, allocations: 74.88 kB / 3.26 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7117/7.008, allocations: 209 MB / 3.464 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.356e-05/7.008, allocations: 6.844 kB / 3.464 GB, free: 86.18 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.007398/7.015, allocations: 1.772 MB / 3.465 GB, free: 85.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/7.015, allocations: 7.469 kB / 3.465 GB, free: 85.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/7.017, allocations: 203.4 kB / 3.466 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/7.017, allocations: 275.6 kB / 3.466 GB, free: 85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/7.017, allocations: 11.25 kB / 3.466 GB, free: 85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/7.017, allocations: 18.67 kB / 3.466 GB, free: 85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005743/7.018, allocations: 478.7 kB / 3.466 GB, free: 85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/7.018, allocations: 371.9 kB / 3.467 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/7.018, allocations: 4.406 kB / 3.467 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/7.018, allocations: 0 / 3.467 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/7.018, allocations: 9.781 kB / 3.467 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.066/8.084, allocations: 269.7 MB / 3.73 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/8.084, allocations: 77.25 kB / 3.73 GB, free: 120.7 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/8.084, allocations: 34.77 kB / 3.73 GB, free: 120.7 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.116/8.2, allocations: 49.88 MB / 3.779 GB, free: 74.11 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/8.201, allocations: 121.6 kB / 3.779 GB, free: 74 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/8.201, allocations: 0 / 3.779 GB, free: 74 MB / 0.5418 GB Notification: Performance of matching and sorting (n=13): time 0.002161/8.203, allocations: 489.1 kB / 3.779 GB, free: 73.66 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/8.203, allocations: 78.14 kB / 3.78 GB, free: 73.57 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/8.203, allocations: 215.5 kB / 3.78 GB, free: 73.37 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/8.203, allocations: 29.7 kB / 3.78 GB, free: 73.34 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/8.203, allocations: 248.9 kB / 3.78 GB, free: 73.13 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/8.203, allocations: 48.77 kB / 3.78 GB, free: 73.09 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/8.203, allocations: 0 / 3.78 GB, free: 73.09 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/8.203, allocations: 334.1 kB / 3.78 GB, free: 72.77 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/8.204, allocations: 58.39 kB / 3.78 GB, free: 72.71 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/8.204, allocations: 319.6 kB / 3.781 GB, free: 72.29 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/8.204, allocations: 125.7 kB / 3.781 GB, free: 72.19 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/8.204, allocations: 4 kB / 3.781 GB, free: 72.19 MB / 0.5418 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002129/8.206, allocations: 0.7764 MB / 3.782 GB, free: 71.63 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/8.206, allocations: 11.8 kB / 3.782 GB, free: 71.62 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/8.206, allocations: 8 kB / 3.782 GB, free: 71.62 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/8.206, allocations: 12 kB / 3.782 GB, free: 71.61 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/8.207, allocations: 143 kB / 3.782 GB, free: 71.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000504/8.208, allocations: 1.202 MB / 3.783 GB, free: 70.27 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/8.208, allocations: 17.88 kB / 3.783 GB, free: 70.26 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/8.208, allocations: 36.45 kB / 3.783 GB, free: 70.23 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.0001577/8.208, allocations: 132.7 kB / 3.783 GB, free: 70.11 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007304/8.209, allocations: 261.9 kB / 3.783 GB, free: 69.93 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/8.21, allocations: 0.8198 MB / 3.784 GB, free: 69.22 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/8.21, allocations: 11.28 kB / 3.784 GB, free: 69.21 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/8.21, allocations: 7.281 kB / 3.784 GB, free: 69.21 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/8.21, allocations: 3.094 kB / 3.784 GB, free: 69.21 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/8.21, allocations: 403.9 kB / 3.785 GB, free: 68.84 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/8.21, allocations: 11.91 kB / 3.785 GB, free: 68.82 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/8.21, allocations: 19.66 kB / 3.785 GB, free: 68.81 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/8.211, allocations: 158.6 kB / 3.785 GB, free: 68.68 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/8.211, allocations: 7.844 kB / 3.785 GB, free: 68.67 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006006/8.211, allocations: 1.374 MB / 3.786 GB, free: 67.29 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/8.211, allocations: 4.031 kB / 3.786 GB, free: 67.29 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001123/8.212, allocations: 0.7277 MB / 3.787 GB, free: 66.66 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/8.212, allocations: 163.2 kB / 3.787 GB, free: 66.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/8.213, allocations: 0 / 3.787 GB, free: 66.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/8.213, allocations: 17.11 kB / 3.787 GB, free: 66.49 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/8.213, allocations: 7.516 kB / 3.787 GB, free: 66.49 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/8.213, allocations: 4 kB / 3.787 GB, free: 66.48 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.0001838/8.213, allocations: 215.5 kB / 3.787 GB, free: 66.29 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.008993/8.222, allocations: 1.706 MB / 3.789 GB, free: 64.92 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.01443/8.236, allocations: 2.325 MB / 3.791 GB, free: 62.95 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0009453/8.237, allocations: 375.5 kB / 3.792 GB, free: 62.64 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/8.237, allocations: 6.188 kB / 3.792 GB, free: 62.64 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/8.238, allocations: 269.5 kB / 3.792 GB, free: 62.39 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/8.238, allocations: 32.55 kB / 3.792 GB, free: 62.37 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6312/8.869, allocations: 82.15 MB / 3.872 GB, free: 131.4 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/8.87, allocations: 0.8541 MB / 3.873 GB, free: 130.7 MB / 0.5419 GB Notification: Performance of SimCode: time 1.172e-06/8.87, allocations: 0 / 3.873 GB, free: 130.7 MB / 0.5419 GB Notification: Performance of Templates: time 0.05921/8.929, allocations: 42.89 MB / 3.915 GB, free: 130.5 MB / 0.5419 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches