Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.77/1.77, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003433, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07859, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003218/0.08187, allocations: 1.907 MB / 274.5 MB, free: 9.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.08318, allocations: 0.585 MB / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.08333, allocations: 7.938 kB / 275.1 MB, free: 9.023 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.299e-05/0.08342, allocations: 23.83 kB / 275.1 MB, free: 9 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.08367, allocations: 75.77 kB / 275.2 MB, free: 8.926 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.08393, allocations: 39.95 kB / 275.3 MB, free: 8.887 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.08428, allocations: 183.5 kB / 275.4 MB, free: 8.707 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.0845, allocations: 84.77 kB / 275.5 MB, free: 8.625 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.08468, allocations: 79.7 kB / 275.6 MB, free: 8.547 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.08488, allocations: 91.56 kB / 275.7 MB, free: 8.457 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.08493, allocations: 12 kB / 275.7 MB, free: 8.445 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.085, allocations: 19.94 kB / 275.7 MB, free: 8.426 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.08506, allocations: 31.84 kB / 275.8 MB, free: 8.395 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.08514, allocations: 65.58 kB / 275.8 MB, free: 8.324 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.08542, allocations: 183.8 kB / 276 MB, free: 8.145 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.08543, allocations: 0 / 276 MB, free: 8.145 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.08544, allocations: 0 / 276 MB, free: 8.145 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.08546, allocations: 4 kB / 276 MB, free: 8.141 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000958/0.08643, allocations: 0.491 MB / 276.5 MB, free: 7.602 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.08648, allocations: 8.031 kB / 276.5 MB, free: 7.594 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.984e-05/0.08657, allocations: 27.72 kB / 276.5 MB, free: 7.566 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.0869, allocations: 234.5 kB / 276.8 MB, free: 7.297 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.08694, allocations: 16.44 kB / 276.8 MB, free: 7.281 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.08701, allocations: 23.94 kB / 276.8 MB, free: 7.258 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.08761, allocations: 221.3 kB / 277 MB, free: 7.027 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.08765, allocations: 4 kB / 277 MB, free: 7.023 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.08769, allocations: 8 kB / 277 MB, free: 7.016 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.08771, allocations: 7.984 kB / 277 MB, free: 7.008 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.08828, allocations: 156.5 kB / 277.2 MB, free: 6.855 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.08997, allocations: 0.7918 MB / 278 MB, free: 6 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.09061, allocations: 209 kB / 278.2 MB, free: 5.777 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.09065, allocations: 4.188 kB / 278.2 MB, free: 5.773 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.09069, allocations: 38.56 kB / 278.2 MB, free: 5.727 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 2.454e-06/0.0907, allocations: 0 / 278.2 MB, free: 5.727 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.002362/0.09307, allocations: 0.8854 MB / 279.1 MB, free: 4.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.09314, allocations: 81.11 kB / 279.2 MB, free: 4.652 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.09338, allocations: 178.6 kB / 279.4 MB, free: 4.465 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.09343, allocations: 33.7 kB / 279.4 MB, free: 4.426 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.09355, allocations: 136.4 kB / 279.5 MB, free: 4.289 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.09366, allocations: 94.64 kB / 279.6 MB, free: 4.195 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.09369, allocations: 4 kB / 279.6 MB, free: 4.191 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.09385, allocations: 334.8 kB / 279.9 MB, free: 3.855 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.09411, allocations: 71.91 kB / 280 MB, free: 3.785 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.09442, allocations: 112.2 kB / 280.1 MB, free: 3.66 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.09473, allocations: 86.91 kB / 280.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.09475, allocations: 0 / 280.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007244/0.09548, allocations: 265.4 kB / 280.5 MB, free: 3.312 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.09552, allocations: 4 kB / 280.5 MB, free: 3.309 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.09553, allocations: 0 / 280.5 MB, free: 3.309 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.09556, allocations: 7.953 kB / 280.5 MB, free: 3.301 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.09604, allocations: 63.91 kB / 280.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.09607, allocations: 4 kB / 280.5 MB, free: 3.234 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.09627, allocations: 15.98 kB / 280.6 MB, free: 3.219 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.0963, allocations: 4 kB / 280.6 MB, free: 3.215 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001705/0.09648, allocations: 145.8 kB / 280.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.09658, allocations: 23.72 kB / 280.7 MB, free: 3.039 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.987e-05/0.09667, allocations: 29.86 kB / 280.8 MB, free: 3.016 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.09668, allocations: 3.984 kB / 280.8 MB, free: 3.012 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.0967, allocations: 3.953 kB / 280.8 MB, free: 3.008 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.09683, allocations: 104.9 kB / 280.9 MB, free: 2.887 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.0969, allocations: 15.98 kB / 280.9 MB, free: 2.871 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.09715, allocations: 8 kB / 280.9 MB, free: 2.863 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.09724, allocations: 19.97 kB / 280.9 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001092/0.09834, allocations: 417.6 kB / 281.3 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001083/0.09944, allocations: 0.5602 MB / 281.9 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002925/0.09975, allocations: 87.98 kB / 282 MB, free: 1.766 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.09991, allocations: 132.2 kB / 282.1 MB, free: 1.637 MB / 234.7 MB Notification: Performance of Backend: time 2.615e-06/0.09993, allocations: 4 kB / 282.1 MB, free: 1.633 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006722/0.1006, allocations: 194.2 kB / 282.3 MB, free: 1.438 MB / 234.7 MB Notification: Performance of SimCode: time 0.00193/0.1026, allocations: 1.22 MB / 283.5 MB, free: 168 kB / 234.7 MB Notification: Performance of Templates: time 0.008047/0.1106, allocations: 2.149 MB / 285.7 MB, free: 14.02 MB / 250.7 MB