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.001554/0.001554, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001435/0.001435, allocations: 214.7 kB / 24.48 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.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2356/0.2356, allocations: 46.96 MB / 361.6 MB, free: 4.117 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+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.002009/0.002009, allocations: 63.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 66.04 MB / 0.5619 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01727/0.3659, allocations: 12.7 MB / 0.5743 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03166/0.3975, allocations: 23.37 MB / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.3978, allocations: 0 / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.3982, allocations: 87.42 kB / 0.5972 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02469/0.4229, allocations: 8.515 MB / 0.6055 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.4239, allocations: 350.8 kB / 0.6058 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003983/0.4279, allocations: 2.01 MB / 0.6078 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.566e-05/0.428, allocations: 16.53 kB / 0.6078 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.4285, allocations: 262.9 kB / 0.6081 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005926/0.4344, allocations: 3.274 MB / 0.6113 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.4345, allocations: 12 kB / 0.6113 GB, free: 1.336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/0.4546, allocations: 10.76 MB / 0.6218 GB, free: 6.562 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.4548, allocations: 55.73 kB / 0.6218 GB, free: 6.508 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.455, allocations: 127.5 kB / 0.6219 GB, free: 6.383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.4703, allocations: 6.322 MB / 0.6281 GB, free: 48 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4703, allocations: 4 kB / 0.6281 GB, free: 44 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4703, allocations: 0 / 0.6281 GB, free: 44 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.4703, allocations: 0 / 0.6281 GB, free: 44 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.004802/0.4751, allocations: 1.533 MB / 0.6296 GB, free: 14.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.4751, allocations: 8.031 kB / 0.6296 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.4768, allocations: 228.5 kB / 0.6298 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.4772, allocations: 210.1 kB / 0.63 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.4773, allocations: 25.03 kB / 0.6301 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.4773, allocations: 32.12 kB / 0.6301 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.4798, allocations: 0.8793 MB / 0.631 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4798, allocations: 0 / 0.631 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.4798, allocations: 12 kB / 0.631 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4799, allocations: 8 kB / 0.631 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.4824, allocations: 0.9312 MB / 0.6319 GB, free: 12.07 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.003174/0.4856, allocations: 1.956 MB / 0.6338 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.487, allocations: 378.2 kB / 0.6342 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.4872, allocations: 72.81 kB / 0.6342 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8937/1.381, allocations: 161 MB / 0.7915 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/1.382, allocations: 466 kB / 0.7919 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.176e-06/1.382, allocations: 0 / 0.7919 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003/1.385, allocations: 0.7848 MB / 0.7927 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/1.385, allocations: 367.8 kB / 0.7931 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/1.386, allocations: 197.7 kB / 0.7932 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/1.386, allocations: 29.7 kB / 0.7933 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/1.386, allocations: 198 kB / 0.7935 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/1.386, allocations: 118.3 kB / 0.7936 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.386, allocations: 126.1 kB / 0.7937 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.775e-05/1.386, allocations: 330.8 kB / 0.794 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.386, allocations: 84.94 kB / 0.7941 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/1.386, allocations: 336.1 kB / 0.7944 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/1.387, allocations: 483 kB / 0.7949 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.387, allocations: 4 kB / 0.7949 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008518/1.388, allocations: 480 kB / 0.7953 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.388, allocations: 10.81 kB / 0.7953 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.388, allocations: 12 kB / 0.7954 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/1.388, allocations: 12.78 kB / 0.7954 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/1.388, allocations: 139.8 kB / 0.7955 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.388, allocations: 19.94 kB / 0.7955 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/1.389, allocations: 53.36 kB / 0.7956 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/1.389, allocations: 43.98 kB / 0.7956 GB, free: 116.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.0001461/1.389, allocations: 168.3 kB / 0.7958 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.389, allocations: 27.86 kB / 0.7958 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/1.391, allocations: 2.744 MB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.391, allocations: 15.98 kB / 0.7985 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/1.391, allocations: 4 kB / 0.7985 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/1.391, allocations: 12.3 kB / 0.7985 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007864/1.392, allocations: 0.8539 MB / 0.7993 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.392, allocations: 0 / 0.7993 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/1.392, allocations: 75.88 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/1.392, allocations: 4 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/1.392, allocations: 15.98 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/1.392, allocations: 4.562 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.392, allocations: 7.938 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/1.393, allocations: 0.7282 MB / 0.8002 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/1.393, allocations: 52.5 kB / 0.8002 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/1.393, allocations: 105.3 kB / 0.8003 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/1.394, allocations: 19.17 kB / 0.8003 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/1.394, allocations: 31.89 kB / 0.8004 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/1.394, allocations: 23.83 kB / 0.8004 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000502/1.394, allocations: 0.5039 MB / 0.8009 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.394, allocations: 0 / 0.8009 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004239/1.398, allocations: 1.532 MB / 0.8024 GB, free: 109.2 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.007168/1.406, allocations: 1.735 MB / 0.8041 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007737/1.406, allocations: 420.5 kB / 0.8045 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.406, allocations: 4 kB / 0.8045 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/1.407, allocations: 235 kB / 0.8047 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/1.408, allocations: 137.9 kB / 0.8048 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.3/2.707, allocations: 0.6026 GB / 1.407 GB, free: 60.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/2.708, allocations: 392.3 kB / 1.408 GB, free: 60.51 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006593/2.708, allocations: 0.528 MB / 1.408 GB, free: 59.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/2.708, allocations: 51.41 kB / 1.408 GB, free: 59.94 MB / 0.6387 GB Notification: Performance of SimCode: time 1.653e-06/2.708, allocations: 0 / 1.408 GB, free: 59.94 MB / 0.6387 GB Notification: Performance of Templates: time 0.05483/2.763, allocations: 57.1 MB / 1.464 GB, free: 2.984 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 -s cvode -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: 11.70784562100016]