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.005903/0.005903, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 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.001429/0.001429, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.474/1.474, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2282/0.2282, allocations: 46.93 MB / 362.3 MB, free: 4.207 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.002302/0.002302, allocations: 79.86 kB / 0.4983 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3693, allocations: 66.08 MB / 0.5628 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01869/0.3879, allocations: 14.05 MB / 0.5765 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03434/0.4223, allocations: 26.77 MB / 0.6026 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.4226, allocations: 4 kB / 0.6026 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.423, allocations: 99.38 kB / 0.6027 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02534/0.4484, allocations: 8.556 MB / 0.6111 GB, free: 2.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.4494, allocations: 345.2 kB / 0.6114 GB, free: 2.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00436/0.4537, allocations: 2.017 MB / 0.6134 GB, free: 248 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.4538, allocations: 20.52 kB / 0.6134 GB, free: 224 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.4545, allocations: 286.8 kB / 0.6137 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006518/0.461, allocations: 3.274 MB / 0.6169 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.461, allocations: 12 kB / 0.6169 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02368/0.4847, allocations: 10.86 MB / 0.6275 GB, free: 1.723 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.4849, allocations: 51.75 kB / 0.6275 GB, free: 1.672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.4851, allocations: 143.3 kB / 0.6277 GB, free: 1.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.5042, allocations: 6.337 MB / 0.6339 GB, free: 11.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5042, allocations: 4 kB / 0.6339 GB, free: 11.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5042, allocations: 0 / 0.6339 GB, free: 11.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.5042, allocations: 0 / 0.6339 GB, free: 11.18 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.005482/0.5097, allocations: 1.525 MB / 0.6354 GB, free: 9.613 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.5097, allocations: 11.97 kB / 0.6354 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.5115, allocations: 232.5 kB / 0.6356 GB, free: 9.375 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.5119, allocations: 210.1 kB / 0.6358 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.5119, allocations: 29.03 kB / 0.6358 GB, free: 9.117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.512, allocations: 36.12 kB / 0.6359 GB, free: 9.082 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.5145, allocations: 0.8174 MB / 0.6367 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.5145, allocations: 3.938 kB / 0.6367 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.5146, allocations: 16 kB / 0.6367 GB, free: 8.199 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5146, allocations: 12 kB / 0.6367 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.5171, allocations: 0.9391 MB / 0.6376 GB, free: 7.25 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.003516/0.5207, allocations: 2.3 MB / 0.6399 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.5222, allocations: 373.2 kB / 0.6402 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.5223, allocations: 76.78 kB / 0.6403 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8145/1.337, allocations: 160.4 MB / 0.7969 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/1.338, allocations: 472.4 kB / 0.7974 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.953e-06/1.338, allocations: 0 / 0.7974 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002777/1.341, allocations: 0.7845 MB / 0.7981 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/1.341, allocations: 375.7 kB / 0.7985 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/1.341, allocations: 180.9 kB / 0.7987 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/1.341, allocations: 41.69 kB / 0.7987 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/1.341, allocations: 187 kB / 0.7989 GB, free: 114 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/1.341, allocations: 119.2 kB / 0.799 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.341, allocations: 126 kB / 0.7991 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/1.342, allocations: 330.4 kB / 0.7994 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/1.342, allocations: 84.94 kB / 0.7995 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/1.342, allocations: 340.6 kB / 0.7998 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/1.342, allocations: 482.6 kB / 0.8003 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.342, allocations: 8 kB / 0.8003 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007507/1.343, allocations: 463.3 kB / 0.8007 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.343, allocations: 8 kB / 0.8008 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.343, allocations: 15.94 kB / 0.8008 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.343, allocations: 19.84 kB / 0.8008 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/1.344, allocations: 139.8 kB / 0.8009 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.344, allocations: 19.92 kB / 0.8009 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/1.344, allocations: 48.95 kB / 0.801 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/1.344, allocations: 43.98 kB / 0.801 GB, free: 111.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.0001321/1.344, allocations: 169.6 kB / 0.8012 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/1.344, allocations: 27.86 kB / 0.8012 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/1.346, allocations: 2.756 MB / 0.8039 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.346, allocations: 15.98 kB / 0.8039 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.346, allocations: 4 kB / 0.8039 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.346, allocations: 10.98 kB / 0.8039 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000696/1.347, allocations: 0.9286 MB / 0.8048 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.347, allocations: 4 kB / 0.8048 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/1.347, allocations: 75.86 kB / 0.8049 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.347, allocations: 12.34 kB / 0.8049 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/1.347, allocations: 8 kB / 0.8049 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/1.347, allocations: 7.984 kB / 0.8049 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.347, allocations: 4.078 kB / 0.805 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/1.348, allocations: 0.7204 MB / 0.8057 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/1.348, allocations: 62.67 kB / 0.8057 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.348, allocations: 106.2 kB / 0.8058 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/1.349, allocations: 19.97 kB / 0.8058 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/1.349, allocations: 31.89 kB / 0.8059 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/1.349, allocations: 16 kB / 0.8059 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004556/1.349, allocations: 0.504 MB / 0.8064 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.349, allocations: 0 / 0.8064 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003657/1.353, allocations: 1.532 MB / 0.8079 GB, free: 104.5 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.00613/1.359, allocations: 1.74 MB / 0.8096 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008048/1.36, allocations: 416.4 kB / 0.81 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.36, allocations: 4.125 kB / 0.81 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/1.36, allocations: 228.7 kB / 0.8102 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/1.361, allocations: 139.3 kB / 0.8103 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.386/2.746, allocations: 0.6027 GB / 1.413 GB, free: 56.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/2.747, allocations: 0.9817 MB / 1.414 GB, free: 55.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/2.747, allocations: 59.41 kB / 1.414 GB, free: 55.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.683e-06/2.747, allocations: 4 kB / 1.414 GB, free: 55.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.04007/2.787, allocations: 33.03 MB / 1.446 GB, free: 22.57 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 -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: 12.933792853960767]