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.001396/0.001396, allocations: 107.6 kB / 21.18 MB, free: 460 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.001628/0.001628, allocations: 218.7 kB / 24.48 MB, free: 3.805 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.58/1.58, allocations: 207.7 MB / 235.3 MB, free: 9.816 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_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: 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.002057/0.002057, allocations: 55.92 kB / 347.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2831, 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_pT): time 0.03411/0.3172, allocations: 29.83 MB / 426.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01983/0.337, allocations: 14.01 MB / 440.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.3375, allocations: 7.938 kB / 440.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008851/0.3384, allocations: 238.5 kB / 441 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008344/0.3392, allocations: 373.9 kB / 441.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01804/0.3573, allocations: 5.715 MB / 447 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.3587, allocations: 0.9854 MB / 448 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.3589, allocations: 81.17 kB / 448.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.3642, allocations: 2.189 MB / 450.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.3646, allocations: 298.8 kB / 450.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.3647, allocations: 36 kB / 450.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007402/0.3721, allocations: 3.492 MB / 454.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.3723, allocations: 111.6 kB / 454.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.3726, allocations: 187.3 kB / 454.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.3764, allocations: 2.366 MB / 456.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3765, allocations: 0 / 456.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3765, allocations: 0 / 456.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3765, allocations: 0 / 456.8 MB, free: 7.133 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.001447/0.3779, allocations: 0.7497 MB / 457.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.378, allocations: 15.92 kB / 457.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.3787, allocations: 92.64 kB / 457.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.3792, allocations: 245.9 kB / 457.9 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.3793, allocations: 25.03 kB / 457.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.3793, allocations: 32.38 kB / 457.9 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.3803, allocations: 0.5903 MB / 458.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.3803, allocations: 0 / 458.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.3804, allocations: 12 kB / 458.5 MB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3804, allocations: 8 kB / 458.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.3811, allocations: 322.2 kB / 458.9 MB, free: 4.918 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.003734/0.3849, allocations: 1.849 MB / 460.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009657/0.3858, allocations: 242.5 kB / 460.9 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.3861, allocations: 96.83 kB / 461 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04498/0.4311, allocations: 8.346 MB / 469.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.4312, allocations: 34.5 kB / 469.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.795e-06/0.4312, allocations: 0 / 469.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.006756/0.4379, allocations: 1.17 MB / 470.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.438, allocations: 55.41 kB / 470.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.4383, allocations: 244.8 kB / 470.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.4383, allocations: 29.7 kB / 470.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.4385, allocations: 200.2 kB / 471.1 MB, free: 8.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.471e-05/0.4386, allocations: 111.1 kB / 471.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.4387, allocations: 78.08 kB / 471.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4388, allocations: 342.8 kB / 471.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.439, allocations: 100.8 kB / 471.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.4393, allocations: 222.9 kB / 471.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/0.4398, allocations: 354.3 kB / 472.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4399, allocations: 0 / 472.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008413/0.4407, allocations: 434.7 kB / 472.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4407, allocations: 8 kB / 472.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.4407, allocations: 4 kB / 472.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003083/0.4438, allocations: 261.9 kB / 473 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.4441, allocations: 87.84 kB / 473.1 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.446, allocations: 1.851 MB / 474.9 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.4462, allocations: 11.94 kB / 474.9 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.4462, allocations: 20.22 kB / 474.9 MB, free: 4.375 MB / 382.1 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.0002755/0.4465, allocations: 165.6 kB / 475.1 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.4466, allocations: 31.8 kB / 475.1 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.4479, allocations: 0.9777 MB / 476.1 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4479, allocations: 7.984 kB / 476.1 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.4479, allocations: 0 / 476.1 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.4492, allocations: 1.156 MB / 477.3 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.4514, allocations: 1.439 MB / 478.7 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4514, allocations: 8.047 kB / 478.7 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.4516, allocations: 59.89 kB / 478.8 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.4532, allocations: 291.9 kB / 479.1 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.4533, allocations: 8 kB / 479.1 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006333/0.4539, allocations: 0.6734 MB / 479.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4539, allocations: 0 / 479.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.4552, allocations: 0.9724 MB / 480.7 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.4552, allocations: 43.62 kB / 480.8 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.4553, allocations: 16.02 kB / 480.8 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.4555, allocations: 8 kB / 480.8 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.4555, allocations: 19.97 kB / 480.8 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.4555, allocations: 11.98 kB / 480.8 MB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.4558, allocations: 223.1 kB / 481 MB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4558, allocations: 0 / 481 MB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001561/0.4573, allocations: 0.4916 MB / 481.5 MB, free: 13.58 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.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.002384/0.4597, allocations: 0.5022 MB / 482 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009804/0.4607, allocations: 0.5186 MB / 482.6 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4607, allocations: 0 / 482.6 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.4612, allocations: 284.6 kB / 482.8 MB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/0.4621, allocations: 156.6 kB / 483 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.4638, allocations: 1.028 MB / 484 MB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.4641, allocations: 216.5 kB / 484.2 MB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.4644, allocations: 110.8 kB / 484.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.4645, allocations: 35.38 kB / 484.4 MB, free: 10.67 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4645, allocations: 3.938 kB / 484.4 MB, free: 10.67 MB / 398.1 MB Notification: Performance of Templates: time 0.03104/0.4955, allocations: 18.76 MB / 0.4913 GB, free: 7.871 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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: 5.705637641251087]