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.001572/0.001572, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001987/0.001987, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.596/1.596, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2407/0.2407, allocations: 46.96 MB / 360.9 MB, free: 4 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.002151/0.002151, allocations: 71.89 kB / 0.4966 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3927, allocations: 66.04 MB / 0.5611 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01824/0.4109, allocations: 12.72 MB / 0.5736 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03365/0.4446, allocations: 23.36 MB / 0.5964 GB, free: 44 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.4448, allocations: 7.938 kB / 0.5964 GB, free: 36 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.4453, allocations: 87.48 kB / 0.5965 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0267/0.472, allocations: 8.502 MB / 0.6048 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.473, allocations: 350.7 kB / 0.6051 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004153/0.4772, allocations: 2.006 MB / 0.6071 GB, free: 5.078 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.4773, allocations: 16.58 kB / 0.6071 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005361/0.4778, allocations: 274.7 kB / 0.6073 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006382/0.4842, allocations: 3.266 MB / 0.6105 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.4842, allocations: 8 kB / 0.6105 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02401/0.5083, allocations: 10.33 MB / 0.6206 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.5084, allocations: 55.69 kB / 0.6207 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.5087, allocations: 119.5 kB / 0.6208 GB, free: 6.941 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01852/0.5272, allocations: 6.329 MB / 0.627 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5272, allocations: 0 / 0.627 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5272, allocations: 0 / 0.627 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.5272, allocations: 0 / 0.627 GB, free: 0.5977 MB / 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.005119/0.5324, allocations: 1.533 MB / 0.6285 GB, free: 15.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5324, allocations: 12.03 kB / 0.6285 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.5342, allocations: 216.5 kB / 0.6287 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.5347, allocations: 222.1 kB / 0.6289 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.5347, allocations: 21.03 kB / 0.6289 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.5348, allocations: 36.12 kB / 0.6289 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.5373, allocations: 0.8715 MB / 0.6298 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5373, allocations: 0 / 0.6298 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.5373, allocations: 15.94 kB / 0.6298 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.5373, allocations: 12 kB / 0.6298 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.5399, allocations: 0.9195 MB / 0.6307 GB, free: 12.63 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.003336/0.5432, allocations: 1.964 MB / 0.6326 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.5446, allocations: 366.2 kB / 0.633 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.5448, allocations: 68.83 kB / 0.6331 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9606/1.505, allocations: 161.1 MB / 0.7903 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/1.507, allocations: 473 kB / 0.7908 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.495e-06/1.507, allocations: 0 / 0.7908 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002717/1.51, allocations: 0.7776 MB / 0.7915 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/1.51, allocations: 375.8 kB / 0.7919 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/1.51, allocations: 188.1 kB / 0.7921 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/1.51, allocations: 33.7 kB / 0.7921 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/1.51, allocations: 193.8 kB / 0.7923 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/1.51, allocations: 118.9 kB / 0.7924 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/1.51, allocations: 126.1 kB / 0.7925 GB, free: 119 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/1.51, allocations: 330.8 kB / 0.7929 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/1.51, allocations: 76.94 kB / 0.7929 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/1.511, allocations: 348.6 kB / 0.7933 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/1.511, allocations: 484.2 kB / 0.7937 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.511, allocations: 0 / 0.7937 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007581/1.512, allocations: 472.9 kB / 0.7942 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.512, allocations: 12.03 kB / 0.7942 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.512, allocations: 8 kB / 0.7942 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.512, allocations: 15.84 kB / 0.7942 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/1.512, allocations: 139.8 kB / 0.7943 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.512, allocations: 19.94 kB / 0.7944 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/1.513, allocations: 57.02 kB / 0.7944 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/1.513, allocations: 43.98 kB / 0.7945 GB, free: 116.8 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.0001405/1.513, allocations: 162.3 kB / 0.7946 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/1.513, allocations: 27.86 kB / 0.7946 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/1.515, allocations: 2.836 MB / 0.7974 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.515, allocations: 19.97 kB / 0.7974 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.515, allocations: 4 kB / 0.7974 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.515, allocations: 7.984 kB / 0.7974 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/1.516, allocations: 0.8468 MB / 0.7983 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.516, allocations: 4 kB / 0.7983 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/1.516, allocations: 71.88 kB / 0.7983 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/1.516, allocations: 4 kB / 0.7983 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/1.516, allocations: 16.86 kB / 0.7984 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.516, allocations: 4 kB / 0.7984 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.516, allocations: 15.91 kB / 0.7984 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/1.517, allocations: 0.7243 MB / 0.7991 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/1.517, allocations: 51.52 kB / 0.7991 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.517, allocations: 107 kB / 0.7992 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/1.517, allocations: 18.67 kB / 0.7992 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/1.517, allocations: 35.83 kB / 0.7993 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/1.517, allocations: 19.98 kB / 0.7993 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004995/1.518, allocations: 0.504 MB / 0.7998 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.518, allocations: 0 / 0.7998 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005827/1.524, allocations: 1.528 MB / 0.8013 GB, free: 109.8 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.006668/1.53, allocations: 1.739 MB / 0.803 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008713/1.531, allocations: 412.7 kB / 0.8034 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.531, allocations: 4.125 kB / 0.8034 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/1.532, allocations: 228.7 kB / 0.8036 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/1.532, allocations: 140.6 kB / 0.8037 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.359/2.891, allocations: 0.6026 GB / 1.406 GB, free: 61.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/2.891, allocations: 396.3 kB / 1.407 GB, free: 60.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000624/2.892, allocations: 0.5225 MB / 1.407 GB, free: 60.47 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/2.892, allocations: 55.41 kB / 1.407 GB, free: 60.41 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/2.892, allocations: 0 / 1.407 GB, free: 60.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.05472/2.947, allocations: 56.87 MB / 1.463 GB, free: 3.691 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.124299908056855]