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.Air.SimpleAir.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.Air.SimpleAir,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.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.53/1.53, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 8 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06883/0.0692, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.403/0.4722, allocations: 121.7 MB / 393.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.4751, allocations: 1.504 MB / 395.2 MB, free: 3.539 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.4753, allocations: 7.875 kB / 395.2 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.4759, allocations: 143.4 kB / 395.3 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.4764, allocations: 215.4 kB / 395.5 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.4776, allocations: 351.8 kB / 395.9 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006936/0.4783, allocations: 474.9 kB / 396.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.4785, allocations: 76.12 kB / 396.4 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006408/0.4791, allocations: 311.1 kB / 396.7 MB, free: 1.992 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.4795, allocations: 223.2 kB / 396.9 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.4796, allocations: 12 kB / 397 MB, free: 1.762 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.48, allocations: 95.89 kB / 397.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.4801, allocations: 75.77 kB / 397.1 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4802, allocations: 89.58 kB / 397.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.4808, allocations: 389.8 kB / 397.6 MB, free: 1.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.699e-06/0.4808, allocations: 0 / 397.6 MB, free: 1.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.849e-06/0.4808, allocations: 0 / 397.6 MB, free: 1.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4808, allocations: 0 / 397.6 MB, free: 1.121 MB / 314.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.0008992/0.4818, allocations: 0.5276 MB / 398.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4818, allocations: 15.97 kB / 398.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.4822, allocations: 35.72 kB / 398.2 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.4826, allocations: 286.5 kB / 398.5 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.4827, allocations: 16.56 kB / 398.5 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.4827, allocations: 24 kB / 398.5 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.4834, allocations: 293.4 kB / 398.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4834, allocations: 4 kB / 398.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.4835, allocations: 12 kB / 398.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.4835, allocations: 11.95 kB / 398.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.484, allocations: 206.1 kB / 399 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.4863, allocations: 1.293 MB / 400.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.4868, allocations: 187.2 kB / 400.5 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.487, allocations: 162.4 kB / 400.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.487, allocations: 42.73 kB / 400.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.95e-06/0.4871, allocations: 0 / 400.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.00315/0.4902, allocations: 1.041 MB / 401.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.4903, allocations: 55.41 kB / 401.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.4907, allocations: 250.6 kB / 402 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.4908, allocations: 37.7 kB / 402.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.4909, allocations: 238.5 kB / 402.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.864e-05/0.4911, allocations: 94.64 kB / 402.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.4911, allocations: 8 kB / 402.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4913, allocations: 326.8 kB / 402.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.4916, allocations: 83.91 kB / 402.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.4919, allocations: 187.5 kB / 403 MB, free: 11.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.4922, allocations: 112 kB / 403.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-06/0.4922, allocations: 0 / 403.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008992/0.4931, allocations: 432.1 kB / 403.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4931, allocations: 4 kB / 403.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4931, allocations: 4 kB / 403.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.4934, allocations: 41.64 kB / 403.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.4938, allocations: 79.89 kB / 403.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.4965, allocations: 2.58 MB / 406.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.4969, allocations: 24.25 kB / 406.2 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.4969, allocations: 12 kB / 406.3 MB, free: 7.703 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.4972, allocations: 161.7 kB / 406.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.4973, allocations: 27.62 kB / 406.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.4981, allocations: 358.9 kB / 406.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.943e-06/0.4981, allocations: 4 kB / 406.8 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.966e-06/0.4981, allocations: 0 / 406.8 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007774/0.4989, allocations: 0.6189 MB / 407.4 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.5003, allocations: 0.747 MB / 408.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.5003, allocations: 11.94 kB / 408.2 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.5007, allocations: 55.91 kB / 408.2 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.5009, allocations: 20.84 kB / 408.2 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.5009, allocations: 8 kB / 408.2 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.5022, allocations: 1.28 MB / 409.5 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.355e-06/0.5022, allocations: 3.984 kB / 409.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.5032, allocations: 0.512 MB / 410 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.5033, allocations: 100.8 kB / 410.1 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.5034, allocations: 11.92 kB / 410.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.5038, allocations: 12 kB / 410.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.5038, allocations: 20.03 kB / 410.2 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.5039, allocations: 23.92 kB / 410.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002646/0.5042, allocations: 186 kB / 410.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5042, allocations: 0 / 410.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006223/0.5048, allocations: 103.9 kB / 410.5 MB, free: 3.039 MB / 330.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 (25): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002436/0.5051, allocations: 123.2 kB / 410.6 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008692/0.506, allocations: 461.5 kB / 411.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.634e-06/0.506, allocations: 0 / 411.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.5064, allocations: 214.5 kB / 411.3 MB, free: 2.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5074, allocations: 160.9 kB / 411.4 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.509, allocations: 0.838 MB / 412.3 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.5095, allocations: 0.7686 MB / 413 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.5096, allocations: 35.42 kB / 413.1 MB, free: 356 kB / 330.7 MB Notification: Performance of SimCode: time 1.386e-06/0.5097, allocations: 0 / 413.1 MB, free: 356 kB / 330.7 MB Notification: Performance of Templates: time 0.01153/0.5212, allocations: 6.152 MB / 419.2 MB, free: 10.21 MB / 346.7 MB