Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.InverseModel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 171.3 MB / 179.2 MB, free: 8.168 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.776e-05, allocations: 4 kB / 222.5 MB, free: 8.789 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 38.76 MB / 261.3 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2927/0.4069, allocations: 65.85 MB / 327.1 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.4071, allocations: 63.72 kB / 327.2 MB, free: 6.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009125/0.4163, allocations: 2.157 MB / 329.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.473e-06/0.4163, allocations: 4 kB / 329.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.4164, allocations: 4 kB / 329.3 MB, free: 4.523 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005306/0.4169, allocations: 383.6 kB / 329.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4169, allocations: 12.03 kB / 329.7 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.417, allocations: 10.42 kB / 329.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.4173, allocations: 205.1 kB / 329.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4174, allocations: 4 kB / 329.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.4174, allocations: 10.88 kB / 330 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/0.4175, allocations: 34.12 kB / 330 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4177, allocations: 56.25 kB / 330 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4177, allocations: 0 / 330 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4178, allocations: 0 / 330 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-06/0.4178, allocations: 0 / 330 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.4185, allocations: 393.4 kB / 330.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.4187, allocations: 55.34 kB / 330.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.4187, allocations: 23.73 kB / 330.5 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.4188, allocations: 3.938 kB / 330.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4188, allocations: 35.06 kB / 330.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.772e-06/0.4188, allocations: 4 kB / 330.6 MB, free: 3.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002498/0.4191, allocations: 66.64 kB / 330.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.4191, allocations: 51.41 kB / 330.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.4193, allocations: 131 kB / 330.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.4193, allocations: 29.7 kB / 330.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4195, allocations: 171.4 kB / 331 MB, free: 2.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.4195, allocations: 19.23 kB / 331 MB, free: 2.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-06/0.4195, allocations: 224 / 331 MB, free: 2.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4197, allocations: 318.8 kB / 331.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.4198, allocations: 18.19 kB / 331.3 MB, free: 2.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.4198, allocations: 19.73 kB / 331.4 MB, free: 2.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.532e-05/0.4199, allocations: 14.56 kB / 331.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-06/0.4199, allocations: 0 / 331.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001666/0.4201, allocations: 63.94 kB / 331.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4201, allocations: 4 kB / 331.4 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4201, allocations: 0 / 331.4 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4201, allocations: 4 kB / 331.4 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.4204, allocations: 39.97 kB / 331.5 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.536e-06/0.4205, allocations: 3.984 kB / 331.5 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.4205, allocations: 11.84 kB / 331.5 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4206, allocations: 3.438 kB / 331.5 MB, free: 2.301 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.4207, allocations: 112.9 kB / 331.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.4207, allocations: 7.906 kB / 331.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.4208, allocations: 7.531 kB / 331.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.26e-06/0.4208, allocations: 4 kB / 331.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4208, allocations: 3.984 kB / 331.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.865e-06/0.4208, allocations: 4 kB / 331.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.4211, allocations: 169.3 kB / 331.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.432e-06/0.4211, allocations: 4.828 kB / 331.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.4213, allocations: 23.97 kB / 331.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.228e-06/0.4213, allocations: 4 kB / 331.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4214, allocations: 0 / 331.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4214, allocations: 0 / 331.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.004e-06/0.4214, allocations: 0 / 331.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.4217, allocations: 186.2 kB / 332 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.4218, allocations: 96.61 kB / 332.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.4218, allocations: 0 / 332.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.422, allocations: 1.656 kB / 332.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.422, allocations: 11.92 kB / 332.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.013e-06/0.422, allocations: 0 / 332.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.4222, allocations: 110.5 kB / 332.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.4222, allocations: 0 / 332.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.4225, allocations: 19.97 kB / 332.3 MB, free: 1.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.4227, allocations: 99.25 kB / 332.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.4229, allocations: 35.56 kB / 332.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4229, allocations: 3.938 kB / 332.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.715e-05/0.423, allocations: 27.42 kB / 332.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.4233, allocations: 15.92 kB / 332.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.424, allocations: 207.8 kB / 332.6 MB, free: 1.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.4244, allocations: 0.7041 MB / 333.3 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.4244, allocations: 15.42 kB / 333.4 MB, free: 400 kB / 266.7 MB Notification: Performance of SimCode: time 1.59e-06/0.4245, allocations: 0 / 333.4 MB, free: 400 kB / 266.7 MB Notification: Performance of Templates: time 0.003341/0.4278, allocations: 1.139 MB / 334.5 MB, free: 15.26 MB / 282.7 MB