Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 154.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9206/0.9206, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1642/0.1642, allocations: 34.88 MB / 297.4 MB, free: 13.44 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.013e-05, allocations: 2.312 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01158/0.0116, allocations: 13.83 MB / 393.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02264/0.03424, allocations: 25.75 MB / 419.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.03447, allocations: 0 / 419.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.03493, allocations: 95.3 kB / 419.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02371/0.05864, allocations: 8.676 MB / 428.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.05953, allocations: 358.8 kB / 428.8 MB, free: 5.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00311/0.06264, allocations: 2.056 MB / 430.8 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.849e-05/0.0627, allocations: 16.59 kB / 430.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.0632, allocations: 330.8 kB / 431.2 MB, free: 3.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004326/0.06752, allocations: 3.274 MB / 434.4 MB, free: 68 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.06757, allocations: 12 kB / 434.4 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01647/0.08404, allocations: 10.36 MB / 444.8 MB, free: 5.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.08413, allocations: 51.75 kB / 444.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.08424, allocations: 103.8 kB / 444.9 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.09914, allocations: 7.982 MB / 452.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.09915, allocations: 0 / 452.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09915, allocations: 0 / 452.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.09915, allocations: 8 kB / 452.9 MB, free: 13.52 MB / 378.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.003955/0.1031, allocations: 1.617 MB / 454.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1032, allocations: 12.03 kB / 454.6 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.1042, allocations: 347.8 kB / 454.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1045, allocations: 212.2 kB / 455.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.1045, allocations: 25.03 kB / 455.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.1045, allocations: 32.38 kB / 455.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.1059, allocations: 0.9134 MB / 456.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.106, allocations: 3.938 kB / 456.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.106, allocations: 16 kB / 456.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.106, allocations: 12 kB / 456.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1072, allocations: 0.7583 MB / 456.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.1091, allocations: 2.438 MB / 459.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008924/0.11, allocations: 398.5 kB / 459.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.1101, allocations: 59.62 kB / 459.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4974/0.6076, allocations: 141.2 MB / 0.5869 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008996/0.6085, allocations: 0.5216 MB / 0.5874 GB, free: 3.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.6085, allocations: 0 / 0.5874 GB, free: 3.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001621/0.6101, allocations: 0.8311 MB / 0.5882 GB, free: 3.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.6102, allocations: 375.5 kB / 0.5886 GB, free: 2.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.6103, allocations: 267.5 kB / 0.5888 GB, free: 2.574 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.6103, allocations: 35.95 kB / 0.5889 GB, free: 2.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.6104, allocations: 229.8 kB / 0.5891 GB, free: 2.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.6104, allocations: 128.6 kB / 0.5892 GB, free: 2.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.6105, allocations: 133.7 kB / 0.5893 GB, free: 2.125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.6106, allocations: 0.5038 MB / 0.5898 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.6107, allocations: 88.33 kB / 0.5899 GB, free: 1.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.6109, allocations: 463.3 kB / 0.5904 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.6113, allocations: 0.6073 MB / 0.5909 GB, free: 272 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.6113, allocations: 4 kB / 0.591 GB, free: 268 kB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000565/0.6118, allocations: 490.9 kB / 0.5914 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6118, allocations: 16.03 kB / 0.5914 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6119, allocations: 11.52 kB / 0.5914 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6119, allocations: 15 kB / 0.5915 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.6121, allocations: 141.5 kB / 0.5916 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.6121, allocations: 15.84 kB / 0.5916 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.6123, allocations: 57.55 kB / 0.5917 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.6123, allocations: 44.47 kB / 0.5917 GB, free: 15.65 MB / 426.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,state2.phase,state3.phase,state4.phase,state5.phase,state_h_is.phase,state.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.000141/0.6125, allocations: 190.7 kB / 0.5919 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.6126, allocations: 39.28 kB / 0.5919 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.6137, allocations: 1.441 MB / 0.5933 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001928/0.6139, allocations: 19.22 kB / 0.5934 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6139, allocations: 4 kB / 0.5934 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.6139, allocations: 7.938 kB / 0.5934 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.6145, allocations: 0.6315 MB / 0.594 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.6145, allocations: 4 kB / 0.594 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.6146, allocations: 67.56 kB / 0.594 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6146, allocations: 4 kB / 0.5941 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.6147, allocations: 18.78 kB / 0.5941 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.6147, allocations: 7.375 kB / 0.5941 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6147, allocations: 8.094 kB / 0.5941 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.6152, allocations: 0.5927 MB / 0.5947 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.6153, allocations: 47.58 kB / 0.5947 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.6154, allocations: 108.3 kB / 0.5948 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.6155, allocations: 17.11 kB / 0.5948 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.6155, allocations: 35.39 kB / 0.5949 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.6156, allocations: 15.17 kB / 0.5949 GB, free: 12.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000348/0.6159, allocations: 0.4902 MB / 0.5954 GB, free: 12.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6159, allocations: 6.188 kB / 0.5954 GB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003876/0.6198, allocations: 1.537 MB / 0.5969 GB, free: 10.89 MB / 426.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.00456/0.6244, allocations: 1.994 MB / 0.5988 GB, free: 9.102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.6248, allocations: 330.6 kB / 0.5991 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6248, allocations: 4.125 kB / 0.5991 GB, free: 8.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.625, allocations: 162.2 kB / 0.5993 GB, free: 8.711 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.6255, allocations: 230.6 kB / 0.5995 GB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.3/1.925, allocations: 0.6089 GB / 1.208 GB, free: 141.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/1.925, allocations: 169.9 kB / 1.209 GB, free: 141.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005654/1.926, allocations: 0.5227 MB / 1.209 GB, free: 141.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/1.926, allocations: 199.5 kB / 1.209 GB, free: 141.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.194e-06/1.926, allocations: 0 / 1.209 GB, free: 141.8 MB / 474.7 MB Notification: Performance of Templates: time 0.05289/1.979, allocations: 66.49 MB / 1.274 GB, free: 80.34 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.855054453015327]