Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_ph") [: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.001768/0.001768, allocations: 194.9 kB / 8.538 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 90.14 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 45.14 MB / 383.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.784e-06/7.814e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1261, allocations: 63.25 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.033/6.159, allocations: 2.757 GB / 3.261 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/6.16, allocations: 83.14 kB / 3.261 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7132/6.873, allocations: 209.5 MB / 3.466 GB, free: 87.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.48e-05/6.873, allocations: 3.844 kB / 3.466 GB, free: 87.8 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.007016/6.88, allocations: 1.787 MB / 3.468 GB, free: 86.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/6.88, allocations: 11.41 kB / 3.468 GB, free: 86.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/6.882, allocations: 241.3 kB / 3.468 GB, free: 86.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/6.882, allocations: 275.3 kB / 3.468 GB, free: 86.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/6.882, allocations: 10.81 kB / 3.468 GB, free: 86.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/6.882, allocations: 19.16 kB / 3.468 GB, free: 86.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006103/6.883, allocations: 0.5188 MB / 3.469 GB, free: 86.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/6.883, allocations: 379.2 kB / 3.469 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/6.883, allocations: 3.188 kB / 3.469 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/6.883, allocations: 0 / 3.469 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/6.883, allocations: 7.875 kB / 3.469 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.451/8.334, allocations: 391.4 MB / 3.851 GB, free: 26.64 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/8.334, allocations: 40.16 kB / 3.851 GB, free: 26.59 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/8.334, allocations: 20.86 kB / 3.851 GB, free: 26.57 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3939/8.728, allocations: 51.43 MB / 3.902 GB, free: 148.1 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/8.729, allocations: 115.3 kB / 3.902 GB, free: 148 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/8.729, allocations: 0 / 3.902 GB, free: 148 MB / 0.5418 GB Notification: Performance of matching and sorting (n=10): time 0.00165/8.73, allocations: 371 kB / 3.902 GB, free: 148 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/8.73, allocations: 138.9 kB / 3.902 GB, free: 147.8 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/8.731, allocations: 218.9 kB / 3.902 GB, free: 147.7 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/8.731, allocations: 32.58 kB / 3.902 GB, free: 147.7 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/8.731, allocations: 253.7 kB / 3.903 GB, free: 147.5 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/8.731, allocations: 42.55 kB / 3.903 GB, free: 147.5 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/8.731, allocations: 0 / 3.903 GB, free: 147.5 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/8.731, allocations: 330.4 kB / 3.903 GB, free: 147.2 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/8.731, allocations: 58.45 kB / 3.903 GB, free: 147.2 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/8.731, allocations: 312.6 kB / 3.903 GB, free: 146.9 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/8.732, allocations: 120.6 kB / 3.903 GB, free: 146.9 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/8.732, allocations: 0 / 3.903 GB, free: 146.9 MB / 0.5418 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002257/8.734, allocations: 0.8291 MB / 3.904 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/8.734, allocations: 3.469 kB / 3.904 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/8.734, allocations: 11.06 kB / 3.904 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/8.734, allocations: 14.16 kB / 3.904 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/8.734, allocations: 122.6 kB / 3.904 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/8.734, allocations: 15.34 kB / 3.904 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/8.735, allocations: 57.02 kB / 3.904 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/8.735, allocations: 37.88 kB / 3.904 GB, free: 146.8 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state_h_is.phase,state.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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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 0.0001036/8.735, allocations: 131.4 kB / 3.905 GB, free: 146.7 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007795/8.736, allocations: 270.8 kB / 3.905 GB, free: 146.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/8.736, allocations: 243.9 kB / 3.905 GB, free: 146.6 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/8.736, allocations: 7.688 kB / 3.905 GB, free: 146.6 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/8.736, allocations: 0 / 3.905 GB, free: 146.6 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/8.736, allocations: 3.5 kB / 3.905 GB, free: 146.6 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/8.737, allocations: 0.5919 MB / 3.906 GB, free: 146.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/8.737, allocations: 3.719 kB / 3.906 GB, free: 146.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/8.737, allocations: 23.17 kB / 3.906 GB, free: 146.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/8.737, allocations: 0 / 3.906 GB, free: 146.2 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/8.737, allocations: 6.969 kB / 3.906 GB, free: 146.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/8.737, allocations: 7.531 kB / 3.906 GB, free: 146.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/8.737, allocations: 3.828 kB / 3.906 GB, free: 146.2 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009029/8.738, allocations: 0.5347 MB / 3.906 GB, free: 145.9 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/8.738, allocations: 179.4 kB / 3.906 GB, free: 145.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/8.738, allocations: 3.875 kB / 3.906 GB, free: 145.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/8.738, allocations: 12.27 kB / 3.906 GB, free: 145.8 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/8.738, allocations: 11.19 kB / 3.906 GB, free: 145.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/8.738, allocations: 7.078 kB / 3.906 GB, free: 145.8 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.0002397/8.738, allocations: 260.3 kB / 3.907 GB, free: 145.7 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0083/8.747, allocations: 1.572 MB / 3.908 GB, free: 145.7 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * 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.01446/8.761, allocations: 2.154 MB / 3.91 GB, free: 145.4 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.000537/8.762, allocations: 174.5 kB / 3.911 GB, free: 145.4 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/8.762, allocations: 1.641 kB / 3.911 GB, free: 145.4 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/8.762, allocations: 24.81 kB / 3.911 GB, free: 145.4 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/8.762, allocations: 27.56 kB / 3.911 GB, free: 145.4 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2241/8.987, allocations: 98.34 MB / 4.007 GB, free: 122.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/8.987, allocations: 0.838 MB / 4.007 GB, free: 121.3 MB / 0.5418 GB Notification: Performance of SimCode: time 1.283e-06/8.987, allocations: 0 / 4.007 GB, free: 121.3 MB / 0.5418 GB Notification: Performance of Templates: time 0.05414/9.041, allocations: 39.27 MB / 4.046 GB, free: 94.68 MB / 0.5418 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches