Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Damper.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 8 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07869/0.07908, allocations: 44.52 MB / 308.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002813/0.08194, allocations: 1.878 MB / 310.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005252/0.0825, allocations: 243.2 kB / 310.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.08266, allocations: 7.938 kB / 310.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.268e-05/0.08274, allocations: 27.77 kB / 310.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.083, allocations: 107.7 kB / 310.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.08317, allocations: 39.95 kB / 310.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.0835, allocations: 199.6 kB / 310.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.08369, allocations: 65.7 kB / 310.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.08383, allocations: 91.7 kB / 311 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.08401, allocations: 111.5 kB / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.08407, allocations: 12 kB / 311.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-05/0.08412, allocations: 12 kB / 311.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.08418, allocations: 35.84 kB / 311.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.806e-05/0.08427, allocations: 73.58 kB / 311.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.08457, allocations: 207.6 kB / 311.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.411e-06/0.08458, allocations: 0 / 311.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.0846, allocations: 4 kB / 311.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.944e-06/0.08461, allocations: 0 / 311.5 MB, free: 13.93 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.0008066/0.08543, allocations: 0.5028 MB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.08548, allocations: 8.031 kB / 312 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.08556, allocations: 27.72 kB / 312 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.0859, allocations: 247.2 kB / 312.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.08596, allocations: 24.56 kB / 312.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.08603, allocations: 27.91 kB / 312.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.08654, allocations: 239.2 kB / 312.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.08658, allocations: 8 kB / 312.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.08662, allocations: 4 kB / 312.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.08664, allocations: 8 kB / 312.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.08704, allocations: 163.8 kB / 312.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.08844, allocations: 0.801 MB / 313.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.08911, allocations: 287.7 kB / 313.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.08915, allocations: 3.953 kB / 313.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.0892, allocations: 46.5 kB / 313.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.817e-06/0.08922, allocations: 0 / 313.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.003598/0.09282, allocations: 1.935 MB / 315.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.09293, allocations: 110.8 kB / 315.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.09319, allocations: 194.3 kB / 316.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.09324, allocations: 33.7 kB / 316.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.09339, allocations: 199.2 kB / 316.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.09356, allocations: 161.6 kB / 316.4 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.0936, allocations: 12 kB / 316.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.09378, allocations: 326.8 kB / 316.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.09401, allocations: 88.84 kB / 316.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.09432, allocations: 158.3 kB / 317 MB, free: 7.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.09461, allocations: 124.4 kB / 317.1 MB, free: 7.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.88e-06/0.09463, allocations: 0 / 317.1 MB, free: 7.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006985/0.09533, allocations: 322.4 kB / 317.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.09537, allocations: 8.938 kB / 317.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.178e-06/0.09539, allocations: 0 / 317.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.09542, allocations: 12.08 kB / 317.5 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.09586, allocations: 95.84 kB / 317.6 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.09588, allocations: 4 kB / 317.6 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.09604, allocations: 8.047 kB / 317.6 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.09609, allocations: 23.94 kB / 317.6 MB, free: 7.223 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.0001986/0.09629, allocations: 153.8 kB / 317.8 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.09643, allocations: 27.62 kB / 317.8 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.56e-05/0.09653, allocations: 33.88 kB / 317.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.09656, allocations: 11.94 kB / 317.8 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.344e-06/0.09657, allocations: 4 kB / 317.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.09659, allocations: 3.984 kB / 317.8 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.09856, allocations: 1.054 MB / 318.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.827e-06/0.09858, allocations: 0 / 318.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.09907, allocations: 88.19 kB / 319 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.0991, allocations: 8 kB / 319 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.09915, allocations: 12 kB / 319 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.09917, allocations: 11.92 kB / 319 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.108e-06/0.09919, allocations: 8 kB / 319 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.1003, allocations: 0.7132 MB / 319.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1004, allocations: 104.8 kB / 319.8 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.1005, allocations: 12.06 kB / 319.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.1008, allocations: 12 kB / 319.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.1009, allocations: 35.86 kB / 319.9 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.1009, allocations: 23.92 kB / 319.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1011, allocations: 127.2 kB / 320 MB, free: 4.629 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.97e-07/0.1011, allocations: 0 / 320 MB, free: 4.629 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005865/0.1017, allocations: 72 kB / 320.1 MB, free: 4.559 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0001536/0.1018, allocations: 119.2 kB / 320.2 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005841/0.1024, allocations: 251.7 kB / 320.5 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.757e-06/0.1024, allocations: 4 kB / 320.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.1027, allocations: 144.3 kB / 320.6 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.1034, allocations: 56.38 kB / 320.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1053, allocations: 1.125 MB / 321.8 MB, free: 2.793 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.1058, allocations: 0.7725 MB / 322.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.106, allocations: 31.44 kB / 322.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of SimCode: time 1.744e-06/0.106, allocations: 0 / 322.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of Templates: time 0.006885/0.1129, allocations: 3.338 MB / 325.9 MB, free: 14.63 MB / 282.7 MB