Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 172.3 kB / 8.144 MB, free: 2.141 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.2 MB / 213.8 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 95 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2602/0.2602, allocations: 43.48 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.337e-05/1.357e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3189, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.999/6.318, allocations: 2.749 GB / 3.215 GB, free: 37.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/6.318, allocations: 78.77 kB / 3.215 GB, free: 37.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.131/7.449, allocations: 207.2 MB / 3.417 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.713e-05/7.449, allocations: 8 kB / 3.417 GB, free: 37.53 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009054/7.458, allocations: 1.76 MB / 3.419 GB, free: 35.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/7.458, allocations: 12.03 kB / 3.419 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/7.461, allocations: 199.5 kB / 3.419 GB, free: 35.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/7.461, allocations: 270.5 kB / 3.419 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/7.461, allocations: 12 kB / 3.419 GB, free: 35.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/7.461, allocations: 16 kB / 3.419 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009864/7.462, allocations: 480.2 kB / 3.42 GB, free: 34.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006569/7.463, allocations: 377.9 kB / 3.42 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/7.463, allocations: 4 kB / 3.42 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/7.463, allocations: 0 / 3.42 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/7.463, allocations: 8 kB / 3.42 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.656/9.119, allocations: 262.5 MB / 3.676 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/9.119, allocations: 86.25 kB / 3.677 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/9.119, allocations: 26.27 kB / 3.677 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2143/9.334, allocations: 46.29 MB / 3.722 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/9.334, allocations: 117.4 kB / 3.722 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/9.334, allocations: 1.125 kB / 3.722 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.002342/9.336, allocations: 476 kB / 3.722 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/9.336, allocations: 77.95 kB / 3.722 GB, free: 129 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/9.337, allocations: 222.9 kB / 3.723 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/9.337, allocations: 25.7 kB / 3.723 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/9.337, allocations: 314.7 kB / 3.723 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/9.337, allocations: 48.23 kB / 3.723 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/9.337, allocations: 4.031 kB / 3.723 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/9.337, allocations: 332.2 kB / 3.723 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/9.337, allocations: 57.39 kB / 3.723 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/9.337, allocations: 324.8 kB / 3.724 GB, free: 128 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/9.338, allocations: 122.5 kB / 3.724 GB, free: 128 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/9.338, allocations: 6.812 kB / 3.724 GB, free: 128 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003185/9.341, allocations: 0.7878 MB / 3.725 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/9.342, allocations: 9.219 kB / 3.725 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/9.342, allocations: 7.188 kB / 3.725 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/9.342, allocations: 18.31 kB / 3.725 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009138/9.342, allocations: 133.5 kB / 3.725 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000594/9.343, allocations: 1.2 MB / 3.726 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/9.344, allocations: 10.25 kB / 3.726 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/9.344, allocations: 33.31 kB / 3.726 GB, free: 126.8 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: 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.000174/9.344, allocations: 57.92 kB / 3.726 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/9.345, allocations: 263.7 kB / 3.726 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/9.347, allocations: 0.8265 MB / 3.727 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/9.347, allocations: 10.48 kB / 3.727 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/9.347, allocations: 0 / 3.727 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/9.347, allocations: 0 / 3.727 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/9.347, allocations: 404.5 kB / 3.727 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/9.347, allocations: 0 / 3.727 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/9.347, allocations: 25.7 kB / 3.727 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/9.348, allocations: 165.2 kB / 3.728 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/9.348, allocations: 3.188 kB / 3.728 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008258/9.349, allocations: 1.367 MB / 3.729 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/9.349, allocations: 3.891 kB / 3.729 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001778/9.35, allocations: 0.7374 MB / 3.73 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/9.351, allocations: 165.9 kB / 3.73 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/9.351, allocations: 3.188 kB / 3.73 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/9.351, allocations: 15.06 kB / 3.73 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/9.351, allocations: 3 kB / 3.73 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/9.351, allocations: 11.94 kB / 3.73 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002934/9.351, allocations: 216.2 kB / 3.73 GB, free: 125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007639/9.359, allocations: 1.683 MB / 3.732 GB, free: 125 MB / 0.5105 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.01602/9.375, allocations: 2.303 MB / 3.734 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001165/9.376, allocations: 385 kB / 3.734 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/9.376, allocations: 0 / 3.734 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004784/9.377, allocations: 261.5 kB / 3.735 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/9.377, allocations: 32.11 kB / 3.735 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3262/9.704, allocations: 81.72 MB / 3.814 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/9.704, allocations: 0.8441 MB / 3.815 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/9.704, allocations: 0 / 3.815 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1066/9.811, allocations: 36.93 MB / 3.851 GB, free: 72.56 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches