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.001866/0.001866, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001592/0.001592, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.563/1.563, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.247/0.247, allocations: 46.93 MB / 360.8 MB, free: 4.289 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.002153/0.002153, allocations: 71.88 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4281, allocations: 66.03 MB / 0.5612 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01885/0.447, allocations: 14.05 MB / 0.5749 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03813/0.4851, allocations: 26.76 MB / 0.601 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.4855, allocations: 0 / 0.601 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.486, allocations: 107.4 kB / 0.6011 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03105/0.5171, allocations: 8.554 MB / 0.6095 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.5181, allocations: 354.4 kB / 0.6098 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004735/0.5228, allocations: 2.017 MB / 0.6118 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.5229, allocations: 8.594 kB / 0.6118 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.5235, allocations: 282.8 kB / 0.6121 GB, free: 280 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007348/0.5309, allocations: 3.277 MB / 0.6153 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.531, allocations: 12 kB / 0.6153 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02445/0.5554, allocations: 10.86 MB / 0.6259 GB, free: 2.051 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.5555, allocations: 51.77 kB / 0.6259 GB, free: 2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.5558, allocations: 143.4 kB / 0.6261 GB, free: 1.859 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01972/0.5755, allocations: 6.341 MB / 0.6323 GB, free: 11.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.5755, allocations: 0 / 0.6323 GB, free: 11.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5755, allocations: 0 / 0.6323 GB, free: 11.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.5756, allocations: 0 / 0.6323 GB, free: 11.5 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.006623/0.5822, allocations: 1.535 MB / 0.6338 GB, free: 9.934 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5822, allocations: 8.031 kB / 0.6338 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.5841, allocations: 224.4 kB / 0.634 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.5847, allocations: 218.1 kB / 0.6342 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.5847, allocations: 21.03 kB / 0.6342 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.5848, allocations: 40.12 kB / 0.6343 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/0.5874, allocations: 0.8213 MB / 0.6351 GB, free: 8.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5874, allocations: 7.938 kB / 0.6351 GB, free: 8.535 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.5875, allocations: 12 kB / 0.6351 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.5875, allocations: 8 kB / 0.6351 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.5902, allocations: 0.9313 MB / 0.636 GB, free: 7.586 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.004005/0.5942, allocations: 2.308 MB / 0.6382 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.5957, allocations: 377 kB / 0.6386 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.5959, allocations: 64.83 kB / 0.6387 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006/1.602, allocations: 160.4 MB / 0.7953 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/1.603, allocations: 475.5 kB / 0.7958 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/1.603, allocations: 1.359 kB / 0.7958 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003343/1.606, allocations: 0.7826 MB / 0.7965 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.606, allocations: 379.7 kB / 0.7969 GB, free: 115 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/1.607, allocations: 176.6 kB / 0.7971 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/1.607, allocations: 33.7 kB / 0.7971 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.607, allocations: 189.7 kB / 0.7973 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.607, allocations: 118.5 kB / 0.7974 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/1.607, allocations: 122.1 kB / 0.7975 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.607, allocations: 338.4 kB / 0.7978 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/1.607, allocations: 84.94 kB / 0.7979 GB, free: 114 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/1.608, allocations: 340.6 kB / 0.7982 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/1.608, allocations: 484.1 kB / 0.7987 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.608, allocations: 10.23 kB / 0.7987 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001028/1.61, allocations: 465.6 kB / 0.7991 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.61, allocations: 11.94 kB / 0.7992 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.61, allocations: 12 kB / 0.7992 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/1.61, allocations: 15.84 kB / 0.7992 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/1.61, allocations: 139.8 kB / 0.7993 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/1.61, allocations: 15.94 kB / 0.7993 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/1.61, allocations: 52.8 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/1.61, allocations: 43.98 kB / 0.7994 GB, free: 112.2 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.0002062/1.611, allocations: 168.8 kB / 0.7996 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/1.611, allocations: 27.86 kB / 0.7996 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/1.613, allocations: 2.747 MB / 0.8023 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/1.613, allocations: 19.97 kB / 0.8023 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.613, allocations: 6.812 kB / 0.8023 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.613, allocations: 4 kB / 0.8023 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/1.614, allocations: 0.9361 MB / 0.8032 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/1.614, allocations: 8 kB / 0.8032 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/1.614, allocations: 79.8 kB / 0.8033 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/1.614, allocations: 8 kB / 0.8033 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/1.615, allocations: 8 kB / 0.8033 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/1.615, allocations: 4.875 kB / 0.8033 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.615, allocations: 4 kB / 0.8033 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/1.615, allocations: 0.7282 MB / 0.8041 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.616, allocations: 46.73 kB / 0.8041 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/1.616, allocations: 111 kB / 0.8042 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/1.616, allocations: 19.98 kB / 0.8042 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/1.616, allocations: 39.83 kB / 0.8043 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/1.616, allocations: 14.56 kB / 0.8043 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005254/1.617, allocations: 0.5001 MB / 0.8048 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/1.617, allocations: 0 / 0.8048 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00526/1.622, allocations: 1.524 MB / 0.8063 GB, free: 105.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.009105/1.631, allocations: 1.75 MB / 0.808 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009425/1.632, allocations: 419.6 kB / 0.8084 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.632, allocations: 0 / 0.8084 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/1.632, allocations: 234.1 kB / 0.8086 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.633, allocations: 136.2 kB / 0.8087 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.462/3.095, allocations: 0.6026 GB / 1.411 GB, free: 57.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/3.096, allocations: 0.9817 MB / 1.412 GB, free: 56.92 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006606/3.096, allocations: 0.5209 MB / 1.413 GB, free: 56.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/3.097, allocations: 59.41 kB / 1.413 GB, free: 56.36 MB / 0.6387 GB Notification: Performance of SimCode: time 1.133e-06/3.097, allocations: 2.516 kB / 1.413 GB, free: 56.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.3328/3.429, allocations: 56.27 MB / 1.468 GB, free: 240.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/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: 12.684436662122607]