Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.0008154/0.0008154, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.0009941/0.0009941, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.914/0.914, allocations: 158.6 MB / 186 MB, free: 2.445 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.1302/0.1302, allocations: 32.37 MB / 270.7 MB, free: 14.58 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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.35e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.149/0.149, allocations: 13.83 MB / 312.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02403/0.173, allocations: 26.1 MB / 339 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.1733, allocations: 4 kB / 339 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1736, allocations: 99.28 kB / 339.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02452/0.1981, allocations: 8.701 MB / 347.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.1991, allocations: 366.8 kB / 348.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.2036, allocations: 2.06 MB / 350.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.2037, allocations: 18.55 kB / 350.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.2042, allocations: 307 kB / 350.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004264/0.2084, allocations: 3.278 MB / 353.9 MB, free: 7.309 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.2085, allocations: 8 kB / 353.9 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01605/0.2245, allocations: 11.09 MB / 365 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.039e-05/0.2246, allocations: 47.77 kB / 365 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2248, allocations: 107.8 kB / 365.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.2415, allocations: 8.52 MB / 373.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2415, allocations: 0 / 373.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2415, allocations: 0 / 373.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2415, allocations: 0 / 373.6 MB, free: 3.512 MB / 330.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.003964/0.2454, allocations: 1.577 MB / 375.2 MB, free: 1.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2455, allocations: 12.03 kB / 375.2 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.2464, allocations: 347.9 kB / 375.6 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.2467, allocations: 193.3 kB / 375.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2467, allocations: 21.03 kB / 375.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.2467, allocations: 36.38 kB / 375.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.2478, allocations: 0.7911 MB / 376.6 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2478, allocations: 3.938 kB / 376.6 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.2479, allocations: 16 kB / 376.6 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2479, allocations: 8 kB / 376.6 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009233/0.2488, allocations: 0.6278 MB / 377.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.2505, allocations: 1.942 MB / 379.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.2511, allocations: 322.1 kB / 379.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.2512, allocations: 48.77 kB / 379.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3546/0.6057, allocations: 118.2 MB / 497.7 MB, free: 84.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006672/0.6064, allocations: 443.2 kB / 498.1 MB, free: 84.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.983e-06/0.6064, allocations: 4 kB / 498.2 MB, free: 84.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001542/0.608, allocations: 0.8683 MB / 499 MB, free: 83.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.608, allocations: 374.8 kB / 499.4 MB, free: 83.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.6081, allocations: 194.9 kB / 499.6 MB, free: 83.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.6081, allocations: 33.52 kB / 499.6 MB, free: 83.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.6082, allocations: 189.9 kB / 499.8 MB, free: 82.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.6082, allocations: 121 kB / 499.9 MB, free: 82.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/0.6083, allocations: 109 kB / 0.4883 GB, free: 82.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.6084, allocations: 332.1 kB / 0.4886 GB, free: 82.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.6084, allocations: 63 kB / 0.4887 GB, free: 82.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.6086, allocations: 334.9 kB / 0.489 GB, free: 82.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.6088, allocations: 481.4 kB / 0.4895 GB, free: 81.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6088, allocations: 0.875 kB / 0.4895 GB, free: 81.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003526/0.6092, allocations: 369.2 kB / 0.4898 GB, free: 81.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6092, allocations: 8 kB / 0.4898 GB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6092, allocations: 8 kB / 0.4898 GB, free: 81.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6092, allocations: 12 kB / 0.4898 GB, free: 81.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.6095, allocations: 134.1 kB / 0.49 GB, free: 81.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001495/0.6096, allocations: 0.5998 MB / 0.4905 GB, free: 80.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.6098, allocations: 51.05 kB / 0.4906 GB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.6098, allocations: 36.78 kB / 0.4906 GB, free: 80.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state2.phase,state3.phase,state4.phase,state5.phase,medium.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): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.6099, allocations: 156.1 kB / 0.4908 GB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.61, allocations: 38.69 kB / 0.4908 GB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/0.6108, allocations: 1.423 MB / 0.4922 GB, free: 79.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6108, allocations: 20.42 kB / 0.4922 GB, free: 79.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.6108, allocations: 4 kB / 0.4922 GB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6108, allocations: 4 kB / 0.4922 GB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.6112, allocations: 0.5537 MB / 0.4928 GB, free: 78.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6112, allocations: 4 kB / 0.4928 GB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.6114, allocations: 66.59 kB / 0.4928 GB, free: 78.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.6115, allocations: 124.4 kB / 0.493 GB, free: 78.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.6115, allocations: 15.38 kB / 0.493 GB, free: 78.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001834/0.6117, allocations: 0.6047 MB / 0.4936 GB, free: 77.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6117, allocations: 4.609 kB / 0.4936 GB, free: 77.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.6121, allocations: 0.604 MB / 0.4942 GB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.6121, allocations: 59.45 kB / 0.4942 GB, free: 77.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.6122, allocations: 91.08 kB / 0.4943 GB, free: 77.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.6123, allocations: 19.92 kB / 0.4943 GB, free: 77.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.6124, allocations: 31.64 kB / 0.4944 GB, free: 77.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6124, allocations: 11.31 kB / 0.4944 GB, free: 77.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.6125, allocations: 316.6 kB / 0.4947 GB, free: 76.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6125, allocations: 0 / 0.4947 GB, free: 76.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00322/0.6158, allocations: 1.625 MB / 0.4963 GB, free: 75.22 MB / 410.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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005043/0.6208, allocations: 2.214 MB / 0.4984 GB, free: 73.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.6213, allocations: 320.1 kB / 0.4987 GB, free: 72.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/0.6213, allocations: 12.06 kB / 0.4987 GB, free: 72.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.6215, allocations: 169 kB / 0.4989 GB, free: 72.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.6219, allocations: 197.3 kB / 0.4991 GB, free: 72.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5622/1.184, allocations: 346 MB / 0.837 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/1.184, allocations: 176.2 kB / 0.8372 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004741/1.185, allocations: 0.4928 MB / 0.8377 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/1.185, allocations: 151.3 kB / 0.8378 GB, free: 102.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/1.185, allocations: 0 / 0.8378 GB, free: 102.7 MB / 442.7 MB Notification: Performance of Templates: time 0.06406/1.249, allocations: 67.47 MB / 0.9037 GB, free: 35.45 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.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: 6.549596064258367]