Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001363/0.001363, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.006141/0.006141, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9028/0.9028, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2489/0.2489, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.925e-05, allocations: 4.25 kB / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2818/0.2818, allocations: 154.6 MB / 0.5815 GB, free: 9.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004302/0.2861, allocations: 4.917 MB / 0.5863 GB, free: 4.801 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.2863, allocations: 27.75 kB / 0.5863 GB, free: 4.773 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.2869, allocations: 313.9 kB / 0.5866 GB, free: 4.465 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.2891, allocations: 1.386 MB / 0.588 GB, free: 3.074 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2904, allocations: 1.096 MB / 0.5891 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.2916, allocations: 1.89 MB / 0.5909 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.292, allocations: 401.9 kB / 0.5913 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.2933, allocations: 1.344 MB / 0.5926 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.294, allocations: 0.7325 MB / 0.5933 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.2941, allocations: 60 kB / 0.5934 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006606/0.2947, allocations: 0.5499 MB / 0.5939 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.2949, allocations: 283.1 kB / 0.5942 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.2954, allocations: 287.3 kB / 0.5945 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.2965, allocations: 1.386 MB / 0.5958 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.2965, allocations: 4 kB / 0.5958 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2965, allocations: 0 / 0.5958 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.2965, allocations: 0 / 0.5958 GB, free: 11.06 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001359/0.2979, allocations: 1.041 MB / 0.5968 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2979, allocations: 8.031 kB / 0.5968 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.2983, allocations: 143.3 kB / 0.597 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.2989, allocations: 477.4 kB / 0.5974 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.299, allocations: 151.8 kB / 0.5976 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.299, allocations: 51.98 kB / 0.5976 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008705/0.2999, allocations: 1.14 MB / 0.5987 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.2999, allocations: 7.938 kB / 0.5987 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.3, allocations: 27.98 kB / 0.5988 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.3, allocations: 36.98 kB / 0.5988 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.3007, allocations: 0.6204 MB / 0.5994 GB, free: 7.125 MB / 0.4948 GB 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.002569/0.3032, allocations: 3.214 MB / 0.6025 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.3036, allocations: 338.3 kB / 0.6029 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3037, allocations: 157.3 kB / 0.603 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.3038, allocations: 24.27 kB / 0.603 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.3038, allocations: 34.84 kB / 0.6031 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.312e-06/0.3038, allocations: 0 / 0.6031 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.00276/0.3066, allocations: 1.597 MB / 0.6046 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3066, allocations: 136.5 kB / 0.6048 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.307, allocations: 0.5415 MB / 0.6053 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.307, allocations: 33.7 kB / 0.6053 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.3072, allocations: 388.2 kB / 0.6057 GB, free: 476 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.3073, allocations: 146.8 kB / 0.6058 GB, free: 328 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3074, allocations: 150.6 kB / 0.606 GB, free: 172 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3075, allocations: 370.8 kB / 0.6063 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3077, allocations: 201.9 kB / 0.6065 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.3081, allocations: 0.5919 MB / 0.6071 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.3087, allocations: 0.7487 MB / 0.6078 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3087, allocations: 0 / 0.6078 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001094/0.3098, allocations: 0.8816 MB / 0.6087 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3098, allocations: 8 kB / 0.6087 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3098, allocations: 8 kB / 0.6087 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/0.3105, allocations: 315.9 kB / 0.609 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.3107, allocations: 119.8 kB / 0.6091 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006719/0.3113, allocations: 0.9371 MB / 0.61 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.3115, allocations: 32.06 kB / 0.6101 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.3116, allocations: 67.98 kB / 0.6101 GB, free: 11.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.3118, allocations: 237.6 kB / 0.6104 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.3119, allocations: 71.45 kB / 0.6104 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.3128, allocations: 0.8586 MB / 0.6113 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3128, allocations: 4 kB / 0.6113 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3128, allocations: 0 / 0.6113 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3128, allocations: 5.859 kB / 0.6113 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3138, allocations: 1.083 MB / 0.6123 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3138, allocations: 4 kB / 0.6123 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.3143, allocations: 215.9 kB / 0.6125 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.114e-05/0.3144, allocations: 28.78 kB / 0.6126 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3144, allocations: 23.98 kB / 0.6126 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.3158, allocations: 2.618 MB / 0.6152 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3158, allocations: 8.844 kB / 0.6152 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007129/0.3165, allocations: 0.8066 MB / 0.616 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3166, allocations: 107.5 kB / 0.6161 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.3167, allocations: 8 kB / 0.6161 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.3169, allocations: 24.27 kB / 0.6161 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.3169, allocations: 39.94 kB / 0.6161 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.317, allocations: 43.98 kB / 0.6162 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002502/0.3172, allocations: 362.8 kB / 0.6165 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3172, allocations: 0 / 0.6165 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004806/0.3177, allocations: 247.8 kB / 0.6167 GB, free: 4.484 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000415/0.3181, allocations: 295.1 kB / 0.617 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006322/0.3187, allocations: 0.5266 MB / 0.6175 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3187, allocations: 7.953 kB / 0.6176 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.3192, allocations: 403.8 kB / 0.6179 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.32, allocations: 311.2 kB / 0.6182 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.3212, allocations: 1.281 MB / 0.6195 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3214, allocations: 328.3 kB / 0.6198 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.3216, allocations: 128.4 kB / 0.6199 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of SimCode: time 4.9e-07/0.3216, allocations: 0 / 0.6199 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of Templates: time 0.01153/0.3331, allocations: 16.14 MB / 0.6357 GB, free: 1.074 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.058473416604102]