Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001078/0.001078, allocations: 75.75 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001148/0.001148, allocations: 161.5 kB / 24.99 MB, free: 9.281 MB / 18.57 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2732/0.2732, allocations: 32.81 MB / 294.6 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 4.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.367e-05, allocations: 9.125 kB / 376 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02971/0.02974, allocations: 13.96 MB / 390 MB, free: 6.898 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02819/0.05792, allocations: 26.13 MB / 416.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.05808, allocations: 4 kB / 416.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.05841, allocations: 87.38 kB / 416.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01602/0.07443, allocations: 8.62 MB / 424.8 MB, free: 3.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.07504, allocations: 342.7 kB / 425.2 MB, free: 3.594 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.0777, allocations: 2.029 MB / 427.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.07774, allocations: 20.58 kB / 427.2 MB, free: 1.523 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.07814, allocations: 310.8 kB / 427.5 MB, free: 1.219 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/0.08211, allocations: 3.273 MB / 430.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.08215, allocations: 8 kB / 430.8 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01568/0.09783, allocations: 10.35 MB / 441.2 MB, free: 3.523 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.09789, allocations: 55.69 kB / 441.2 MB, free: 3.469 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.098, allocations: 111.8 kB / 441.3 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1824/0.2804, allocations: 7.981 MB / 449.3 MB, free: 64.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2804, allocations: 0 / 449.3 MB, free: 64.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2804, allocations: 0 / 449.3 MB, free: 64.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2805, allocations: 0 / 449.3 MB, free: 64.3 MB / 410.7 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.003619/0.2841, allocations: 1.619 MB / 450.9 MB, free: 63.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.2841, allocations: 8.625 kB / 450.9 MB, free: 63.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.2854, allocations: 343.7 kB / 451.3 MB, free: 63.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2856, allocations: 220.2 kB / 451.5 MB, free: 63.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2856, allocations: 27.75 kB / 451.5 MB, free: 63.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.2857, allocations: 31.38 kB / 451.5 MB, free: 63.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2871, allocations: 0.9522 MB / 452.5 MB, free: 62.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2871, allocations: 3.25 kB / 452.5 MB, free: 62.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.2871, allocations: 18.25 kB / 452.5 MB, free: 62.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2871, allocations: 9.719 kB / 452.5 MB, free: 62.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.2884, allocations: 0.8355 MB / 453.4 MB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.29, allocations: 2.493 MB / 455.9 MB, free: 61.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/0.2908, allocations: 411.1 kB / 456.3 MB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.2909, allocations: 73 kB / 456.3 MB, free: 61.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2916/0.5826, allocations: 161.8 MB / 0.6036 GB, free: 3.875 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.5836, allocations: 0.5154 MB / 0.6042 GB, free: 3.293 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.5836, allocations: 0 / 0.6042 GB, free: 3.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.002168/0.5858, allocations: 0.8613 MB / 0.605 GB, free: 2.457 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.5859, allocations: 383.4 kB / 0.6054 GB, free: 2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.5862, allocations: 249.4 kB / 0.6056 GB, free: 1.742 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.5862, allocations: 37.7 kB / 0.6056 GB, free: 1.699 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5863, allocations: 239.3 kB / 0.6059 GB, free: 1.465 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.5864, allocations: 124 kB / 0.606 GB, free: 1.348 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.5866, allocations: 131.8 kB / 0.6061 GB, free: 1.211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5867, allocations: 0.504 MB / 0.6066 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5869, allocations: 92.89 kB / 0.6067 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1924/0.7793, allocations: 481 kB / 0.6071 GB, free: 169 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.78, allocations: 0.6078 MB / 0.6077 GB, free: 168.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.78, allocations: 3.062 kB / 0.6077 GB, free: 168.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007503/0.7807, allocations: 0.5143 MB / 0.6082 GB, free: 168.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.7808, allocations: 12.69 kB / 0.6083 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.7808, allocations: 15.41 kB / 0.6083 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.7808, allocations: 13.38 kB / 0.6083 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.7811, allocations: 142.3 kB / 0.6084 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.7811, allocations: 19.53 kB / 0.6084 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.7813, allocations: 49.89 kB / 0.6085 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.7814, allocations: 45.17 kB / 0.6085 GB, free: 168.4 MB / 474.7 MB 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.0001679/0.7816, allocations: 193.1 kB / 0.6087 GB, free: 168.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.7817, allocations: 47.42 kB / 0.6088 GB, free: 168.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.7828, allocations: 1.504 MB / 0.6102 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.7829, allocations: 19.25 kB / 0.6102 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7829, allocations: 2.812 kB / 0.6102 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.7829, allocations: 9.453 kB / 0.6103 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.7835, allocations: 0.7491 MB / 0.611 GB, free: 167.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7835, allocations: 3.156 kB / 0.611 GB, free: 167.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.7837, allocations: 73.14 kB / 0.6111 GB, free: 167.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.7837, allocations: 6.312 kB / 0.6111 GB, free: 167.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.7837, allocations: 13.53 kB / 0.6111 GB, free: 167.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7837, allocations: 4.203 kB / 0.6111 GB, free: 167.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7837, allocations: 6.484 kB / 0.6111 GB, free: 167.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.7843, allocations: 0.6273 MB / 0.6117 GB, free: 167.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.7843, allocations: 52.33 kB / 0.6118 GB, free: 167.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.54e-05/0.7844, allocations: 112.1 kB / 0.6119 GB, free: 167.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7846, allocations: 13.78 kB / 0.6119 GB, free: 167.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.7846, allocations: 37.92 kB / 0.6119 GB, free: 167.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.7846, allocations: 14.05 kB / 0.6119 GB, free: 167.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003795/0.785, allocations: 0.5196 MB / 0.6124 GB, free: 167 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.785, allocations: 0 / 0.6124 GB, free: 167 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004317/0.7893, allocations: 1.531 MB / 0.6139 GB, free: 166.9 MB / 474.7 MB 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.004454/0.7938, allocations: 1.967 MB / 0.6158 GB, free: 166.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.7943, allocations: 354.2 kB / 0.6162 GB, free: 166.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7943, allocations: 3.25 kB / 0.6162 GB, free: 166.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.7944, allocations: 180.1 kB / 0.6164 GB, free: 166.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.795, allocations: 235.5 kB / 0.6166 GB, free: 166.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9291/1.724, allocations: 0.6025 GB / 1.219 GB, free: 147.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.438e-05/1.724, allocations: 169.2 kB / 1.219 GB, free: 147.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004629/1.725, allocations: 0.5186 MB / 1.22 GB, free: 147 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/1.725, allocations: 61.31 kB / 1.22 GB, free: 147 MB / 474.7 MB Notification: Performance of SimCode: time 1.803e-06/1.725, allocations: 1.969 kB / 1.22 GB, free: 147 MB / 474.7 MB Notification: Performance of Templates: time 0.04155/1.766, allocations: 57.32 MB / 1.276 GB, free: 91.38 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.473349887877703]