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.001679/0.001679, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001686/0.001686, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.645 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.3053/0.3053, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.823e-06/1.823e-06, allocations: 0 / 376.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.677e-05, allocations: 2.312 kB / 376.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01853/0.01856, allocations: 13.96 MB / 390 MB, free: 6.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02175/0.04031, allocations: 26.19 MB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.04049, allocations: 3.938 kB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.04082, allocations: 95.36 kB / 416.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01904/0.05986, allocations: 8.678 MB / 425 MB, free: 3.508 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.06061, allocations: 362.7 kB / 425.3 MB, free: 3.152 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003255/0.06387, allocations: 2.052 MB / 427.4 MB, free: 1.074 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.06392, allocations: 20.58 kB / 427.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.06438, allocations: 322.8 kB / 427.7 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.06828, allocations: 3.274 MB / 431 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.06833, allocations: 12 kB / 431 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01625/0.08458, allocations: 10.37 MB / 441.4 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.08468, allocations: 55.69 kB / 441.4 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.08486, allocations: 107.8 kB / 441.5 MB, free: 2.863 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.206/0.2908, allocations: 7.98 MB / 449.5 MB, free: 63.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2908, allocations: 0 / 449.5 MB, free: 63.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2908, allocations: 0 / 449.5 MB, free: 63.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2909, allocations: 0 / 449.5 MB, free: 63.87 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.004946/0.2958, allocations: 1.618 MB / 451.1 MB, free: 63.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2958, allocations: 8.562 kB / 451.2 MB, free: 63.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.297, allocations: 350.3 kB / 451.5 MB, free: 62.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.2973, allocations: 220.2 kB / 451.7 MB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2973, allocations: 23.44 kB / 451.7 MB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.2973, allocations: 30.66 kB / 451.8 MB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.2988, allocations: 0.9562 MB / 452.7 MB, free: 62.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2988, allocations: 4.094 kB / 452.7 MB, free: 62.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2988, allocations: 20.56 kB / 452.7 MB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.2988, allocations: 9.875 kB / 452.8 MB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.3001, allocations: 0.8276 MB / 453.6 MB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.302, allocations: 2.485 MB / 456.1 MB, free: 60.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007751/0.3027, allocations: 419.1 kB / 456.5 MB, free: 60.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.3028, allocations: 65.28 kB / 456.5 MB, free: 60.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2984/0.6012, allocations: 161.8 MB / 0.6039 GB, free: 3.285 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.6022, allocations: 0.5286 MB / 0.6044 GB, free: 2.691 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.316e-06/0.6022, allocations: 0 / 0.6044 GB, free: 2.691 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.002007/0.6042, allocations: 0.8522 MB / 0.6052 GB, free: 1.859 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.6043, allocations: 387 kB / 0.6056 GB, free: 1.402 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.6045, allocations: 252.7 kB / 0.6058 GB, free: 1.141 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.6045, allocations: 37.7 kB / 0.6058 GB, free: 1.098 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.6046, allocations: 234.5 kB / 0.6061 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.6047, allocations: 120.4 kB / 0.6062 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.6048, allocations: 131.8 kB / 0.6063 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6049, allocations: 0.5079 MB / 0.6068 GB, free: 100 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.6051, allocations: 95.3 kB / 0.6069 GB, free: 8 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1975/0.8025, allocations: 469.8 kB / 0.6073 GB, free: 132 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.8033, allocations: 0.6105 MB / 0.6079 GB, free: 131.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.8033, allocations: 0.7812 kB / 0.6079 GB, free: 131.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001029/0.8043, allocations: 0.5173 MB / 0.6084 GB, free: 131.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.8043, allocations: 11.09 kB / 0.6085 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.8043, allocations: 11.5 kB / 0.6085 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.352e-05/0.8044, allocations: 12.06 kB / 0.6085 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.8048, allocations: 145.1 kB / 0.6086 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.8049, allocations: 18.14 kB / 0.6086 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.8051, allocations: 50.81 kB / 0.6087 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.8052, allocations: 44.52 kB / 0.6087 GB, free: 131.5 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.0002087/0.8054, allocations: 205 kB / 0.6089 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.8055, allocations: 40.36 kB / 0.609 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.807, allocations: 1.51 MB / 0.6104 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.807, allocations: 18.95 kB / 0.6105 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.807, allocations: 2.906 kB / 0.6105 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.807, allocations: 10.53 kB / 0.6105 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.8078, allocations: 0.747 MB / 0.6112 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8078, allocations: 4.188 kB / 0.6112 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.808, allocations: 68.89 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.8081, allocations: 4.656 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.8081, allocations: 13.66 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-06/0.8081, allocations: 14.52 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.8081, allocations: 5.062 kB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.8088, allocations: 0.6299 MB / 0.6119 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.8088, allocations: 46.55 kB / 0.612 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.809, allocations: 114 kB / 0.6121 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.8092, allocations: 20.42 kB / 0.6121 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.8093, allocations: 28.8 kB / 0.6121 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.8093, allocations: 16.41 kB / 0.6121 GB, free: 130.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004629/0.8097, allocations: 0.5243 MB / 0.6126 GB, free: 130.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8097, allocations: 0 / 0.6126 GB, free: 130.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005089/0.8148, allocations: 1.529 MB / 0.6141 GB, free: 130.3 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.008548/0.8234, allocations: 1.959 MB / 0.6161 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008597/0.8242, allocations: 355.6 kB / 0.6164 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.8242, allocations: 0 / 0.6164 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.8244, allocations: 175.1 kB / 0.6166 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.8253, allocations: 232.3 kB / 0.6168 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9959/1.821, allocations: 0.6089 GB / 1.226 GB, free: 94.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.015e-05/1.821, allocations: 175.8 kB / 1.226 GB, free: 94.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004832/1.822, allocations: 0.5287 MB / 1.226 GB, free: 93.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/1.822, allocations: 56.47 kB / 1.226 GB, free: 93.58 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/1.822, allocations: 0 / 1.226 GB, free: 93.58 MB / 474.7 MB Notification: Performance of Templates: time 0.0493/1.871, allocations: 68.1 MB / 1.293 GB, free: 25.76 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: 9.07389990799129]