Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00102/0.00102, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001044/0.001044, allocations: 167.8 kB / 24.84 MB, free: 9.301 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.9643/0.9643, allocations: 158.6 MB / 186.7 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1489/0.1489, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.155e-05, allocations: 2.312 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2948/0.2948, allocations: 145.1 MB / 494.1 MB, free: 9.609 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.2981, allocations: 2.594 MB / 496.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004284/0.2986, allocations: 27.28 kB / 496.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.2991, allocations: 208.7 kB / 496.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.3013, allocations: 1.221 MB / 498.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.3027, allocations: 0.8302 MB / 498.9 MB, free: 8.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.3045, allocations: 1.91 MB / 0.4891 GB, free: 7.359 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005614/0.305, allocations: 429.1 kB / 0.4895 GB, free: 7.078 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.3066, allocations: 1.218 MB / 0.4907 GB, free: 6.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.3073, allocations: 0.5919 MB / 0.4913 GB, free: 6.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.69e-05/0.3074, allocations: 60.62 kB / 0.4913 GB, free: 6.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007983/0.3082, allocations: 473.5 kB / 0.4918 GB, free: 5.996 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.3083, allocations: 288.9 kB / 0.4921 GB, free: 5.809 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.3086, allocations: 289.2 kB / 0.4924 GB, free: 5.691 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.3097, allocations: 1.009 MB / 0.4933 GB, free: 5.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3097, allocations: 6.906 kB / 0.4933 GB, free: 5.117 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3097, allocations: 0 / 0.4933 GB, free: 5.117 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.3097, allocations: 0 / 0.4933 GB, free: 5.117 MB / 362.7 MB 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.001341/0.3111, allocations: 1.134 MB / 0.4944 GB, free: 4.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3111, allocations: 8.406 kB / 0.4945 GB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.3116, allocations: 209 kB / 0.4947 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.3122, allocations: 496.1 kB / 0.4951 GB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.826e-05/0.3122, allocations: 151.5 kB / 0.4953 GB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.3123, allocations: 62.91 kB / 0.4953 GB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.3129, allocations: 0.9597 MB / 0.4963 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3129, allocations: 6.156 kB / 0.4963 GB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.3129, allocations: 24.38 kB / 0.4963 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.313, allocations: 36.89 kB / 0.4963 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3133, allocations: 263.6 kB / 0.4966 GB, free: 2.508 MB / 362.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.0022/0.3155, allocations: 3.78 MB / 0.5003 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3158, allocations: 193.1 kB / 0.5005 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.3158, allocations: 72.2 kB / 0.5005 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.3161, allocations: 134.2 kB / 0.5007 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3161, allocations: 49.59 kB / 0.5007 GB, free: 14.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.664e-06/0.3161, allocations: 0 / 0.5007 GB, free: 14.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002431/0.3185, allocations: 0.9793 MB / 0.5017 GB, free: 13.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3186, allocations: 140.5 kB / 0.5018 GB, free: 13.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.3192, allocations: 0.5488 MB / 0.5023 GB, free: 12.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.3193, allocations: 37.64 kB / 0.5024 GB, free: 12.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.3195, allocations: 438.8 kB / 0.5028 GB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.3195, allocations: 150.7 kB / 0.5029 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3197, allocations: 168.2 kB / 0.5031 GB, free: 12.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3198, allocations: 0.5468 MB / 0.5036 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3199, allocations: 73.92 kB / 0.5037 GB, free: 11.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.3203, allocations: 0.6298 MB / 0.5043 GB, free: 10.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.3207, allocations: 0.6652 MB / 0.505 GB, free: 9.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.3208, allocations: 4 kB / 0.505 GB, free: 9.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006595/0.3214, allocations: 0.6214 MB / 0.5056 GB, free: 9.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3214, allocations: 12 kB / 0.5056 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3214, allocations: 16.08 kB / 0.5056 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.3221, allocations: 257.5 kB / 0.5058 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.3223, allocations: 127.8 kB / 0.506 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005859/0.3229, allocations: 0.9794 MB / 0.5069 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.3232, allocations: 28 kB / 0.5069 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.3232, allocations: 55.98 kB / 0.507 GB, free: 7.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001845/0.3234, allocations: 212.3 kB / 0.5072 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.3235, allocations: 75.62 kB / 0.5073 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006166/0.3241, allocations: 486.5 kB / 0.5077 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.3241, allocations: 4 kB / 0.5077 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3241, allocations: 0 / 0.5077 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3241, allocations: 3.984 kB / 0.5077 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.3255, allocations: 0.9088 MB / 0.5086 GB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3255, allocations: 4 kB / 0.5086 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.3259, allocations: 167.8 kB / 0.5088 GB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.67e-05/0.326, allocations: 27.8 kB / 0.5088 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.326, allocations: 12 kB / 0.5088 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.3274, allocations: 3.515 MB / 0.5123 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3274, allocations: 0 / 0.5123 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.3279, allocations: 0.5541 MB / 0.5128 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.328, allocations: 99.52 kB / 0.5129 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.3281, allocations: 12 kB / 0.5129 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3282, allocations: 15.92 kB / 0.5129 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.3283, allocations: 44 kB / 0.513 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.3283, allocations: 31.98 kB / 0.513 GB, free: 1.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3285, allocations: 326.6 kB / 0.5133 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3285, allocations: 0 / 0.5133 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006447/0.3292, allocations: 251.8 kB / 0.5136 GB, free: 0.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 36 * 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.0005602/0.3297, allocations: 287.9 kB / 0.5138 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005333/0.3303, allocations: 350.2 kB / 0.5142 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3303, allocations: 4.5 kB / 0.5142 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.3307, allocations: 357.3 kB / 0.5145 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.3315, allocations: 318.6 kB / 0.5148 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3332, allocations: 1.136 MB / 0.5159 GB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.561e-05/0.3333, allocations: 166.5 kB / 0.5161 GB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003699/0.3337, allocations: 165.4 kB / 0.5162 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.3342, allocations: 361.9 kB / 0.5166 GB, free: 13.31 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3342, allocations: 0 / 0.5166 GB, free: 13.31 MB / 394.7 MB Notification: Performance of Templates: time 0.01937/0.3536, allocations: 16.96 MB / 0.5331 GB, free: 12.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.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: 4.041939080227166]