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 1.848/1.848, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003404, allocations: 15.98 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09068, allocations: 44.52 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002264/0.09299, allocations: 1.329 MB / 310.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.09408, allocations: 500 kB / 310.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.09418, allocations: 4 kB / 310.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.983e-05/0.09427, allocations: 7.922 kB / 310.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.09448, allocations: 19.92 kB / 310.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.09468, allocations: 39.94 kB / 310.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.09488, allocations: 75.78 kB / 311 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.09501, allocations: 21.11 kB / 311 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.09512, allocations: 31.84 kB / 311.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.267e-05/0.09523, allocations: 39.78 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.09526, allocations: 4 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.702e-05/0.09529, allocations: 4 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.09535, allocations: 11.92 kB / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.0954, allocations: 41.64 kB / 311.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.09552, allocations: 51.89 kB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.09553, allocations: 0 / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09555, allocations: 0 / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.09556, allocations: 0 / 311.2 MB, free: 14.18 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.0006347/0.0962, allocations: 407.1 kB / 311.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.09625, allocations: 8.031 kB / 311.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.0963, allocations: 7.906 kB / 311.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.09657, allocations: 207.3 kB / 311.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.09661, allocations: 4 kB / 311.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.09665, allocations: 8 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.0969, allocations: 81.64 kB / 311.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.09692, allocations: 0 / 311.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.09694, allocations: 4 kB / 311.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.09696, allocations: 4 kB / 311.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.09717, allocations: 43.97 kB / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.09789, allocations: 415.8 kB / 312.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.0981, allocations: 62.53 kB / 312.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.09814, allocations: 8 kB / 312.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.09818, allocations: 38.48 kB / 312.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.09819, allocations: 0 / 312.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004064/0.0986, allocations: 101.7 kB / 312.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.09865, allocations: 55.34 kB / 312.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.09882, allocations: 149.4 kB / 312.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.09885, allocations: 25.7 kB / 312.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.09894, allocations: 108.3 kB / 312.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.09898, allocations: 19.72 kB / 312.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.099, allocations: 0 / 312.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.09914, allocations: 322.8 kB / 313.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.09925, allocations: 19.98 kB / 313.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.09936, allocations: 24 kB / 313.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.09948, allocations: 27.97 kB / 313.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.09949, allocations: 0 / 313.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002698/0.09977, allocations: 85.59 kB / 313.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.09981, allocations: 15.94 kB / 313.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.09982, allocations: 0 / 313.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.09984, allocations: 0 / 313.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.1002, allocations: 39.91 kB / 313.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1002, allocations: 0 / 313.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.743e-05/0.1003, allocations: 8 kB / 313.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1003, allocations: 4 kB / 313.5 MB, free: 11.7 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 () * 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.0001039/0.1005, allocations: 117.8 kB / 313.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.1005, allocations: 7.906 kB / 313.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.1006, allocations: 16.25 kB / 313.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1006, allocations: 0 / 313.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1006, allocations: 4 kB / 313.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.1007, allocations: 84.95 kB / 313.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1007, allocations: 4 kB / 313.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1008, allocations: 4 kB / 313.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1009, allocations: 11.98 kB / 313.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005903/0.1015, allocations: 181.1 kB / 313.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004621/0.102, allocations: 294.6 kB / 314.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001135/0.1021, allocations: 24.02 kB / 314.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1022, allocations: 107.8 kB / 314.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of Backend: time 2.855e-06/0.1022, allocations: 0 / 314.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.1026, allocations: 122.3 kB / 314.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of SimCode: time 0.0008887/0.1035, allocations: 0.7191 MB / 315.2 MB, free: 9.914 MB / 266.7 MB Notification: Performance of Templates: time 0.004417/0.108, allocations: 0.8849 MB / 316 MB, free: 9.035 MB / 266.7 MB