Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001235/0.001235, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001673/0.001673, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.879/0.879, allocations: 158.6 MB / 185.7 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1253/0.1253, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.876e-05, allocations: 6.25 kB / 347.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01356/0.01359, allocations: 13.86 MB / 361.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02202/0.03561, allocations: 26.18 MB / 387.8 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.03579, allocations: 4 kB / 387.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.03622, allocations: 87.42 kB / 387.9 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02098/0.0572, allocations: 8.646 MB / 396.5 MB, free: 8.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000867/0.05806, allocations: 366.7 kB / 396.9 MB, free: 8.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003268/0.06133, allocations: 2.048 MB / 398.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.0614, allocations: 16.59 kB / 398.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.06188, allocations: 318.9 kB / 399.2 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004086/0.06597, allocations: 3.274 MB / 402.5 MB, free: 2.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.06601, allocations: 12 kB / 402.5 MB, free: 2.328 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.08234, allocations: 10.33 MB / 412.9 MB, free: 7.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.08244, allocations: 59.75 kB / 412.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.0826, allocations: 99.77 kB / 413 MB, free: 7.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.09713, allocations: 7.967 MB / 421 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.09713, allocations: 0 / 421 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.09713, allocations: 0 / 421 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.09714, allocations: 0 / 421 MB, free: 15.84 MB / 362.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.003216/0.1004, allocations: 1.621 MB / 422.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.1004, allocations: 8.031 kB / 422.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.1015, allocations: 331.9 kB / 422.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1018, allocations: 224.1 kB / 423.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.1018, allocations: 25.03 kB / 423.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.1018, allocations: 36.36 kB / 423.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.1034, allocations: 0.9564 MB / 424.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1035, allocations: 7.938 kB / 424.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.1035, allocations: 16 kB / 424.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.1035, allocations: 8 kB / 424.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.1048, allocations: 0.8309 MB / 425 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.1068, allocations: 2.488 MB / 427.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007935/0.1076, allocations: 417.6 kB / 427.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1077, allocations: 67.64 kB / 428 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4715/0.5792, allocations: 159.4 MB / 0.5736 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.5802, allocations: 0.5186 MB / 0.5741 GB, free: 8.922 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.876e-06/0.5802, allocations: 0 / 0.5741 GB, free: 8.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.001974/0.5822, allocations: 0.8652 MB / 0.575 GB, free: 8.176 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.5824, allocations: 377.8 kB / 0.5753 GB, free: 7.727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.5826, allocations: 257.2 kB / 0.5756 GB, free: 7.461 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.5826, allocations: 29.7 kB / 0.5756 GB, free: 7.426 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.5827, allocations: 238.9 kB / 0.5758 GB, free: 7.188 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.5828, allocations: 121.9 kB / 0.576 GB, free: 7.074 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.583, allocations: 135.8 kB / 0.5761 GB, free: 6.934 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5831, allocations: 0.4962 MB / 0.5766 GB, free: 6.426 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.5833, allocations: 92.89 kB / 0.5767 GB, free: 6.336 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.5837, allocations: 492.1 kB / 0.5771 GB, free: 5.691 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.5842, allocations: 0.606 MB / 0.5777 GB, free: 4.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.5843, allocations: 4 kB / 0.5777 GB, free: 4.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000722/0.585, allocations: 0.5163 MB / 0.5782 GB, free: 4.492 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.585, allocations: 10.5 kB / 0.5782 GB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.585, allocations: 15.94 kB / 0.5783 GB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/0.5851, allocations: 12 kB / 0.5783 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.5854, allocations: 138.5 kB / 0.5784 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.5854, allocations: 19.55 kB / 0.5784 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.5856, allocations: 49.88 kB / 0.5785 GB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.5856, allocations: 47.97 kB / 0.5785 GB, free: 4.223 MB / 442.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.0001836/0.5858, allocations: 202.7 kB / 0.5787 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-05/0.5859, allocations: 31.91 kB / 0.5787 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.5872, allocations: 1.513 MB / 0.5802 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.5872, allocations: 19.97 kB / 0.5802 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5872, allocations: 4 kB / 0.5802 GB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.5873, allocations: 4 kB / 0.5802 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007772/0.588, allocations: 0.7496 MB / 0.581 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.588, allocations: 4 kB / 0.581 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.5882, allocations: 68.16 kB / 0.581 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.5882, allocations: 8 kB / 0.581 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.5883, allocations: 15.98 kB / 0.5811 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.5883, allocations: 14.53 kB / 0.5811 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5883, allocations: 4 kB / 0.5811 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.589, allocations: 0.6279 MB / 0.5817 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/0.5891, allocations: 50.58 kB / 0.5817 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5892, allocations: 103 kB / 0.5818 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.5893, allocations: 19.92 kB / 0.5819 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.5894, allocations: 38.95 kB / 0.5819 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.5894, allocations: 12 kB / 0.5819 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004918/0.5899, allocations: 0.5195 MB / 0.5824 GB, free: 160 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5899, allocations: 0 / 0.5824 GB, free: 160 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.005186/0.5951, allocations: 1.524 MB / 0.5839 GB, free: 14.63 MB / 458.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.009233/0.6043, allocations: 1.95 MB / 0.5858 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000873/0.6052, allocations: 353.3 kB / 0.5861 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.6052, allocations: 0 / 0.5861 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.6054, allocations: 175.2 kB / 0.5863 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/0.6062, allocations: 232.1 kB / 0.5865 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.115/1.721, allocations: 0.6065 GB / 1.193 GB, free: 122.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.336e-05/1.721, allocations: 171.8 kB / 1.193 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004903/1.722, allocations: 0.5211 MB / 1.194 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.722, allocations: 62.22 kB / 1.194 GB, free: 121.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.534e-06/1.722, allocations: 0 / 1.194 GB, free: 121.3 MB / 458.7 MB Notification: Performance of Templates: time 0.04261/1.765, allocations: 57.15 MB / 1.25 GB, free: 64.38 MB / 458.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.108888064976782]