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.001085/0.001085, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001177/0.001177, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.857/0.857, allocations: 158.6 MB / 187.5 MB, free: 2.949 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_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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.856e-05, allocations: 2.312 kB / 251.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.02533/0.02535, allocations: 33.38 MB / 284.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.03765, allocations: 15.6 MB / 300.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.03788, allocations: 7.938 kB / 300.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.03845, allocations: 242.4 kB / 300.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.03897, allocations: 389.5 kB / 300.8 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.04917, allocations: 5.782 MB / 306.6 MB, free: 160 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008138/0.04998, allocations: 0.9929 MB / 307.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.05014, allocations: 73.23 kB / 307.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.05315, allocations: 2.317 MB / 309.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.0537, allocations: 263.2 kB / 310.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.05374, allocations: 36 kB / 310.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.05769, allocations: 3.499 MB / 313.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.0578, allocations: 111.6 kB / 313.8 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.05793, allocations: 171.7 kB / 314 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.06047, allocations: 2.701 MB / 316.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.06048, allocations: 0 / 316.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.06048, allocations: 0 / 316.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.06049, allocations: 4 kB / 316.7 MB, free: 5.949 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.001207/0.06169, allocations: 0.8609 MB / 317.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.06173, allocations: 15.98 kB / 317.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005274/0.06226, allocations: 167.9 kB / 317.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.06254, allocations: 252 kB / 318 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.06256, allocations: 25.03 kB / 318 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.06261, allocations: 32.38 kB / 318.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.06313, allocations: 0.5605 MB / 318.6 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.06314, allocations: 192 / 318.6 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.06317, allocations: 27.94 kB / 318.6 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.06318, allocations: 8 kB / 318.6 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.06353, allocations: 223.5 kB / 318.9 MB, free: 3.633 MB / 298.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.001573/0.06511, allocations: 2.439 MB / 321.3 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.06545, allocations: 194.6 kB / 321.5 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.06555, allocations: 75.53 kB / 321.6 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/0.08002, allocations: 8.384 MB / 330 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.08005, allocations: 41.39 kB / 330 MB, free: 8.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.08005, allocations: 0 / 330 MB, free: 8.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002529/0.08258, allocations: 1.015 MB / 331 MB, free: 7.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.08261, allocations: 55.41 kB / 331.1 MB, free: 7.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.08279, allocations: 292.2 kB / 331.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.08281, allocations: 33.64 kB / 331.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.08315, allocations: 251 kB / 331.6 MB, free: 6.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.08321, allocations: 107.1 kB / 331.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.08329, allocations: 91.8 kB / 331.8 MB, free: 6.457 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.0834, allocations: 0.504 MB / 332.3 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.0835, allocations: 60.95 kB / 332.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.08366, allocations: 227.6 kB / 332.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.08393, allocations: 314.4 kB / 332.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.08394, allocations: 4 kB / 332.9 MB, free: 5.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004471/0.08438, allocations: 360.4 kB / 333.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.0844, allocations: 11.94 kB / 333.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.08441, allocations: 11.98 kB / 333.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.08595, allocations: 247.5 kB / 333.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.08612, allocations: 87.89 kB / 333.6 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.08718, allocations: 2.564 MB / 336.2 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.08728, allocations: 16.03 kB / 336.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.0873, allocations: 20 kB / 336.2 MB, free: 1.719 MB / 314.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): 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.0001167/0.08741, allocations: 184.4 kB / 336.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.08746, allocations: 35.86 kB / 336.4 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.08803, allocations: 0.6049 MB / 337 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.08803, allocations: 7.938 kB / 337 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.08803, allocations: 0 / 337 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004731/0.08851, allocations: 0.769 MB / 337.8 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.08964, allocations: 1.039 MB / 338.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.08964, allocations: 0 / 338.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.08976, allocations: 55.91 kB / 338.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007679/0.09053, allocations: 243.2 kB / 339.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.09054, allocations: 8 kB / 339.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003004/0.09084, allocations: 0.8233 MB / 340 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09084, allocations: 0 / 340 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.09142, allocations: 0.6634 MB / 340.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.09145, allocations: 35.64 kB / 340.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.09148, allocations: 19.83 kB / 340.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.09157, allocations: 8 kB / 340.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.09159, allocations: 23.89 kB / 340.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.09161, allocations: 8 kB / 340.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.09174, allocations: 227 kB / 341 MB, free: 12.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09174, allocations: 4 kB / 341 MB, free: 12.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007565/0.09249, allocations: 0.4916 MB / 341.5 MB, free: 12.25 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.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.001155/0.09365, allocations: 0.5759 MB / 342 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.09417, allocations: 471.5 kB / 342.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.09418, allocations: 1 kB / 342.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.09439, allocations: 185 kB / 342.7 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.0949, allocations: 164.5 kB / 342.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.09608, allocations: 0.8565 MB / 343.7 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.09615, allocations: 118.1 kB / 343.8 MB, free: 9.816 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.09632, allocations: 106.8 kB / 343.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.09637, allocations: 32.5 kB / 343.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.09637, allocations: 0 / 343.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of Templates: time 0.107/0.2034, allocations: 18.58 MB / 362.5 MB, free: 105.4 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2440022251103073]