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.001751/0.001751, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002461/0.002461, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 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.557/1.557, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 64.39 kB / 347.7 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 49.16 MB / 396.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03577/0.3655, allocations: 29.84 MB / 426.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.3859, allocations: 14 MB / 440.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/0.3864, allocations: 11.94 kB / 440.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.3873, allocations: 242.5 kB / 441 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008282/0.3881, allocations: 358 kB / 441.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01866/0.4068, allocations: 5.73 MB / 447.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.4086, allocations: 1.001 MB / 448.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.4089, allocations: 81.17 kB / 448.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/0.4144, allocations: 2.189 MB / 450.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.4148, allocations: 314.8 kB / 450.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.4149, allocations: 36 kB / 450.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/0.4273, allocations: 5.822 MB / 456.5 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.4276, allocations: 111.7 kB / 456.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.4279, allocations: 199.3 kB / 456.8 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008929/0.4369, allocations: 3.784 MB / 460.6 MB, free: 3.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4369, allocations: 4 kB / 460.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4369, allocations: 0 / 460.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.4369, allocations: 0 / 460.6 MB, free: 3.312 MB / 366.1 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.002494/0.4394, allocations: 0.9589 MB / 461.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4394, allocations: 11.98 kB / 461.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.4407, allocations: 156.6 kB / 461.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.4412, allocations: 261.9 kB / 462 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.4413, allocations: 29.03 kB / 462 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.4414, allocations: 36.31 kB / 462 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.443, allocations: 0.701 MB / 462.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.443, allocations: 0 / 462.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.4431, allocations: 16 kB / 462.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.4431, allocations: 8 kB / 462.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.4446, allocations: 0.4942 MB / 463.2 MB, free: 0.5195 MB / 366.1 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.003012/0.4476, allocations: 1.739 MB / 465 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.4492, allocations: 434.3 kB / 465.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.4496, allocations: 156.8 kB / 465.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.4502, allocations: 191.8 kB / 465.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4503, allocations: 34.56 kB / 465.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.425e-06/0.4503, allocations: 0 / 465.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004793/0.4551, allocations: 1.347 MB / 467.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.4551, allocations: 63.28 kB / 467.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.4554, allocations: 223 kB / 467.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.4554, allocations: 33.7 kB / 467.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.4555, allocations: 192.7 kB / 467.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.4557, allocations: 123 kB / 467.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.4558, allocations: 74.12 kB / 467.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4559, allocations: 334.8 kB / 468.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.4563, allocations: 144.8 kB / 468.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.4568, allocations: 231.4 kB / 468.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/0.4576, allocations: 406.8 kB / 468.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4576, allocations: 0 / 468.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001262/0.4589, allocations: 0.5034 MB / 469.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4589, allocations: 8 kB / 469.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4589, allocations: 4 kB / 469.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.4594, allocations: 110.8 kB / 469.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.4598, allocations: 83.89 kB / 469.6 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.4619, allocations: 2.382 MB / 472 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.4622, allocations: 27.97 kB / 472 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.4622, allocations: 16 kB / 472 MB, free: 7.281 MB / 382.1 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.000218/0.4625, allocations: 161.7 kB / 472.2 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.4625, allocations: 39.78 kB / 472.2 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.4646, allocations: 1.359 MB / 473.6 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.4647, allocations: 23.97 kB / 473.6 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4647, allocations: 0 / 473.6 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001869/0.4665, allocations: 1.464 MB / 475.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.4694, allocations: 1.965 MB / 477.1 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4694, allocations: 3.938 kB / 477.1 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.4698, allocations: 91.86 kB / 477.1 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/0.4701, allocations: 72.73 kB / 477.2 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.4701, allocations: 11.98 kB / 477.2 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004233/0.4706, allocations: 0.5953 MB / 477.8 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4706, allocations: 11.95 kB / 477.8 MB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.4726, allocations: 1.303 MB / 479.1 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.4727, allocations: 47.56 kB / 479.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.4727, allocations: 27.84 kB / 479.2 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.473, allocations: 19.92 kB / 479.2 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4731, allocations: 39.88 kB / 479.3 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.4731, allocations: 15.98 kB / 479.3 MB, free: 15.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.4734, allocations: 211.1 kB / 479.5 MB, free: 15.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4734, allocations: 4 kB / 479.5 MB, free: 15.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002916/0.4763, allocations: 0.8618 MB / 480.4 MB, free: 14.76 MB / 398.1 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.00316/0.4794, allocations: 0.9736 MB / 481.3 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.4808, allocations: 0.6385 MB / 482 MB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4808, allocations: 4 kB / 482 MB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.4815, allocations: 382 kB / 482.3 MB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/0.4825, allocations: 168.3 kB / 482.5 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4846, allocations: 1.283 MB / 483.8 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.4849, allocations: 276.8 kB / 484.1 MB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000327/0.4852, allocations: 138.7 kB / 484.2 MB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.856e-05/0.4853, allocations: 35.44 kB / 484.2 MB, free: 10.8 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4853, allocations: 0 / 484.2 MB, free: 10.8 MB / 398.1 MB Notification: Performance of Templates: time 0.05289/0.5382, allocations: 35.93 MB / 0.508 GB, free: 6.801 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.624031072482467]