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.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.702/1.702, allocations: 171.2 MB / 184.2 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.719e-05, allocations: 4 kB / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2123, allocations: 38.77 MB / 267.6 MB, free: 9.461 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.411/1.623, allocations: 0.6308 GB / 0.8921 GB, free: 25.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/1.624, allocations: 78.83 kB / 0.8921 GB, free: 25.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452/3.075, allocations: 473 MB / 1.354 GB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.088e-06/3.075, allocations: 4 kB / 1.354 GB, free: 1.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/3.075, allocations: 4 kB / 1.354 GB, free: 1.449 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001235/3.077, allocations: 0.7098 MB / 1.355 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/3.077, allocations: 8.031 kB / 1.355 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/3.077, allocations: 55.61 kB / 1.355 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/3.078, allocations: 286.5 kB / 1.355 GB, free: 320 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/3.078, allocations: 20.56 kB / 1.355 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/3.078, allocations: 28 kB / 1.355 GB, free: 268 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.198/3.276, allocations: 325.2 kB / 1.355 GB, free: 84.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/3.276, allocations: 1.656 kB / 1.355 GB, free: 84.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/3.276, allocations: 19.12 kB / 1.355 GB, free: 84.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/3.276, allocations: 6.469 kB / 1.355 GB, free: 84.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/3.277, allocations: 204.9 kB / 1.356 GB, free: 84.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/3.289, allocations: 5.523 MB / 1.361 GB, free: 81.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/3.29, allocations: 167.7 kB / 1.361 GB, free: 81.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/3.29, allocations: 84.64 kB / 1.361 GB, free: 81.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/3.3, allocations: 3.502 MB / 1.365 GB, free: 79.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/3.3, allocations: 40.47 kB / 1.365 GB, free: 79.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 4.258e-06/3.3, allocations: 0 / 1.365 GB, free: 79.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.007114/3.307, allocations: 1.259 MB / 1.366 GB, free: 79.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/3.307, allocations: 55.25 kB / 1.366 GB, free: 79.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/3.308, allocations: 226.7 kB / 1.366 GB, free: 79.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/3.308, allocations: 36.42 kB / 1.366 GB, free: 79.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/3.308, allocations: 245.4 kB / 1.367 GB, free: 79.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/3.308, allocations: 94.14 kB / 1.367 GB, free: 78.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/3.308, allocations: 7.594 kB / 1.367 GB, free: 78.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/3.308, allocations: 329 kB / 1.367 GB, free: 78.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/3.308, allocations: 85.97 kB / 1.367 GB, free: 78.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/3.309, allocations: 182.2 kB / 1.367 GB, free: 78.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/3.309, allocations: 125.7 kB / 1.367 GB, free: 78.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.136e-06/3.309, allocations: 0 / 1.367 GB, free: 78.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009154/3.31, allocations: 373.4 kB / 1.368 GB, free: 78.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/3.31, allocations: 12.23 kB / 1.368 GB, free: 78.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/3.31, allocations: 3.906 kB / 1.368 GB, free: 78.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/3.315, allocations: 454.1 kB / 1.368 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/3.315, allocations: 65.69 kB / 1.368 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/3.316, allocations: 1.879 MB / 1.37 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/3.317, allocations: 26.75 kB / 1.37 GB, free: 76.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/3.317, allocations: 14.38 kB / 1.37 GB, free: 76.7 MB / 362.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 () * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001181/3.317, allocations: 131.7 kB / 1.37 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/3.317, allocations: 26.31 kB / 1.37 GB, free: 76.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009557/3.318, allocations: 0.4895 MB / 1.371 GB, free: 76.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/3.318, allocations: 2.656 kB / 1.371 GB, free: 76.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/3.318, allocations: 3.688 kB / 1.371 GB, free: 76.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006976/3.319, allocations: 0.7093 MB / 1.371 GB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/3.32, allocations: 0.9437 MB / 1.372 GB, free: 75.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.799e-06/3.32, allocations: 0 / 1.372 GB, free: 75.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/3.321, allocations: 47.39 kB / 1.372 GB, free: 75.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/3.323, allocations: 304.1 kB / 1.373 GB, free: 75.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/3.323, allocations: 6.188 kB / 1.373 GB, free: 75.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000512/3.323, allocations: 0.6408 MB / 1.373 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/3.323, allocations: 6.844 kB / 1.373 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/3.325, allocations: 0.7203 MB / 1.374 GB, free: 74.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/3.325, allocations: 110.7 kB / 1.374 GB, free: 74.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/3.325, allocations: 4.75 kB / 1.374 GB, free: 74.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/3.325, allocations: 16.58 kB / 1.374 GB, free: 74.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/3.325, allocations: 24.73 kB / 1.374 GB, free: 74.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/3.325, allocations: 7.562 kB / 1.374 GB, free: 74.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002143/3.325, allocations: 183.2 kB / 1.374 GB, free: 74.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.641e-06/3.325, allocations: 0 / 1.374 GB, free: 74.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001023/3.326, allocations: 211.2 kB / 1.375 GB, free: 74.79 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/3.328, allocations: 480.3 kB / 1.375 GB, free: 74.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009502/3.329, allocations: 446 kB / 1.375 GB, free: 74.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.903e-06/3.329, allocations: 0 / 1.375 GB, free: 74.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006502/3.33, allocations: 232 kB / 1.376 GB, free: 74.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/3.331, allocations: 168.2 kB / 1.376 GB, free: 74.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/3.332, allocations: 0.6016 MB / 1.376 GB, free: 74.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/3.332, allocations: 0.7895 MB / 1.377 GB, free: 73.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/3.332, allocations: 29.41 kB / 1.377 GB, free: 73.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.744e-06/3.332, allocations: 0 / 1.377 GB, free: 73.66 MB / 362.7 MB Notification: Performance of Templates: time 0.01423/3.347, allocations: 9.219 MB / 1.386 GB, free: 73.16 MB / 362.7 MB