Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.002612/0.002612, allocations: 91.61 kB / 20.96 MB, free: 3.441 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.003229/0.003229, allocations: 165.3 kB / 24.27 MB, free: 136 kB / 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 1.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4002/0.4002, allocations: 34.26 MB / 295.3 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.689e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06249/0.06252, allocations: 44.44 MB / 421.7 MB, free: 6.359 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007834/0.07035, allocations: 4.471 MB / 426.2 MB, free: 1.871 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005752/0.07093, allocations: 35.69 kB / 426.2 MB, free: 1.836 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000951/0.07188, allocations: 305.9 kB / 426.5 MB, free: 1.535 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.074, allocations: 0.9087 MB / 427.5 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.07654, allocations: 0.9386 MB / 428.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.07934, allocations: 1.828 MB / 430.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008002/0.08014, allocations: 425.7 kB / 430.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2836/0.3638, allocations: 44.56 MB / 475.2 MB, free: 47.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01734/0.3811, allocations: 7.9 MB / 483.1 MB, free: 45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.3814, allocations: 58.97 kB / 483.2 MB, free: 45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02516/0.4066, allocations: 10.6 MB / 493.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005687/0.4071, allocations: 291.6 kB / 494 MB, free: 41.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.4077, allocations: 281.1 kB / 494.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.4094, allocations: 1.126 MB / 495.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4094, allocations: 0 / 495.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4094, allocations: 3.562 kB / 495.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4094, allocations: 4 kB / 495.4 MB, free: 40.87 MB / 410.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.001948/0.4114, allocations: 1.134 MB / 496.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4114, allocations: 8.781 kB / 496.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.4118, allocations: 153.7 kB / 496.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007689/0.4126, allocations: 496.8 kB / 497.2 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.4127, allocations: 157 kB / 497.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/0.4128, allocations: 55.95 kB / 497.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.4137, allocations: 1.018 MB / 498.4 MB, free: 38.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4138, allocations: 6.719 kB / 498.5 MB, free: 38.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.4138, allocations: 25.45 kB / 498.5 MB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.4139, allocations: 41.38 kB / 498.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007154/0.4146, allocations: 434.8 kB / 498.9 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.4183, allocations: 4.214 MB / 0.4914 GB, free: 35.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.419, allocations: 354.9 kB / 0.4917 GB, free: 35.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.4193, allocations: 155.2 kB / 0.4919 GB, free: 35.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/0.4195, allocations: 62.33 kB / 0.4919 GB, free: 35.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.4195, allocations: 44.41 kB / 0.492 GB, free: 35.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.4195, allocations: 0 / 0.492 GB, free: 35.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002539/0.4221, allocations: 1.326 MB / 0.4933 GB, free: 34.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4221, allocations: 138.6 kB / 0.4934 GB, free: 34.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.4226, allocations: 0.6371 MB / 0.494 GB, free: 33.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.4227, allocations: 33.17 kB / 0.494 GB, free: 33.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.4228, allocations: 447.5 kB / 0.4945 GB, free: 33.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.4229, allocations: 180.3 kB / 0.4946 GB, free: 33.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.4231, allocations: 164.5 kB / 0.4948 GB, free: 33.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4232, allocations: 0.5803 MB / 0.4954 GB, free: 32.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.4235, allocations: 160.7 kB / 0.4955 GB, free: 32.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.4239, allocations: 0.6842 MB / 0.4962 GB, free: 31.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.4246, allocations: 0.8183 MB / 0.497 GB, free: 31.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4246, allocations: 0 / 0.497 GB, free: 31.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001366/0.426, allocations: 0.8428 MB / 0.4978 GB, free: 31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.426, allocations: 9.094 kB / 0.4978 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.426, allocations: 10.84 kB / 0.4978 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009834/0.427, allocations: 248.9 kB / 0.4981 GB, free: 30.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.4274, allocations: 128.1 kB / 0.4982 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007558/0.4282, allocations: 1.068 MB / 0.4992 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.4286, allocations: 24.09 kB / 0.4992 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.4286, allocations: 34.36 kB / 0.4993 GB, free: 30.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.4288, allocations: 267 kB / 0.4995 GB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.4289, allocations: 75.19 kB / 0.4996 GB, free: 29.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.4301, allocations: 0.6584 MB / 0.5002 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4301, allocations: 10.66 kB / 0.5003 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4301, allocations: 0 / 0.5003 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4301, allocations: 1.969 kB / 0.5003 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.4318, allocations: 1.308 MB / 0.5015 GB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4318, allocations: 0 / 0.5015 GB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/0.4327, allocations: 188.8 kB / 0.5017 GB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.4329, allocations: 63.05 kB / 0.5018 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.433, allocations: 14.75 kB / 0.5018 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.4347, allocations: 3.753 MB / 0.5055 GB, free: 24.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.4347, allocations: 6.969 kB / 0.5055 GB, free: 24.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4359, allocations: 0.9323 MB / 0.5064 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.4362, allocations: 117.5 kB / 0.5065 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.4363, allocations: 10.72 kB / 0.5065 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.4366, allocations: 19.5 kB / 0.5065 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.4367, allocations: 39.95 kB / 0.5066 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.4367, allocations: 24.59 kB / 0.5066 GB, free: 24.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.4371, allocations: 390.2 kB / 0.5069 GB, free: 24.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4371, allocations: 0 / 0.5069 GB, free: 24.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007555/0.4378, allocations: 209.1 kB / 0.5071 GB, free: 24.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000356/0.4382, allocations: 225.5 kB / 0.5074 GB, free: 24.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.4391, allocations: 0.5491 MB / 0.5079 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4391, allocations: 2.078 kB / 0.5079 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009744/0.4401, allocations: 0.4894 MB / 0.5084 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.4415, allocations: 324.9 kB / 0.5087 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.4432, allocations: 1.279 MB / 0.5099 GB, free: 22.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4434, allocations: 338.3 kB / 0.5103 GB, free: 22.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005031/0.4439, allocations: 185 kB / 0.5104 GB, free: 22.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.4441, allocations: 58.58 kB / 0.5105 GB, free: 22.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4441, allocations: 0 / 0.5105 GB, free: 22.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01989/0.464, allocations: 13.91 MB / 0.5241 GB, free: 12.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.955912856967188]