Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.551/1.551, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 12 kB / 233.2 MB, free: 3.039 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07278/0.07316, allocations: 38.78 MB / 271.9 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01584/0.08904, allocations: 10.46 MB / 282.4 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.0917, allocations: 1.403 MB / 283.8 MB, free: 276 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.09189, allocations: 0 / 283.8 MB, free: 276 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005581/0.09246, allocations: 143.3 kB / 284 MB, free: 132 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.09299, allocations: 215.4 kB / 284.2 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000775/0.09379, allocations: 215.6 kB / 284.4 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000662/0.09446, allocations: 463.1 kB / 284.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.09468, allocations: 84.52 kB / 284.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007611/0.09545, allocations: 343 kB / 285.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.09577, allocations: 175.3 kB / 285.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.09584, allocations: 19.94 kB / 285.4 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.09598, allocations: 20 kB / 285.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.09611, allocations: 67.78 kB / 285.5 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.09624, allocations: 89.58 kB / 285.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.09673, allocations: 343.2 kB / 285.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.537e-06/0.09675, allocations: 0 / 285.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.09676, allocations: 0 / 285.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.796e-06/0.09678, allocations: 4 kB / 285.9 MB, free: 14.12 MB / 250.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.0009786/0.09777, allocations: 0.5262 MB / 286.5 MB, free: 13.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.09782, allocations: 8.031 kB / 286.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.09817, allocations: 43.7 kB / 286.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.09862, allocations: 274.5 kB / 286.8 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.09866, allocations: 20.56 kB / 286.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.09874, allocations: 24 kB / 286.8 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.09939, allocations: 307.6 kB / 287.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.09942, allocations: 0 / 287.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.09948, allocations: 12 kB / 287.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.09951, allocations: 8 kB / 287.2 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.09998, allocations: 193.5 kB / 287.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.1022, allocations: 1.436 MB / 288.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.1027, allocations: 175.2 kB / 289 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.1027, allocations: 4.188 kB / 289 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1028, allocations: 30.75 kB / 289 MB, free: 10.83 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.749e-06/0.1028, allocations: 4 kB / 289 MB, free: 10.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.003162/0.106, allocations: 1.013 MB / 290 MB, free: 9.742 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.106, allocations: 55.41 kB / 290.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.1064, allocations: 254.6 kB / 290.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.1065, allocations: 29.7 kB / 290.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.1067, allocations: 234.6 kB / 290.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.994e-05/0.1068, allocations: 94.64 kB / 290.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.1068, allocations: 8 kB / 290.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.107, allocations: 334.8 kB / 291 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1072, allocations: 79.97 kB / 291.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.1076, allocations: 186.6 kB / 291.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.1078, allocations: 116 kB / 291.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.831e-06/0.1079, allocations: 8 kB / 291.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009715/0.1089, allocations: 362.8 kB / 291.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1089, allocations: 4.375 kB / 291.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1089, allocations: 8 kB / 291.7 MB, free: 7.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.1093, allocations: 61.67 kB / 291.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.1097, allocations: 71.84 kB / 291.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.1129, allocations: 2.697 MB / 294.6 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.1132, allocations: 23.92 kB / 294.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.1133, allocations: 16 kB / 294.6 MB, free: 4.777 MB / 250.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.0002462/0.1135, allocations: 153.8 kB / 294.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.1136, allocations: 23.72 kB / 294.8 MB, free: 4.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/0.1137, allocations: 38.17 kB / 294.8 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.1137, allocations: 3.953 kB / 294.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.203e-06/0.1138, allocations: 4 kB / 294.8 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008731/0.1146, allocations: 0.5632 MB / 295.4 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.1161, allocations: 0.6991 MB / 296.1 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.356e-06/0.1161, allocations: 0 / 296.1 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.1164, allocations: 43.91 kB / 296.1 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/0.1168, allocations: 60.81 kB / 296.2 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.1168, allocations: 8 kB / 296.2 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.1186, allocations: 1.413 MB / 297.6 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.543e-06/0.1186, allocations: 0 / 297.6 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/0.1196, allocations: 464.8 kB / 298.1 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1197, allocations: 104.8 kB / 298.2 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.1198, allocations: 8 kB / 298.2 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.1201, allocations: 8 kB / 298.2 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.1202, allocations: 23.91 kB / 298.2 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.1202, allocations: 11.98 kB / 298.2 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002735/0.1205, allocations: 186 kB / 298.4 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.1205, allocations: 0 / 298.4 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005844/0.1211, allocations: 88 kB / 298.5 MB, free: 0.5586 MB / 250.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.0001653/0.1213, allocations: 111.2 kB / 298.6 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.1674/0.2887, allocations: 461.3 kB / 299 MB, free: 32.09 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.837e-06/0.2888, allocations: 0 / 299 MB, free: 32.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.2893, allocations: 239.3 kB / 299.3 MB, free: 31.98 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.2904, allocations: 152.1 kB / 299.4 MB, free: 31.97 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.292, allocations: 0.8496 MB / 300.3 MB, free: 31.6 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2922, allocations: 0.7749 MB / 301.1 MB, free: 30.9 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2924, allocations: 28.08 kB / 301.1 MB, free: 30.89 MB / 250.7 MB Notification: Performance of SimCode: time 2.21e-06/0.2924, allocations: 1.375 kB / 301.1 MB, free: 30.89 MB / 250.7 MB Notification: Performance of Templates: time 0.01051/0.3029, allocations: 5.729 MB / 306.8 MB, free: 29.44 MB / 250.7 MB