Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003579, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.6242, allocations: 71.88 MB / 380.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.6246, allocations: 70.12 kB / 381 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01209/0.6367, allocations: 2.17 MB / 383.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.887e-06/0.6368, allocations: 0 / 383.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.6368, allocations: 2.984 kB / 383.2 MB, free: 15.08 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007796/0.6376, allocations: 401.5 kB / 383.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.6377, allocations: 11.42 kB / 383.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.6378, allocations: 12.47 kB / 383.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.6382, allocations: 210 kB / 383.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.6382, allocations: 6.25 kB / 383.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.6383, allocations: 11.44 kB / 383.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.6386, allocations: 79.44 kB / 383.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6387, allocations: 0 / 383.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.6387, allocations: 4.25 kB / 383.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.6387, allocations: 1.375 kB / 383.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.639, allocations: 44.2 kB / 383.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009375/0.6399, allocations: 414.3 kB / 384.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.6402, allocations: 72.64 kB / 384.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6403, allocations: 1.375 kB / 384.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.6403, allocations: 31.44 kB / 384.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.846e-06/0.6403, allocations: 0 / 384.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005325/0.6409, allocations: 108.3 kB / 384.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.6409, allocations: 52.78 kB / 384.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.6411, allocations: 142.2 kB / 384.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.6412, allocations: 28.52 kB / 384.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.6413, allocations: 108.3 kB / 384.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.6413, allocations: 18.55 kB / 384.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.6414, allocations: 3.062 kB / 384.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.6414, allocations: 323.4 kB / 385.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.6416, allocations: 25.36 kB / 385.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.6417, allocations: 22.42 kB / 385.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.6419, allocations: 26.72 kB / 385.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6419, allocations: 0 / 385.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003531/0.6423, allocations: 91.23 kB / 385.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.6423, allocations: 7.516 kB / 385.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6423, allocations: 4.875 kB / 385.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.6424, allocations: 3.953 kB / 385.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.6428, allocations: 37.59 kB / 385.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.6428, allocations: 0 / 385.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.643, allocations: 5.812 kB / 385.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.643, allocations: 5.25 kB / 385.4 MB, free: 13.31 MB / 314.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 () * Number of clocked 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.0001279/0.6431, allocations: 117 kB / 385.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.6432, allocations: 14.17 kB / 385.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.6433, allocations: 9.812 kB / 385.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6433, allocations: 2.625 kB / 385.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6433, allocations: 4.203 kB / 385.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6433, allocations: 0.875 kB / 385.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.6437, allocations: 206.3 kB / 385.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6437, allocations: 1.922 kB / 385.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.644, allocations: 24.31 kB / 385.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6441, allocations: 1.062 kB / 385.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.6441, allocations: 3.344 kB / 385.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6441, allocations: 4 kB / 385.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6441, allocations: 0 / 385.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.6447, allocations: 215.8 kB / 386 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.6447, allocations: 83.3 kB / 386.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.6448, allocations: 1.469 kB / 386.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.645, allocations: 8.328 kB / 386.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.6451, allocations: 7.047 kB / 386.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.6451, allocations: 1.25 kB / 386.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.6452, allocations: 110.5 kB / 386.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6453, allocations: 0 / 386.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005516/0.6458, allocations: 17.41 kB / 386.2 MB, free: 12.66 MB / 314.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 () * Number of clocked 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.0001704/0.646, allocations: 105.6 kB / 386.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.6464, allocations: 55.95 kB / 386.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6464, allocations: 0 / 386.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.6466, allocations: 26.75 kB / 386.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.647, allocations: 17.53 kB / 386.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.6481, allocations: 295.4 kB / 386.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.6484, allocations: 0.7128 MB / 387.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.6485, allocations: 13.73 kB / 387.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.6486, allocations: 11.66 kB / 387.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6486, allocations: 0 / 387.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of Templates: time 0.005368/0.654, allocations: 0.7778 MB / 388.2 MB, free: 11.58 MB / 314.7 MB