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.0008941/0.0008941, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.00112/0.00112, allocations: 168.6 kB / 25.7 MB, free: 8.438 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.9858/0.9858, allocations: 158.6 MB / 187.6 MB, free: 2.793 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 2.164e-06/2.164e-06, allocations: 0 / 251.6 MB, free: 7.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.034e-05, allocations: 6.25 kB / 251.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02222/0.02225, allocations: 14.7 MB / 266.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.03781, allocations: 11.23 MB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.03817, allocations: 4 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.03874, allocations: 135.1 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008665/0.03961, allocations: 381.5 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01596/0.05557, allocations: 4.849 MB / 282.9 MB, free: 7.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.05712, allocations: 1.04 MB / 284 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.05736, allocations: 85.2 kB / 284 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/0.06219, allocations: 2.298 MB / 286.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.06267, allocations: 267.2 kB / 286.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.06274, allocations: 40 kB / 286.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01294/0.07568, allocations: 6.157 MB / 292.8 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.07585, allocations: 115.6 kB / 292.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.07612, allocations: 171.7 kB / 293.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007282/0.0834, allocations: 4.436 MB / 297.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.0834, allocations: 0 / 297.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0834, allocations: 0 / 297.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.08341, allocations: 0 / 297.5 MB, free: 9.102 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.001148/0.08456, allocations: 0.8872 MB / 298.4 MB, free: 8.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.08459, allocations: 15.98 kB / 298.4 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/0.08537, allocations: 240 kB / 298.6 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.0856, allocations: 221.2 kB / 298.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.08562, allocations: 29.03 kB / 298.9 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.08566, allocations: 36.36 kB / 298.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.0864, allocations: 0.6541 MB / 299.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.08642, allocations: 4.188 kB / 299.6 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.08644, allocations: 19.94 kB / 299.6 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.08645, allocations: 8 kB / 299.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.08694, allocations: 316 kB / 299.9 MB, free: 6.566 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.001233/0.08817, allocations: 1.453 MB / 301.4 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.08877, allocations: 342.1 kB / 301.7 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.08886, allocations: 76.8 kB / 301.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06473/0.1536, allocations: 38.91 MB / 340.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.1536, allocations: 38.56 kB / 340.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.1536, allocations: 0 / 340.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.002109/0.1557, allocations: 1.013 MB / 341.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1558, allocations: 55.41 kB / 341.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1559, allocations: 206.4 kB / 342 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1559, allocations: 29.7 kB / 342 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.156, allocations: 180.3 kB / 342.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.156, allocations: 126.9 kB / 342.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.1561, allocations: 74.11 kB / 342.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.1562, allocations: 338.8 kB / 342.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.1563, allocations: 60.94 kB / 342.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1564, allocations: 179.9 kB / 343 MB, free: 11.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1566, allocations: 257.6 kB / 343.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1566, allocations: 7.984 kB / 343.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003463/0.157, allocations: 319.7 kB / 343.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.157, allocations: 11.92 kB / 343.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.157, allocations: 4 kB / 343.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.1572, allocations: 82.8 kB / 343.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.1574, allocations: 83.89 kB / 343.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1585, allocations: 2.225 MB / 345.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1586, allocations: 24.05 kB / 346 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1586, allocations: 12 kB / 346 MB, free: 8.055 MB / 330.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 0.0001209/0.1588, allocations: 132.6 kB / 346.1 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.1588, allocations: 31.91 kB / 346.1 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.1595, allocations: 0.8091 MB / 346.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.1595, allocations: 15.97 kB / 347 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.1595, allocations: 0 / 347 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00047/0.16, allocations: 0.8128 MB / 347.8 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.161, allocations: 1.083 MB / 348.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.161, allocations: 0 / 348.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.1612, allocations: 79.94 kB / 348.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.1614, allocations: 55.52 kB / 349 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1614, allocations: 8 kB / 349 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002023/0.1616, allocations: 0.5306 MB / 349.5 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1616, allocations: 3.938 kB / 349.5 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.1622, allocations: 0.6803 MB / 350.2 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.1622, allocations: 51.53 kB / 350.3 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.1622, allocations: 15.89 kB / 350.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1623, allocations: 20.08 kB / 350.3 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.1624, allocations: 35.88 kB / 350.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1624, allocations: 11.98 kB / 350.3 MB, free: 3.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.1625, allocations: 96.62 kB / 350.4 MB, free: 3.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1625, allocations: 0 / 350.4 MB, free: 3.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001722/0.1642, allocations: 0.8696 MB / 351.3 MB, free: 2.516 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: 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.002631/0.1668, allocations: 1.133 MB / 352.4 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.1673, allocations: 387.9 kB / 352.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.1673, allocations: 4 kB / 352.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1675, allocations: 192.8 kB / 353 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.1679, allocations: 184.1 kB / 353.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1074/0.2753, allocations: 1.058 MB / 354.2 MB, free: 83.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2755, allocations: 141.5 kB / 354.4 MB, free: 83.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.2758, allocations: 139.5 kB / 354.5 MB, free: 83.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.2761, allocations: 169.4 kB / 354.7 MB, free: 83.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2761, allocations: 0 / 354.7 MB, free: 83.7 MB / 330.7 MB Notification: Performance of Templates: time 0.03002/0.3061, allocations: 39.87 MB / 394.6 MB, free: 55.61 MB / 330.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 -s gbode -gbm=radauIIA3 -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: 4.583158773835748]