Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 209 kB / 24.47 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 46.96 MB / 361.6 MB, free: 4.121 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.89 kB / 0.4974 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 66.04 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01871/0.3578, allocations: 12.71 MB / 0.5743 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03272/0.3905, allocations: 23.36 MB / 0.5971 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.3908, allocations: 7.938 kB / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.3912, allocations: 87.48 kB / 0.5972 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02378/0.4149, allocations: 8.5 MB / 0.6055 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.4159, allocations: 354.2 kB / 0.6058 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004213/0.4202, allocations: 2.006 MB / 0.6078 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.814e-05/0.4202, allocations: 16.53 kB / 0.6078 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.4208, allocations: 270.8 kB / 0.6081 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006559/0.4273, allocations: 3.27 MB / 0.6113 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.4274, allocations: 12 kB / 0.6113 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02037/0.4478, allocations: 10.32 MB / 0.6213 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4479, allocations: 51.75 kB / 0.6214 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.4481, allocations: 119.5 kB / 0.6215 GB, free: 6.844 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.464, allocations: 6.337 MB / 0.6277 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.464, allocations: 0 / 0.6277 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.464, allocations: 4 kB / 0.6277 GB, free: 500 kB / 462.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.464, allocations: 0 / 0.6277 GB, free: 500 kB / 462.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.004817/0.4688, allocations: 1.513 MB / 0.6292 GB, free: 14.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.4689, allocations: 16.03 kB / 0.6292 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.4707, allocations: 220.5 kB / 0.6294 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.4712, allocations: 222.1 kB / 0.6296 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.4712, allocations: 25.03 kB / 0.6296 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.4713, allocations: 32.12 kB / 0.6297 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.4737, allocations: 0.8714 MB / 0.6305 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4737, allocations: 4 kB / 0.6305 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.4738, allocations: 27.92 kB / 0.6306 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4738, allocations: 8 kB / 0.6306 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.4763, allocations: 0.9195 MB / 0.6315 GB, free: 12.52 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.003299/0.4796, allocations: 1.964 MB / 0.6334 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.4811, allocations: 366.2 kB / 0.6337 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4812, allocations: 68.81 kB / 0.6338 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8749/1.356, allocations: 161 MB / 0.7911 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/1.358, allocations: 472.8 kB / 0.7915 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.375e-06/1.358, allocations: 0 / 0.7915 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002828/1.36, allocations: 0.7752 MB / 0.7923 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.36, allocations: 380 kB / 0.7926 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/1.361, allocations: 190.7 kB / 0.7928 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/1.361, allocations: 33.69 kB / 0.7928 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/1.361, allocations: 191.8 kB / 0.793 GB, free: 119 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/1.361, allocations: 119.8 kB / 0.7931 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.361, allocations: 126.1 kB / 0.7933 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/1.361, allocations: 326.8 kB / 0.7936 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.361, allocations: 84.94 kB / 0.7937 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/1.361, allocations: 340 kB / 0.794 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/1.362, allocations: 486 kB / 0.7944 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.362, allocations: 4 kB / 0.7945 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007611/1.363, allocations: 473.8 kB / 0.7949 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.363, allocations: 8.188 kB / 0.7949 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.363, allocations: 12 kB / 0.7949 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.363, allocations: 12 kB / 0.7949 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/1.363, allocations: 151 kB / 0.7951 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.363, allocations: 19.92 kB / 0.7951 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/1.364, allocations: 48.95 kB / 0.7951 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/1.364, allocations: 43.98 kB / 0.7952 GB, free: 116.6 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.0001357/1.364, allocations: 162.4 kB / 0.7953 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/1.364, allocations: 27.86 kB / 0.7954 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/1.366, allocations: 2.842 MB / 0.7981 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/1.366, allocations: 15.98 kB / 0.7982 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.366, allocations: 7.938 kB / 0.7982 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.366, allocations: 7.984 kB / 0.7982 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/1.367, allocations: 0.8418 MB / 0.799 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.367, allocations: 4 kB / 0.799 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/1.367, allocations: 67.88 kB / 0.7991 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/1.367, allocations: 8 kB / 0.7991 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/1.367, allocations: 11.98 kB / 0.7991 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.367, allocations: 7.938 kB / 0.7991 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.367, allocations: 8 kB / 0.7991 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/1.368, allocations: 0.7243 MB / 0.7998 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/1.368, allocations: 55.52 kB / 0.7999 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.368, allocations: 107.9 kB / 0.8 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/1.368, allocations: 15.98 kB / 0.8 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/1.368, allocations: 35.83 kB / 0.8 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/1.368, allocations: 19.98 kB / 0.8 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004976/1.369, allocations: 0.504 MB / 0.8005 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.369, allocations: 7.75 kB / 0.8005 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003918/1.373, allocations: 1.524 MB / 0.802 GB, free: 109.6 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.00691/1.38, allocations: 1.744 MB / 0.8037 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008323/1.38, allocations: 424.5 kB / 0.8041 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.38, allocations: 256 / 0.8041 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/1.381, allocations: 236.6 kB / 0.8044 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/1.382, allocations: 129.1 kB / 0.8045 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.38/2.761, allocations: 0.6026 GB / 1.407 GB, free: 61.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/2.762, allocations: 392.3 kB / 1.407 GB, free: 60.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/2.762, allocations: 63.41 kB / 1.408 GB, free: 60.71 MB / 0.6387 GB Notification: Performance of SimCode: time 1.272e-06/2.762, allocations: 0 / 1.408 GB, free: 60.71 MB / 0.6387 GB Notification: Performance of Templates: time 0.03936/2.801, allocations: 33.37 MB / 1.44 GB, free: 27.37 MB / 0.6387 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 13.221215254161507]