Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Damper.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.63/1.63, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003537, allocations: 12 kB / 233.1 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06913/0.06951, allocations: 38.77 MB / 271.9 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002835/0.0724, allocations: 1.874 MB / 273.8 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005387/0.07297, allocations: 255.2 kB / 274 MB, free: 10.09 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.07313, allocations: 4 kB / 274 MB, free: 10.09 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.69e-05/0.07323, allocations: 27.77 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.07349, allocations: 99.72 kB / 274.2 MB, free: 9.961 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.07367, allocations: 43.95 kB / 274.2 MB, free: 9.918 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.07401, allocations: 203.4 kB / 274.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.07422, allocations: 73.67 kB / 274.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.07436, allocations: 91.59 kB / 274.6 MB, free: 9.551 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.07454, allocations: 107.5 kB / 274.7 MB, free: 9.445 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.07459, allocations: 12 kB / 274.7 MB, free: 9.434 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.07465, allocations: 16 kB / 274.7 MB, free: 9.418 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.07471, allocations: 35.84 kB / 274.7 MB, free: 9.383 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.167e-05/0.07481, allocations: 77.52 kB / 274.8 MB, free: 9.301 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.07511, allocations: 211.6 kB / 275 MB, free: 9.094 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.656e-06/0.07513, allocations: 0 / 275 MB, free: 9.094 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.116e-06/0.07514, allocations: 0 / 275 MB, free: 9.094 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.07516, allocations: 0 / 275 MB, free: 9.094 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008151/0.07598, allocations: 0.499 MB / 275.5 MB, free: 8.547 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.07604, allocations: 12.03 kB / 275.5 MB, free: 8.535 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.07612, allocations: 27.62 kB / 275.6 MB, free: 8.508 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.07647, allocations: 243.3 kB / 275.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.07652, allocations: 20.52 kB / 275.8 MB, free: 8.207 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.07659, allocations: 24 kB / 275.8 MB, free: 8.184 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.0771, allocations: 243.5 kB / 276.1 MB, free: 7.93 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.07714, allocations: 7.844 kB / 276.1 MB, free: 7.922 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.07719, allocations: 12 kB / 276.1 MB, free: 7.91 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.842e-06/0.07721, allocations: 4 kB / 276.1 MB, free: 7.906 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.07761, allocations: 155.4 kB / 276.3 MB, free: 7.758 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.07901, allocations: 0.805 MB / 277.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.07971, allocations: 295.6 kB / 277.3 MB, free: 6.578 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.07975, allocations: 4 kB / 277.4 MB, free: 6.574 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.0798, allocations: 38.81 kB / 277.4 MB, free: 6.527 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 3.089e-06/0.07981, allocations: 4 kB / 277.4 MB, free: 6.523 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.003663/0.08349, allocations: 1.941 MB / 279.3 MB, free: 4.32 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.08361, allocations: 106.8 kB / 279.4 MB, free: 4.191 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.08389, allocations: 206.3 kB / 279.6 MB, free: 3.977 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.08394, allocations: 33.64 kB / 279.7 MB, free: 3.938 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.08409, allocations: 199.2 kB / 279.9 MB, free: 3.742 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.08429, allocations: 165.6 kB / 280 MB, free: 3.578 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.08434, allocations: 12 kB / 280 MB, free: 3.566 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.08453, allocations: 330.8 kB / 280.4 MB, free: 3.234 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.08476, allocations: 84.84 kB / 280.4 MB, free: 3.152 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.08506, allocations: 158.3 kB / 280.6 MB, free: 2.977 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.08536, allocations: 113.7 kB / 280.7 MB, free: 2.867 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-06/0.08538, allocations: 0 / 280.7 MB, free: 2.867 MB / 234.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007237/0.08611, allocations: 333.6 kB / 281 MB, free: 2.539 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.08615, allocations: 8 kB / 281 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.367e-06/0.08617, allocations: 3.938 kB / 281.1 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.0862, allocations: 4 kB / 281.1 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.08665, allocations: 91.89 kB / 281.1 MB, free: 2.434 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.08668, allocations: 4.094 kB / 281.1 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.08685, allocations: 12 kB / 281.2 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.0869, allocations: 16 kB / 281.2 MB, free: 2.402 MB / 234.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.0002139/0.08712, allocations: 153.7 kB / 281.3 MB, free: 2.242 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.08726, allocations: 27.77 kB / 281.4 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.08737, allocations: 41.84 kB / 281.4 MB, free: 2.176 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.08739, allocations: 4 kB / 281.4 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.08741, allocations: 4 kB / 281.4 MB, free: 2.168 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.481e-06/0.08743, allocations: 7.984 kB / 281.4 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.08943, allocations: 1.039 MB / 282.4 MB, free: 1.035 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.965e-06/0.08947, allocations: 0 / 282.4 MB, free: 1.035 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.08998, allocations: 95.83 kB / 282.5 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.09001, allocations: 12.17 kB / 282.6 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.09005, allocations: 12 kB / 282.6 MB, free: 0.918 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.09007, allocations: 8 kB / 282.6 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.39e-06/0.09009, allocations: 4.406 kB / 282.6 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.09118, allocations: 0.7172 MB / 283.3 MB, free: 148 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.09131, allocations: 104.7 kB / 283.4 MB, free: 24 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.09139, allocations: 23.94 kB / 283.4 MB, free: 0 / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.09174, allocations: 12.05 kB / 283.4 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.09182, allocations: 27.97 kB / 283.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.09186, allocations: 16 kB / 283.5 MB, free: 15.94 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.09203, allocations: 136.2 kB / 283.6 MB, free: 15.81 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.09204, allocations: 0 / 283.6 MB, free: 15.81 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006028/0.09265, allocations: 72 kB / 283.7 MB, free: 15.74 MB / 250.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.0001573/0.09282, allocations: 119.3 kB / 283.8 MB, free: 15.61 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.09343, allocations: 266 kB / 284.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.711e-06/0.09345, allocations: 0 / 284.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.09375, allocations: 143.7 kB / 284.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.09437, allocations: 56.72 kB / 284.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.09639, allocations: 1.121 MB / 285.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.09692, allocations: 0.7763 MB / 286.1 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.09705, allocations: 31.44 kB / 286.2 MB, free: 13.14 MB / 250.7 MB Notification: Performance of SimCode: time 1.792e-06/0.09707, allocations: 0 / 286.2 MB, free: 13.14 MB / 250.7 MB Notification: Performance of Templates: time 0.006936/0.104, allocations: 3.342 MB / 289.5 MB, free: 9.793 MB / 250.7 MB