Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 211.4 kB / 25.13 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.4 MB / 258.7 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2401/0.2401, allocations: 46.93 MB / 362 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 79.86 kB / 0.4978 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3286, allocations: 66.08 MB / 0.5624 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0182/0.3468, allocations: 13.91 MB / 0.576 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03339/0.3801, allocations: 26.53 MB / 0.6019 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.3804, allocations: 4 kB / 0.6019 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.3808, allocations: 99.39 kB / 0.602 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02414/0.405, allocations: 8.552 MB / 0.6103 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.406, allocations: 349.1 kB / 0.6106 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005604/0.4116, allocations: 2.021 MB / 0.6126 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.4117, allocations: 16.53 kB / 0.6126 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.4124, allocations: 282.8 kB / 0.6129 GB, free: 352 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007563/0.42, allocations: 3.277 MB / 0.6161 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.4201, allocations: 12 kB / 0.6161 GB, free: 13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02127/0.4413, allocations: 10.75 MB / 0.6266 GB, free: 2.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.4415, allocations: 51.77 kB / 0.6267 GB, free: 2.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.4417, allocations: 135.4 kB / 0.6268 GB, free: 2.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.4591, allocations: 6.333 MB / 0.633 GB, free: 11.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.4591, allocations: 0 / 0.633 GB, free: 11.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4591, allocations: 4 kB / 0.633 GB, free: 11.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.4591, allocations: 0 / 0.633 GB, free: 11.7 MB / 478.1 MB 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.005728/0.4648, allocations: 1.525 MB / 0.6345 GB, free: 10.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4649, allocations: 12.03 kB / 0.6345 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.4666, allocations: 224.5 kB / 0.6347 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.4669, allocations: 222.1 kB / 0.6349 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.467, allocations: 21.03 kB / 0.6349 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.467, allocations: 36.12 kB / 0.635 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.4695, allocations: 0.8676 MB / 0.6358 GB, free: 8.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4695, allocations: 4 kB / 0.6358 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.4696, allocations: 16 kB / 0.6358 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.4696, allocations: 8 kB / 0.6358 GB, free: 8.652 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.4721, allocations: 0.9351 MB / 0.6368 GB, free: 7.719 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/0.4754, allocations: 2.3 MB / 0.639 GB, free: 5.273 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.4769, allocations: 376.7 kB / 0.6394 GB, free: 4.898 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.4771, allocations: 68.83 kB / 0.6394 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.812/1.289, allocations: 160.4 MB / 0.796 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/1.29, allocations: 478.4 kB / 0.7965 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/1.29, allocations: 4 kB / 0.7965 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002837/1.293, allocations: 0.7803 MB / 0.7973 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/1.293, allocations: 380 kB / 0.7976 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/1.293, allocations: 180.5 kB / 0.7978 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/1.294, allocations: 29.7 kB / 0.7978 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/1.294, allocations: 195.8 kB / 0.798 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/1.294, allocations: 119.1 kB / 0.7981 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.294, allocations: 126.1 kB / 0.7982 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/1.294, allocations: 338.4 kB / 0.7986 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/1.294, allocations: 80.94 kB / 0.7986 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/1.294, allocations: 340.1 kB / 0.799 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/1.295, allocations: 478.6 kB / 0.7994 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.295, allocations: 4 kB / 0.7994 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008037/1.296, allocations: 475.7 kB / 0.7999 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.296, allocations: 8 kB / 0.7999 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.296, allocations: 12 kB / 0.7999 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.296, allocations: 12 kB / 0.7999 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/1.296, allocations: 139.8 kB / 0.8 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.296, allocations: 15.94 kB / 0.8001 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/1.296, allocations: 53.34 kB / 0.8001 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/1.296, allocations: 47.98 kB / 0.8002 GB, free: 112.1 MB / 0.5606 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,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.297, allocations: 164.5 kB / 0.8003 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/1.297, allocations: 31.84 kB / 0.8003 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/1.299, allocations: 2.75 MB / 0.803 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.299, allocations: 20.34 kB / 0.803 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.299, allocations: 11 kB / 0.8031 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.299, allocations: 4 kB / 0.8031 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/1.299, allocations: 0.9353 MB / 0.804 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.299, allocations: 6.812 kB / 0.804 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.3, allocations: 75.86 kB / 0.8041 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.3, allocations: 8 kB / 0.8041 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/1.3, allocations: 8 kB / 0.8041 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.3, allocations: 4 kB / 0.8041 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.3, allocations: 7.938 kB / 0.8041 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/1.3, allocations: 0.7282 MB / 0.8048 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.3, allocations: 46.88 kB / 0.8048 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.301, allocations: 111 kB / 0.8049 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/1.301, allocations: 19.98 kB / 0.805 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/1.301, allocations: 35.89 kB / 0.805 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/1.301, allocations: 12 kB / 0.805 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004595/1.301, allocations: 0.5001 MB / 0.8055 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/1.301, allocations: 0 / 0.8055 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003532/1.305, allocations: 1.528 MB / 0.807 GB, free: 105.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005224/1.31, allocations: 1.753 MB / 0.8087 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007786/1.311, allocations: 414.8 kB / 0.8091 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.311, allocations: 1.75 kB / 0.8091 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/1.311, allocations: 233.2 kB / 0.8093 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/1.312, allocations: 123.7 kB / 0.8094 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.281/2.592, allocations: 0.6026 GB / 1.412 GB, free: 57.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/2.593, allocations: 0.9895 MB / 1.413 GB, free: 56.15 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005896/2.593, allocations: 0.5217 MB / 1.414 GB, free: 55.65 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/2.593, allocations: 67.33 kB / 1.414 GB, free: 55.58 MB / 0.6387 GB Notification: Performance of SimCode: time 8.71e-07/2.593, allocations: 0 / 1.414 GB, free: 55.58 MB / 0.6387 GB Notification: Performance of Templates: time 0.3477/2.941, allocations: 56.25 MB / 1.469 GB, free: 241.5 MB / 0.6387 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.425350908190012]