Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.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.001532/0.001532, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001427/0.001427, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.9349/0.9349, allocations: 158.6 MB / 187.2 MB, free: 2.551 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.135e-05, allocations: 6.25 kB / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.01383/0.01386, allocations: 14.68 MB / 265.8 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02431, allocations: 11.26 MB / 277 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.02458, allocations: 7.938 kB / 277.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.02504, allocations: 139.1 kB / 277.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006578/0.0257, allocations: 377.6 kB / 277.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.03641, allocations: 5.325 MB / 282.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.03754, allocations: 1.036 MB / 283.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.03775, allocations: 73.22 kB / 284 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.04121, allocations: 2.287 MB / 286.3 MB, free: 204 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.04156, allocations: 267.2 kB / 286.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.04161, allocations: 43.94 kB / 286.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.04622, allocations: 3.449 MB / 290 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.04634, allocations: 107.6 kB / 290.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.04649, allocations: 167.7 kB / 290.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.04945, allocations: 2.647 MB / 292.9 MB, free: 9.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.04945, allocations: 4 kB / 292.9 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.04945, allocations: 0 / 292.9 MB, free: 9.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.04946, allocations: 0 / 292.9 MB, free: 9.516 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001078/0.05054, allocations: 0.8338 MB / 293.8 MB, free: 8.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.05058, allocations: 15.92 kB / 293.8 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.05106, allocations: 167.9 kB / 294 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.05137, allocations: 248 kB / 294.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.05139, allocations: 25.03 kB / 294.2 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.05144, allocations: 40.38 kB / 294.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.052, allocations: 0.5488 MB / 294.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.05201, allocations: 192 / 294.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.05204, allocations: 23.94 kB / 294.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.05205, allocations: 8 kB / 294.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.05237, allocations: 231.5 kB / 295.1 MB, free: 7.23 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.05418, allocations: 2.435 MB / 297.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.05451, allocations: 195 kB / 297.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.0546, allocations: 67.66 kB / 297.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1305/0.1851, allocations: 8.37 MB / 306.1 MB, free: 35.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.1852, allocations: 35.77 kB / 306.2 MB, free: 35.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.845e-06/0.1852, allocations: 0.9375 kB / 306.2 MB, free: 35.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.002673/0.1879, allocations: 1.024 MB / 307.2 MB, free: 35.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.1879, allocations: 58.03 kB / 307.3 MB, free: 35.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1881, allocations: 287.4 kB / 307.5 MB, free: 35.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1881, allocations: 30.98 kB / 307.6 MB, free: 35.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.1882, allocations: 248.7 kB / 307.8 MB, free: 35.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.1882, allocations: 115 kB / 307.9 MB, free: 35.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.1883, allocations: 84.83 kB / 308 MB, free: 35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.1884, allocations: 0.5046 MB / 308.5 MB, free: 34.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.1885, allocations: 66.25 kB / 308.6 MB, free: 34.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1886, allocations: 229.6 kB / 308.8 MB, free: 34.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.1889, allocations: 317.1 kB / 309.1 MB, free: 34.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1889, allocations: 1.094 kB / 309.1 MB, free: 34.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004527/0.1894, allocations: 368.1 kB / 309.5 MB, free: 34.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1894, allocations: 9.688 kB / 309.5 MB, free: 34.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1894, allocations: 6.078 kB / 309.5 MB, free: 34.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.1909, allocations: 254.2 kB / 309.7 MB, free: 34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.1911, allocations: 89.11 kB / 309.8 MB, free: 33.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008766/0.1919, allocations: 2.551 MB / 312.4 MB, free: 31.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.192, allocations: 20.72 kB / 312.4 MB, free: 31.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1921, allocations: 19.72 kB / 312.4 MB, free: 31.45 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.1922, allocations: 183.6 kB / 312.6 MB, free: 31.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.1922, allocations: 35.89 kB / 312.6 MB, free: 31.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000628/0.1929, allocations: 0.6009 MB / 313.2 MB, free: 31.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.1929, allocations: 10.7 kB / 313.2 MB, free: 31.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1929, allocations: 0.875 kB / 313.2 MB, free: 31.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004464/0.1933, allocations: 0.7702 MB / 314 MB, free: 30.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/0.1942, allocations: 1.043 MB / 315 MB, free: 30.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1942, allocations: 0 / 315 MB, free: 30.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1943, allocations: 51.73 kB / 315.1 MB, free: 30.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/0.1951, allocations: 248 kB / 315.3 MB, free: 30.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.1951, allocations: 17.38 kB / 315.4 MB, free: 30.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002307/0.1954, allocations: 0.8218 MB / 316.2 MB, free: 29.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1954, allocations: 0 / 316.2 MB, free: 29.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.1959, allocations: 0.6503 MB / 316.8 MB, free: 29.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1959, allocations: 40.25 kB / 316.9 MB, free: 29.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1959, allocations: 10.73 kB / 316.9 MB, free: 29.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.196, allocations: 11.28 kB / 316.9 MB, free: 29.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.196, allocations: 20.23 kB / 316.9 MB, free: 29.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1961, allocations: 16.47 kB / 316.9 MB, free: 29.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1962, allocations: 224.1 kB / 317.1 MB, free: 29.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1962, allocations: 0 / 317.1 MB, free: 29.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001087/0.1972, allocations: 0.4943 MB / 317.6 MB, free: 29.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/0.1986, allocations: 0.5698 MB / 318.2 MB, free: 29.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.1992, allocations: 466.8 kB / 318.7 MB, free: 28.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1992, allocations: 0 / 318.7 MB, free: 28.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1993, allocations: 191.1 kB / 318.9 MB, free: 28.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1999, allocations: 165.9 kB / 319 MB, free: 28.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2011, allocations: 0.8631 MB / 319.9 MB, free: 28.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.2012, allocations: 119.7 kB / 320 MB, free: 28.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.2014, allocations: 103.9 kB / 320.1 MB, free: 28.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.2014, allocations: 34.69 kB / 320.1 MB, free: 28.28 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.2014, allocations: 0 / 320.1 MB, free: 28.28 MB / 282.7 MB Notification: Performance of Templates: time 0.01767/0.2191, allocations: 18.6 MB / 338.7 MB, free: 15.64 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/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: 3.465909296181053]