Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.001978/0.001978, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002024/0.002024, allocations: 162.4 kB / 25.03 MB, free: 8.434 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 1.505/1.505, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.243e-05, allocations: 6.109 kB / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04818/0.04821, allocations: 33.3 MB / 283.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.07236, allocations: 15.61 MB / 299.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.07277, allocations: 4 kB / 299.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.07373, allocations: 246.4 kB / 299.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008865/0.07462, allocations: 373.5 kB / 299.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01678/0.09141, allocations: 5.782 MB / 305.7 MB, free: 276 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.09297, allocations: 1.016 MB / 306.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.09318, allocations: 81.17 kB / 306.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006404/0.09958, allocations: 2.337 MB / 309.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/0.1001, allocations: 275.2 kB / 309.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.1002, allocations: 43.94 kB / 309.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/0.1138, allocations: 5.845 MB / 315.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.1141, allocations: 119.6 kB / 315.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004855/0.1146, allocations: 175.7 kB / 315.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.1275, allocations: 4.786 MB / 320.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.1275, allocations: 0 / 320.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1275, allocations: 0 / 320.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1275, allocations: 0 / 320.4 MB, free: 1.551 MB / 298.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.003425/0.131, allocations: 1.062 MB / 321.5 MB, free: 460 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.131, allocations: 11.98 kB / 321.5 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.1324, allocations: 219.8 kB / 321.7 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007112/0.1332, allocations: 272 kB / 321.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.1332, allocations: 25.03 kB / 322 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.1333, allocations: 36.38 kB / 322 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.1348, allocations: 0.7616 MB / 322.8 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1348, allocations: 4.188 kB / 322.8 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.1349, allocations: 15.94 kB / 322.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.1349, allocations: 8 kB / 322.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.1356, allocations: 322.2 kB / 323.1 MB, free: 14.66 MB / 314.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.003283/0.1388, allocations: 2.217 MB / 325.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.1395, allocations: 275.2 kB / 325.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1398, allocations: 119.6 kB / 325.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0668/0.2066, allocations: 16.83 MB / 342.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.688e-05/0.2066, allocations: 45.39 kB / 342.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 5.821e-06/0.2066, allocations: 7.984 kB / 342.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.004126/0.2108, allocations: 1.051 MB / 343.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.2108, allocations: 63.39 kB / 343.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.2113, allocations: 317.5 kB / 344 MB, free: 9.547 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.2113, allocations: 29.7 kB / 344 MB, free: 9.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.2116, allocations: 255 kB / 344.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.2117, allocations: 123 kB / 344.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.2119, allocations: 95.84 kB / 344.5 MB, free: 9.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003643/0.2122, allocations: 0.5235 MB / 345 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.2124, allocations: 92.91 kB / 345.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.2128, allocations: 271.6 kB / 345.4 MB, free: 8.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.2135, allocations: 390.4 kB / 345.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2135, allocations: 0 / 345.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009953/0.2145, allocations: 444.8 kB / 346.2 MB, free: 7.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.2145, allocations: 8 kB / 346.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2146, allocations: 4 kB / 346.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.215, allocations: 63.34 kB / 346.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.2154, allocations: 87.84 kB / 346.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.2188, allocations: 3.503 MB / 349.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.219, allocations: 8 kB / 349.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.2191, allocations: 20 kB / 349.9 MB, free: 3.285 MB / 330.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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: 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003604/0.2194, allocations: 212.4 kB / 350.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.2196, allocations: 43.8 kB / 350.1 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.221, allocations: 0.6153 MB / 350.8 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.221, allocations: 15.98 kB / 350.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.221, allocations: 0 / 350.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.222, allocations: 0.7834 MB / 351.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.2241, allocations: 1.103 MB / 352.7 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2242, allocations: 0 / 352.7 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.2244, allocations: 47.97 kB / 352.7 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.2248, allocations: 67.58 kB / 352.8 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.2248, allocations: 7.938 kB / 352.8 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1908/0.4157, allocations: 0.8257 MB / 353.6 MB, free: 108.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4157, allocations: 0 / 353.6 MB, free: 108.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.4171, allocations: 0.7096 MB / 354.3 MB, free: 107.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.4172, allocations: 33.55 kB / 354.4 MB, free: 107.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.4172, allocations: 15.45 kB / 354.4 MB, free: 107.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.4175, allocations: 14.19 kB / 354.4 MB, free: 107.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4176, allocations: 22.41 kB / 354.4 MB, free: 107.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.4176, allocations: 16.59 kB / 354.4 MB, free: 107.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.4178, allocations: 256.7 kB / 354.7 MB, free: 107.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4178, allocations: 1.25 kB / 354.7 MB, free: 107.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002557/0.4204, allocations: 0.863 MB / 355.5 MB, free: 107.8 MB / 330.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: 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 (32): * Single equations (assignments): 29 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003416/0.4238, allocations: 1.088 MB / 356.6 MB, free: 107.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.4248, allocations: 0.4948 MB / 357.1 MB, free: 107.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4248, allocations: 0 / 357.1 MB, free: 107.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.4251, allocations: 191.6 kB / 357.3 MB, free: 107.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.4261, allocations: 173.7 kB / 357.5 MB, free: 107.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4273, allocations: 0.8722 MB / 358.3 MB, free: 107.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.4274, allocations: 214.9 kB / 358.6 MB, free: 107.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.4277, allocations: 180.5 kB / 358.7 MB, free: 107.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.4278, allocations: 36.2 kB / 358.8 MB, free: 107.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.4278, allocations: 0 / 358.8 MB, free: 107.1 MB / 330.7 MB Notification: Performance of Templates: time 0.03672/0.4645, allocations: 35.08 MB / 393.8 MB, free: 72.53 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.848249806906097]