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.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 15.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.09094, allocations: 44.5 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003116/0.09411, allocations: 1.878 MB / 310.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006186/0.09476, allocations: 247.2 kB / 311.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.09492, allocations: 4 kB / 311.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.655e-05/0.09501, allocations: 31.75 kB / 311.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.09531, allocations: 99.72 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.09551, allocations: 47.89 kB / 311.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.09589, allocations: 195.6 kB / 311.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.09611, allocations: 77.66 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.09626, allocations: 95.64 kB / 311.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.09648, allocations: 99.55 kB / 311.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.09653, allocations: 12 kB / 311.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.137e-05/0.0966, allocations: 16 kB / 311.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.09667, allocations: 39.83 kB / 311.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.09676, allocations: 73.58 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.0971, allocations: 207.6 kB / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.09712, allocations: 0 / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.09713, allocations: 0 / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.09714, allocations: 0 / 312.1 MB, free: 13.26 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009705/0.09812, allocations: 0.4989 MB / 312.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.09819, allocations: 15.97 kB / 312.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.09827, allocations: 23.72 kB / 312.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.09864, allocations: 247.2 kB / 312.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.09868, allocations: 20.56 kB / 312.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.09876, allocations: 27.91 kB / 313 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.09935, allocations: 239.3 kB / 313.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.0994, allocations: 4 kB / 313.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.09945, allocations: 11.94 kB / 313.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.09947, allocations: 8 kB / 313.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.09992, allocations: 164.4 kB / 313.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.1015, allocations: 0.7971 MB / 314.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000763/0.1023, allocations: 287.7 kB / 314.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1023, allocations: 7.953 kB / 314.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.1024, allocations: 42.55 kB / 314.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 3.897e-06/0.1024, allocations: 0 / 314.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.004068/0.1065, allocations: 1.95 MB / 316.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.1066, allocations: 110.8 kB / 316.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1069, allocations: 186.3 kB / 316.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1069, allocations: 29.7 kB / 316.8 MB, free: 8.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1071, allocations: 144.8 kB / 316.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.1072, allocations: 161.6 kB / 317.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.1073, allocations: 12 kB / 317.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1075, allocations: 338.8 kB / 317.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.1077, allocations: 92.78 kB / 317.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.108, allocations: 158.3 kB / 317.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.1084, allocations: 112.7 kB / 317.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1084, allocations: 0 / 317.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008637/0.1093, allocations: 343.4 kB / 318.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1093, allocations: 4 kB / 318.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1093, allocations: 4 kB / 318.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.1094, allocations: 12.08 kB / 318.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.11, allocations: 87.91 kB / 318.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.11, allocations: 4 kB / 318.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1102, allocations: 12 kB / 318.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1103, allocations: 12 kB / 318.3 MB, free: 6.598 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0002164/0.1105, allocations: 153.7 kB / 318.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1106, allocations: 27.7 kB / 318.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1107, allocations: 37.88 kB / 318.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.1108, allocations: 3.984 kB / 318.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1108, allocations: 4.938 kB / 318.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.1109, allocations: 104.8 kB / 318.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.111, allocations: 12 kB / 318.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.1113, allocations: 7.953 kB / 318.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1113, allocations: 27.95 kB / 318.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001378/0.1127, allocations: 0.5827 MB / 319.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001236/0.114, allocations: 0.7472 MB / 320 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002924/0.1143, allocations: 124 kB / 320.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1145, allocations: 135.2 kB / 320.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of Backend: time 6.11e-07/0.1145, allocations: 0 / 320.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.1153, allocations: 247.1 kB / 320.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of SimCode: time 0.002448/0.1178, allocations: 1.432 MB / 321.9 MB, free: 2.867 MB / 266.7 MB Notification: Performance of Templates: time 0.01023/0.128, allocations: 2.976 MB / 324.9 MB, free: 15.89 MB / 282.7 MB