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.001326/0.001326, allocations: 83.08 kB / 21.99 MB, free: 5.18 MB / 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.002202/0.002202, allocations: 161.4 kB / 25.25 MB, free: 3.023 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.327/1.327, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.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.002009/0.002009, allocations: 55.92 kB / 299.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2101, allocations: 49.15 MB / 348.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03497/0.2451, allocations: 29.83 MB / 378.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01908/0.2641, allocations: 14.01 MB / 392.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.2645, allocations: 7.938 kB / 392.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008174/0.2653, allocations: 238.5 kB / 392.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007624/0.266, allocations: 369.9 kB / 393 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01519/0.2812, allocations: 5.71 MB / 398.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.2827, allocations: 0.9933 MB / 399.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2829, allocations: 77.17 kB / 399.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005389/0.2883, allocations: 2.189 MB / 402 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.2887, allocations: 298.8 kB / 402.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2888, allocations: 36 kB / 402.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006649/0.2955, allocations: 3.5 MB / 405.8 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.2956, allocations: 103.7 kB / 405.9 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.2959, allocations: 191.3 kB / 406.1 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.2993, allocations: 2.366 MB / 408.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2993, allocations: 0 / 408.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2993, allocations: 0 / 408.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2993, allocations: 0 / 408.4 MB, free: 3.387 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.001336/0.3007, allocations: 0.7458 MB / 409.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3007, allocations: 15.98 kB / 409.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007186/0.3014, allocations: 92.64 kB / 409.3 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.3019, allocations: 249.9 kB / 409.5 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.3019, allocations: 21.03 kB / 409.6 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.302, allocations: 32.38 kB / 409.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.3029, allocations: 0.5864 MB / 410.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3029, allocations: 0 / 410.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.3029, allocations: 16 kB / 410.2 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3029, allocations: 16 kB / 410.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.3036, allocations: 318.2 kB / 410.5 MB, free: 1.172 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.002576/0.3062, allocations: 1.853 MB / 412.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.3067, allocations: 238.6 kB / 412.6 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3069, allocations: 100.8 kB / 412.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03132/0.3382, allocations: 8.346 MB / 421 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.3383, allocations: 38.56 kB / 421.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.3383, allocations: 0 / 421.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004577/0.3428, allocations: 1.154 MB / 422.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.3429, allocations: 59.34 kB / 422.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.3432, allocations: 241.6 kB / 422.5 MB, free: 4.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.3432, allocations: 29.7 kB / 422.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3433, allocations: 212.2 kB / 422.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/0.3434, allocations: 107.1 kB / 422.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.3435, allocations: 86.14 kB / 423 MB, free: 4.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3437, allocations: 330.8 kB / 423.3 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3439, allocations: 105 kB / 423.4 MB, free: 4.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.3442, allocations: 215.5 kB / 423.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.3447, allocations: 362.3 kB / 423.9 MB, free: 3.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3447, allocations: 0 / 423.9 MB, free: 3.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007797/0.3455, allocations: 434.7 kB / 424.4 MB, free: 3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3455, allocations: 4 kB / 424.4 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3455, allocations: 7.938 kB / 424.4 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003179/0.3487, allocations: 269.9 kB / 424.6 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.349, allocations: 79.84 kB / 424.7 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.3507, allocations: 1.848 MB / 426.6 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3509, allocations: 16.22 kB / 426.6 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.3509, allocations: 20 kB / 426.6 MB, free: 0.6289 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.000213/0.3511, allocations: 165.6 kB / 426.8 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.3512, allocations: 27.8 kB / 426.8 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.3525, allocations: 0.9821 MB / 427.8 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.3525, allocations: 11.98 kB / 427.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3525, allocations: 0 / 427.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.3537, allocations: 1.157 MB / 428.9 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.3556, allocations: 1.448 MB / 430.4 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3556, allocations: 0 / 430.4 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.3558, allocations: 43.92 kB / 430.4 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.3575, allocations: 300.4 kB / 430.7 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3575, allocations: 4 kB / 430.7 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006403/0.3582, allocations: 0.6773 MB / 431.4 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3582, allocations: 0 / 431.4 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.3594, allocations: 0.9804 MB / 432.4 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.3595, allocations: 39.78 kB / 432.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.3595, allocations: 19.89 kB / 432.5 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3597, allocations: 8 kB / 432.5 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.3598, allocations: 15.97 kB / 432.5 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.3598, allocations: 19.92 kB / 432.5 MB, free: 10.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002458/0.36, allocations: 215.1 kB / 432.7 MB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.36, allocations: 0 / 432.7 MB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00142/0.3615, allocations: 0.4916 MB / 433.2 MB, free: 9.84 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.001591/0.3631, allocations: 0.514 MB / 433.7 MB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.364, allocations: 0.5143 MB / 434.2 MB, free: 8.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.364, allocations: 0 / 434.2 MB, free: 8.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.3645, allocations: 289 kB / 434.5 MB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/0.3654, allocations: 148.7 kB / 434.7 MB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.367, allocations: 1.032 MB / 435.7 MB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3672, allocations: 216.6 kB / 435.9 MB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.3675, allocations: 110.8 kB / 436 MB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.3675, allocations: 32.48 kB / 436 MB, free: 6.922 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3675, allocations: 0 / 436 MB, free: 6.922 MB / 398.1 MB Notification: Performance of Templates: time 0.02899/0.3965, allocations: 18.1 MB / 454.1 MB, free: 4.785 MB / 414.1 MB " [Timeout remaining time 660] 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 -s ida -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/jenkins1/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/jenkins1/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.134185922914185]