Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001283/0.001283, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001372/0.001372, allocations: 203.3 kB / 20.74 MB, free: 2.316 MB / 14.72 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.439/1.439, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2186/0.2186, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001953/0.001953, allocations: 67.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1199, allocations: 65.43 MB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02332/0.1432, allocations: 20.49 MB / 0.5718 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006551/0.1498, allocations: 4.31 MB / 0.576 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005746/0.1504, allocations: 27.75 kB / 0.576 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009345/0.1513, allocations: 322 kB / 0.5763 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.1533, allocations: 0.8667 MB / 0.5772 GB, free: 40 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.1557, allocations: 0.8996 MB / 0.578 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.1579, allocations: 1.801 MB / 0.5798 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/0.1586, allocations: 405.4 kB / 0.5802 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.1605, allocations: 0.9535 MB / 0.5811 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000958/0.1614, allocations: 0.6695 MB / 0.5818 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.1615, allocations: 67.94 kB / 0.5818 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007773/0.1623, allocations: 315.6 kB / 0.5821 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.1626, allocations: 267.2 kB / 0.5824 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.163, allocations: 390.2 kB / 0.5828 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.1644, allocations: 1.086 MB / 0.5838 GB, free: 9.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1644, allocations: 4 kB / 0.5838 GB, free: 9.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1644, allocations: 0 / 0.5838 GB, free: 9.195 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1644, allocations: 0 / 0.5838 GB, free: 9.195 MB / 446.1 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.002299/0.1667, allocations: 1.063 MB / 0.5849 GB, free: 8.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1668, allocations: 12.03 kB / 0.5849 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.1669, allocations: 94.7 kB / 0.585 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.1673, allocations: 96.41 kB / 0.5851 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008942/0.1682, allocations: 0.5331 MB / 0.5856 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.1683, allocations: 104.9 kB / 0.5857 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1684, allocations: 64.06 kB / 0.5857 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1698, allocations: 0.8058 MB / 0.5865 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.1698, allocations: 8 kB / 0.5865 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.1699, allocations: 19.98 kB / 0.5866 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.608e-05/0.1699, allocations: 48.91 kB / 0.5866 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.171, allocations: 0.6439 MB / 0.5872 GB, free: 5.523 MB / 446.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.005159/0.1762, allocations: 4.202 MB / 0.5913 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.1771, allocations: 403.9 kB / 0.5917 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.1774, allocations: 189.4 kB / 0.5919 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.255/0.4324, allocations: 0.492 MB / 0.5924 GB, free: 41.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.4325, allocations: 38.27 kB / 0.5924 GB, free: 41.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.336e-06/0.4325, allocations: 3.688 kB / 0.5924 GB, free: 41.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003431/0.4359, allocations: 1.542 MB / 0.5939 GB, free: 40.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.436, allocations: 135.6 kB / 0.5941 GB, free: 40.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.4367, allocations: 0.5691 MB / 0.5946 GB, free: 40.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.4367, allocations: 35.58 kB / 0.5946 GB, free: 40.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.4369, allocations: 362 kB / 0.595 GB, free: 40.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.437, allocations: 175.4 kB / 0.5952 GB, free: 40.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.4372, allocations: 142.6 kB / 0.5953 GB, free: 40.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.4373, allocations: 380.8 kB / 0.5957 GB, free: 40.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.4377, allocations: 221.4 kB / 0.5959 GB, free: 40 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.4382, allocations: 0.5154 MB / 0.5964 GB, free: 39.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.4391, allocations: 0.7835 MB / 0.5971 GB, free: 38.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4391, allocations: 2.406 kB / 0.5971 GB, free: 38.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001819/0.4409, allocations: 0.9354 MB / 0.598 GB, free: 38.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4409, allocations: 8.875 kB / 0.5981 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4409, allocations: 11.12 kB / 0.5981 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.4421, allocations: 264.2 kB / 0.5983 GB, free: 38.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.4425, allocations: 137.2 kB / 0.5985 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007871/0.4433, allocations: 0.8588 MB / 0.5993 GB, free: 37.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/0.4438, allocations: 26.08 kB / 0.5993 GB, free: 37.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.4439, allocations: 34.84 kB / 0.5993 GB, free: 37.84 MB / 446.1 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.0003046/0.4442, allocations: 256.3 kB / 0.5996 GB, free: 37.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4443, allocations: 72.52 kB / 0.5997 GB, free: 37.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.4457, allocations: 0.708 MB / 0.6004 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.4457, allocations: 9.562 kB / 0.6004 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4457, allocations: 0.7812 kB / 0.6004 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.4457, allocations: 3.391 kB / 0.6004 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.4479, allocations: 1.401 MB / 0.6017 GB, free: 36.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4479, allocations: 2.5 kB / 0.6017 GB, free: 36.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.449, allocations: 189.9 kB / 0.6019 GB, free: 36.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.4493, allocations: 62.14 kB / 0.602 GB, free: 36.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.4493, allocations: 16.75 kB / 0.602 GB, free: 36.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.4513, allocations: 2.98 MB / 0.6049 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4513, allocations: 7.578 kB / 0.6049 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.4529, allocations: 0.9979 MB / 0.6059 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.4532, allocations: 206.1 kB / 0.6061 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/0.4533, allocations: 19.22 kB / 0.6061 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.4537, allocations: 15.2 kB / 0.6061 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4538, allocations: 38.22 kB / 0.6062 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4538, allocations: 23.83 kB / 0.6062 GB, free: 32.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005378/0.4544, allocations: 421.6 kB / 0.6066 GB, free: 32.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4544, allocations: 0 / 0.6066 GB, free: 32.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008525/0.4552, allocations: 209.3 kB / 0.6068 GB, free: 32.61 MB / 446.1 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.002109/0.4573, allocations: 1.654 MB / 0.6084 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.4587, allocations: 0.582 MB / 0.609 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4587, allocations: 3.531 kB / 0.609 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.4598, allocations: 470.7 kB / 0.6094 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.4614, allocations: 382.4 kB / 0.6098 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008919/0.4704, allocations: 6.549 MB / 0.6162 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.4708, allocations: 0.9366 MB / 0.6171 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007934/0.4716, allocations: 204.4 kB / 0.6173 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.472, allocations: 230.4 kB / 0.6175 GB, free: 26.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.472, allocations: 1.781 kB / 0.6175 GB, free: 26.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04939/0.5213, allocations: 22.24 MB / 0.6392 GB, free: 9.645 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.93, allocations: 8.688 kB / 0.6392 GB, free: 9.641 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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: 16.98017261689529]