Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003474, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07743/0.0778, allocations: 44.51 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01513/0.09297, allocations: 10.49 MB / 318.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.09554, allocations: 1.388 MB / 320.2 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.09572, allocations: 4 kB / 320.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.09626, allocations: 147.4 kB / 320.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004781/0.09675, allocations: 203.4 kB / 320.6 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.09755, allocations: 219.6 kB / 320.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.09825, allocations: 475 kB / 321.3 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.09845, allocations: 72.69 kB / 321.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.09923, allocations: 350.9 kB / 321.7 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.09955, allocations: 167.4 kB / 321.8 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.09961, allocations: 12 kB / 321.9 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.09975, allocations: 20 kB / 321.9 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.09988, allocations: 71.78 kB / 321.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1, allocations: 93.52 kB / 322 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.1005, allocations: 339.3 kB / 322.4 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.579e-06/0.1005, allocations: 0 / 322.4 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.056e-06/0.1005, allocations: 3.938 kB / 322.4 MB, free: 2.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.718e-06/0.1005, allocations: 0 / 322.4 MB, free: 2.973 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009718/0.1015, allocations: 0.5263 MB / 322.9 MB, free: 2.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1016, allocations: 8.031 kB / 322.9 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.1019, allocations: 43.61 kB / 322.9 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.1024, allocations: 270.6 kB / 323.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.1024, allocations: 12.56 kB / 323.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.1025, allocations: 24 kB / 323.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.1031, allocations: 307.6 kB / 323.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.1032, allocations: 7.906 kB / 323.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.1032, allocations: 12 kB / 323.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1032, allocations: 4 kB / 323.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.1037, allocations: 201.5 kB / 323.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.106, allocations: 1.425 MB / 325.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.1064, allocations: 183 kB / 325.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.1065, allocations: 12.27 kB / 325.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.1065, allocations: 34.75 kB / 325.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.933e-06/0.1065, allocations: 0 / 325.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.003168/0.1097, allocations: 0.9979 MB / 326.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.1098, allocations: 59.36 kB / 326.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.1102, allocations: 254.5 kB / 326.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.1102, allocations: 33.7 kB / 326.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1104, allocations: 242.6 kB / 327 MB, free: 13.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/0.1105, allocations: 86.75 kB / 327.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.1106, allocations: 4 kB / 327.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1107, allocations: 326.8 kB / 327.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.111, allocations: 91.89 kB / 327.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.1113, allocations: 171.1 kB / 327.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.1116, allocations: 111.9 kB / 327.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-06/0.1116, allocations: 0 / 327.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009663/0.1126, allocations: 367 kB / 328.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1126, allocations: 11.95 kB / 328.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1127, allocations: 7.938 kB / 328.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.113, allocations: 61.67 kB / 328.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.1134, allocations: 67.91 kB / 328.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.1165, allocations: 2.69 MB / 331 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.1169, allocations: 20.06 kB / 331 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.1169, allocations: 15.98 kB / 331 MB, free: 9.652 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.1172, allocations: 149.7 kB / 331.1 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.1173, allocations: 31.67 kB / 331.2 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.617e-05/0.1174, allocations: 42.11 kB / 331.2 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.753e-06/0.1174, allocations: 7.938 kB / 331.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-06/0.1174, allocations: 0 / 331.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008954/0.1183, allocations: 0.5708 MB / 331.8 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1198, allocations: 0.6989 MB / 332.5 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1198, allocations: 0 / 332.5 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.1201, allocations: 39.98 kB / 332.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.1205, allocations: 68.67 kB / 332.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1205, allocations: 7.984 kB / 332.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.1222, allocations: 1.394 MB / 334 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-06/0.1223, allocations: 4.031 kB / 334 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1233, allocations: 481 kB / 334.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1235, allocations: 104.9 kB / 334.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.1235, allocations: 3.984 kB / 334.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.1238, allocations: 12 kB / 334.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.1239, allocations: 24.03 kB / 334.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.1239, allocations: 8 kB / 334.6 MB, free: 5.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002662/0.1242, allocations: 189.9 kB / 334.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.1242, allocations: 0 / 334.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005753/0.1248, allocations: 88 kB / 334.9 MB, free: 5.414 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.125, allocations: 99.25 kB / 335 MB, free: 5.309 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009958/0.126, allocations: 485.1 kB / 335.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.558e-06/0.126, allocations: 0 / 335.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.1265, allocations: 231.4 kB / 335.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1276, allocations: 163.3 kB / 335.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1292, allocations: 0.8599 MB / 336.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.1298, allocations: 0.7645 MB / 337.5 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1299, allocations: 35.44 kB / 337.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1299, allocations: 0 / 337.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of Templates: time 0.01062/0.1405, allocations: 5.726 MB / 343.2 MB, free: 12.96 MB / 298.7 MB