Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.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.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.2_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.00033, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09225, allocations: 44.52 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003467/0.09577, allocations: 1.896 MB / 311 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.09749, allocations: 0.5856 MB / 311.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.09769, allocations: 11.94 kB / 311.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.043e-05/0.0978, allocations: 27.77 kB / 311.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.09813, allocations: 71.83 kB / 311.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.09843, allocations: 47.89 kB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.09887, allocations: 171.6 kB / 311.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.09916, allocations: 81.33 kB / 311.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.09938, allocations: 75.72 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.09964, allocations: 95.59 kB / 312.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.09971, allocations: 12 kB / 312.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.21e-05/0.09978, allocations: 8 kB / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.09986, allocations: 35.86 kB / 312.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.09997, allocations: 69.56 kB / 312.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.1003, allocations: 175.8 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1003, allocations: 0 / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1004, allocations: 0 / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1004, allocations: 0 / 312.4 MB, free: 12.98 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001186/0.1016, allocations: 0.4949 MB / 312.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1016, allocations: 8.031 kB / 312.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.468e-05/0.1017, allocations: 27.67 kB / 312.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1021, allocations: 235.3 kB / 313.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.1022, allocations: 16.44 kB / 313.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/0.1023, allocations: 20 kB / 313.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007898/0.1031, allocations: 221.3 kB / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1031, allocations: 7.938 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.1032, allocations: 4 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1032, allocations: 4 kB / 313.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.104, allocations: 152.5 kB / 313.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.1063, allocations: 0.7958 MB / 314.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/0.1072, allocations: 213 kB / 314.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.1073, allocations: 3.984 kB / 314.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.1074, allocations: 38.56 kB / 314.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/0.1074, allocations: 0 / 314.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003451/0.1108, allocations: 0.8829 MB / 315.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.1109, allocations: 85.11 kB / 315.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.1113, allocations: 174.3 kB / 315.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.1113, allocations: 29.7 kB / 315.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1115, allocations: 140.3 kB / 315.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.1116, allocations: 94.66 kB / 316 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.1117, allocations: 4 kB / 316 MB, free: 9.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1119, allocations: 326.8 kB / 316.3 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.1123, allocations: 79.94 kB / 316.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.1127, allocations: 104.2 kB / 316.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.1132, allocations: 87.94 kB / 316.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1132, allocations: 0 / 316.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.02124/0.1345, allocations: 253.7 kB / 316.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.1345, allocations: 8.094 kB / 316.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1346, allocations: 4 kB / 316.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.1346, allocations: 3.984 kB / 316.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.1353, allocations: 63.91 kB / 316.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.1353, allocations: 0 / 316.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.1356, allocations: 12 kB / 317 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.1356, allocations: 12 kB / 317 MB, free: 8.07 MB / 266.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.0002363/0.1359, allocations: 138.3 kB / 317.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.136, allocations: 27.77 kB / 317.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.1362, allocations: 25.88 kB / 317.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.1362, allocations: 3.984 kB / 317.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1362, allocations: 0 / 317.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1363, allocations: 104.7 kB / 317.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.1364, allocations: 8 kB / 317.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.1368, allocations: 8 kB / 317.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.1369, allocations: 23.91 kB / 317.3 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001528/0.1385, allocations: 405 kB / 317.7 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001539/0.14, allocations: 0.5663 MB / 318.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004097/0.1405, allocations: 100.1 kB / 318.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1407, allocations: 123.2 kB / 318.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of Backend: time 1.062e-06/0.1407, allocations: 0 / 318.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01318/0.1539, allocations: 204.3 kB / 318.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of SimCode: time 0.003043/0.157, allocations: 1.219 MB / 319.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of Templates: time 0.02424/0.1813, allocations: 2.14 MB / 322 MB, free: 2.906 MB / 266.7 MB