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/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.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.62/1.62, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003684, allocations: 16 kB / 233.1 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07132/0.07171, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002102/0.07386, allocations: 1.332 MB / 273.2 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.07492, allocations: 487.5 kB / 273.7 MB, free: 10.37 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.07502, allocations: 0 / 273.7 MB, free: 10.37 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.748e-05/0.07513, allocations: 11.86 kB / 273.7 MB, free: 10.36 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.07531, allocations: 27.89 kB / 273.8 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.0755, allocations: 27.97 kB / 273.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.07569, allocations: 75.78 kB / 273.9 MB, free: 10.23 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.07582, allocations: 33.08 kB / 273.9 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.07594, allocations: 35.86 kB / 273.9 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.07605, allocations: 31.83 kB / 274 MB, free: 10.13 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.07608, allocations: 4 kB / 274 MB, free: 10.13 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.07611, allocations: 4 kB / 274 MB, free: 10.12 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.07617, allocations: 15.92 kB / 274 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.07623, allocations: 37.64 kB / 274 MB, free: 10.07 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.07635, allocations: 59.88 kB / 274.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.657e-06/0.07637, allocations: 0 / 274.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.92e-06/0.07638, allocations: 0 / 274.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.288e-06/0.07639, allocations: 7.938 kB / 274.1 MB, free: 10 MB / 234.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.0006206/0.07702, allocations: 399 kB / 274.5 MB, free: 9.562 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.07708, allocations: 12.03 kB / 274.5 MB, free: 9.551 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.07714, allocations: 7.906 kB / 274.5 MB, free: 9.543 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.07741, allocations: 206.5 kB / 274.7 MB, free: 9.305 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.07744, allocations: 4 kB / 274.7 MB, free: 9.301 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.07749, allocations: 11.98 kB / 274.7 MB, free: 9.289 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.07773, allocations: 85.61 kB / 274.8 MB, free: 9.199 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.976e-06/0.07776, allocations: 0 / 274.8 MB, free: 9.199 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.07778, allocations: 0 / 274.8 MB, free: 9.199 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.037e-06/0.0778, allocations: 4 kB / 274.8 MB, free: 9.195 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.07797, allocations: 43.97 kB / 274.8 MB, free: 9.152 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.07874, allocations: 415.9 kB / 275.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.07896, allocations: 58.58 kB / 275.3 MB, free: 8.617 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.079, allocations: 8 kB / 275.3 MB, free: 8.609 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.07904, allocations: 34.56 kB / 275.4 MB, free: 8.566 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 2.601e-06/0.07906, allocations: 0 / 275.4 MB, free: 8.566 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003803/0.07944, allocations: 105.5 kB / 275.5 MB, free: 8.457 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.07952, allocations: 55.39 kB / 275.5 MB, free: 8.391 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.0797, allocations: 143 kB / 275.6 MB, free: 8.238 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.07974, allocations: 29.7 kB / 275.7 MB, free: 8.203 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.07987, allocations: 174.5 kB / 275.8 MB, free: 8.031 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.07991, allocations: 15.72 kB / 275.9 MB, free: 8.016 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-06/0.07993, allocations: 4 kB / 275.9 MB, free: 8.012 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.0801, allocations: 314.8 kB / 276.2 MB, free: 7.695 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.0802, allocations: 19.98 kB / 276.2 MB, free: 7.676 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.08029, allocations: 19.98 kB / 276.2 MB, free: 7.656 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.199e-05/0.0804, allocations: 28 kB / 276.2 MB, free: 7.629 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.08041, allocations: 0 / 276.2 MB, free: 7.629 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002434/0.08066, allocations: 85.61 kB / 276.3 MB, free: 7.539 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.0807, allocations: 5.875 kB / 276.3 MB, free: 7.535 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.139e-06/0.08072, allocations: 4 kB / 276.3 MB, free: 7.531 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.08074, allocations: 0 / 276.3 MB, free: 7.531 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.08102, allocations: 35.97 kB / 276.4 MB, free: 7.496 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.467e-06/0.08104, allocations: 7.953 kB / 276.4 MB, free: 7.488 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.08113, allocations: 4 kB / 276.4 MB, free: 7.484 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.08116, allocations: 7.984 kB / 276.4 MB, free: 7.477 MB / 234.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.0001297/0.08129, allocations: 117.8 kB / 276.5 MB, free: 7.352 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.08136, allocations: 7.906 kB / 276.5 MB, free: 7.344 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.0814, allocations: 12.25 kB / 276.5 MB, free: 7.336 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.701e-06/0.08142, allocations: 4 kB / 276.5 MB, free: 7.332 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.346e-06/0.08143, allocations: 0 / 276.5 MB, free: 7.332 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.507e-06/0.08145, allocations: 11.89 kB / 276.5 MB, free: 7.32 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.08177, allocations: 205.5 kB / 276.7 MB, free: 7.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.65e-06/0.08179, allocations: 3.984 kB / 276.7 MB, free: 7.066 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.08198, allocations: 20.23 kB / 276.8 MB, free: 7.047 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.698e-06/0.082, allocations: 0 / 276.8 MB, free: 7.047 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.08203, allocations: 8 kB / 276.8 MB, free: 7.039 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.6e-06/0.08204, allocations: 0 / 276.8 MB, free: 7.039 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.005e-06/0.08206, allocations: 3.984 kB / 276.8 MB, free: 7.035 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.08249, allocations: 215.3 kB / 277 MB, free: 6.809 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.36e-05/0.08261, allocations: 93.03 kB / 277.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.4e-05/0.08264, allocations: 0 / 277.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.08278, allocations: 4 kB / 277.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.08283, allocations: 3.984 kB / 277.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.953e-06/0.08285, allocations: 4 kB / 277.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.08298, allocations: 118.8 kB / 277.2 MB, free: 6.574 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.08299, allocations: 0 / 277.2 MB, free: 6.574 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.08332, allocations: 12 kB / 277.2 MB, free: 6.562 MB / 234.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.0001228/0.08346, allocations: 103.2 kB / 277.3 MB, free: 6.449 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.08369, allocations: 47.98 kB / 277.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.08371, allocations: 0 / 277.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.08382, allocations: 35.92 kB / 277.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.08414, allocations: 21.39 kB / 277.4 MB, free: 6.348 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.08492, allocations: 333.3 kB / 277.7 MB, free: 5.988 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.08533, allocations: 0.7043 MB / 278.4 MB, free: 5.258 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.0854, allocations: 11.44 kB / 278.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of SimCode: time 1.288e-06/0.08541, allocations: 0 / 278.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of Templates: time 0.003213/0.08863, allocations: 1.151 MB / 279.6 MB, free: 4.094 MB / 234.7 MB