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_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.0009701/0.0009701, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001031/0.001031, allocations: 171.8 kB / 25.33 MB, free: 9.047 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.9578/0.9578, allocations: 158.6 MB / 187.2 MB, free: 2.449 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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 3.938 kB / 251.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.621e-05, allocations: 2.312 kB / 251.1 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.01207/0.01208, allocations: 14.69 MB / 265.8 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009994/0.02208, allocations: 11.26 MB / 277 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.02226, allocations: 15.94 kB / 277.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.0227, allocations: 127.1 kB / 277.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.02325, allocations: 381.5 kB / 277.6 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.03354, allocations: 5.333 MB / 282.9 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009678/0.03451, allocations: 1.04 MB / 283.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.03467, allocations: 81.2 kB / 284 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.03764, allocations: 2.299 MB / 286.3 MB, free: 160 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.03796, allocations: 287.2 kB / 286.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.03801, allocations: 40 kB / 286.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006931/0.04495, allocations: 5.74 MB / 292.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.04506, allocations: 115.6 kB / 292.5 MB, free: 9.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.04522, allocations: 175.7 kB / 292.7 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005727/0.05095, allocations: 4.424 MB / 297.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.05095, allocations: 0 / 297.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.05095, allocations: 4 kB / 297.1 MB, free: 5.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.05096, allocations: 0 / 297.1 MB, free: 5.367 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.001964/0.05293, allocations: 1.027 MB / 298.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.05297, allocations: 11.98 kB / 298.1 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007249/0.0537, allocations: 215.9 kB / 298.3 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.05401, allocations: 268 kB / 298.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.05405, allocations: 33.03 kB / 298.6 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.0541, allocations: 36.31 kB / 298.7 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.05495, allocations: 0.6985 MB / 299.4 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.05497, allocations: 4.141 kB / 299.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.055, allocations: 23.94 kB / 299.4 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.05501, allocations: 8 kB / 299.4 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/0.05561, allocations: 371.3 kB / 299.8 MB, free: 2.539 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.00171/0.05731, allocations: 2.137 MB / 301.9 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1213/0.1786, allocations: 373.4 kB / 302.3 MB, free: 34.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.1788, allocations: 89.47 kB / 302.3 MB, free: 34.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.1792, allocations: 189.9 kB / 302.5 MB, free: 34.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1792, allocations: 38.98 kB / 302.6 MB, free: 34.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.1792, allocations: 0 / 302.6 MB, free: 34.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002367/0.1816, allocations: 1.131 MB / 303.7 MB, free: 33.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.1816, allocations: 58.25 kB / 303.8 MB, free: 33.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1818, allocations: 262.4 kB / 304 MB, free: 33.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1819, allocations: 31.92 kB / 304 MB, free: 33.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.1819, allocations: 234.4 kB / 304.3 MB, free: 33.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.182, allocations: 123.6 kB / 304.4 MB, free: 33.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.1821, allocations: 87.08 kB / 304.5 MB, free: 33.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.1822, allocations: 0.511 MB / 305 MB, free: 32.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1823, allocations: 85.75 kB / 305.1 MB, free: 32.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1825, allocations: 228.2 kB / 305.3 MB, free: 32.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.1828, allocations: 323.9 kB / 305.6 MB, free: 32.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1828, allocations: 1.219 kB / 305.6 MB, free: 32.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005215/0.1833, allocations: 430.9 kB / 306 MB, free: 32.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1833, allocations: 8.672 kB / 306 MB, free: 32.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1833, allocations: 2.312 kB / 306 MB, free: 32.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.1835, allocations: 103.1 kB / 306.1 MB, free: 32.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.1837, allocations: 82.77 kB / 306.2 MB, free: 32.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008925/0.1846, allocations: 3.348 MB / 309.6 MB, free: 29.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1847, allocations: 15.97 kB / 309.6 MB, free: 29.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1848, allocations: 18.34 kB / 309.6 MB, free: 29.06 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.1849, allocations: 186.4 kB / 309.8 MB, free: 28.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.1849, allocations: 40.44 kB / 309.8 MB, free: 28.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008592/0.1858, allocations: 0.8872 MB / 310.7 MB, free: 28.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.1858, allocations: 17.09 kB / 310.7 MB, free: 28.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1858, allocations: 1.844 kB / 310.7 MB, free: 28.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006156/0.1864, allocations: 0.9449 MB / 311.7 MB, free: 28.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1875, allocations: 1.348 MB / 313 MB, free: 27.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1876, allocations: 0.875 kB / 313 MB, free: 27.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1877, allocations: 77.98 kB / 313.1 MB, free: 27.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/0.1879, allocations: 52.56 kB / 313.2 MB, free: 27.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1879, allocations: 10.86 kB / 313.2 MB, free: 27.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001323/0.188, allocations: 0.7985 MB / 314 MB, free: 27.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.1881, allocations: 7.812 kB / 314 MB, free: 27.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007406/0.1888, allocations: 0.8335 MB / 314.8 MB, free: 26.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.1888, allocations: 48.48 kB / 314.9 MB, free: 26.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1889, allocations: 20.36 kB / 314.9 MB, free: 26.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.189, allocations: 14.06 kB / 314.9 MB, free: 26.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.189, allocations: 40.31 kB / 314.9 MB, free: 26.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1891, allocations: 16.59 kB / 314.9 MB, free: 26.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1892, allocations: 230.3 kB / 315.2 MB, free: 26.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1892, allocations: 0 / 315.2 MB, free: 26.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001997/0.1912, allocations: 0.8653 MB / 316 MB, free: 26.61 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00211/0.1933, allocations: 1.071 MB / 317.1 MB, free: 26.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005189/0.1938, allocations: 0.504 MB / 317.6 MB, free: 26.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1938, allocations: 0 / 317.6 MB, free: 26.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.1941, allocations: 233.5 kB / 317.8 MB, free: 26.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.1946, allocations: 179.3 kB / 318 MB, free: 26.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.1959, allocations: 1.101 MB / 319.1 MB, free: 25.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.085e-05/0.196, allocations: 142.8 kB / 319.3 MB, free: 25.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.1962, allocations: 132.8 kB / 319.4 MB, free: 25.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.1962, allocations: 40.89 kB / 319.4 MB, free: 25.67 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1962, allocations: 0 / 319.4 MB, free: 25.67 MB / 282.7 MB Notification: Performance of Templates: time 0.03184/0.2281, allocations: 41.34 MB / 360.8 MB, free: 8.852 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_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: 5.1762905372306705]