Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 0.9846/0.9846, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002648, allocations: 7.984 kB / 158.2 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04524/0.04553, allocations: 25.17 MB / 183.4 MB, free: 6.004 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002503/0.04807, allocations: 1.721 MB / 185.1 MB, free: 4.281 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.04904, allocations: 0.4955 MB / 185.6 MB, free: 3.781 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.04918, allocations: 4 kB / 185.6 MB, free: 3.777 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.034e-05/0.04926, allocations: 27.78 kB / 185.7 MB, free: 3.75 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.04948, allocations: 79.75 kB / 185.7 MB, free: 3.672 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.0497, allocations: 43.95 kB / 185.8 MB, free: 3.629 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.05001, allocations: 171.6 kB / 186 MB, free: 3.461 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.05021, allocations: 69.33 kB / 186 MB, free: 3.395 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.05038, allocations: 75.72 kB / 186.1 MB, free: 3.32 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.05057, allocations: 99.53 kB / 186.2 MB, free: 3.223 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.05062, allocations: 16 kB / 186.2 MB, free: 3.207 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.044e-05/0.05067, allocations: 8 kB / 186.2 MB, free: 3.199 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.05073, allocations: 31.86 kB / 186.3 MB, free: 3.168 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.05082, allocations: 69.56 kB / 186.3 MB, free: 3.094 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.05108, allocations: 175.7 kB / 186.5 MB, free: 2.922 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.76e-06/0.05109, allocations: 4 kB / 186.5 MB, free: 2.918 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.965e-06/0.0511, allocations: 0 / 186.5 MB, free: 2.918 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.05112, allocations: 0 / 186.5 MB, free: 2.918 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008/0.05194, allocations: 0.4911 MB / 187 MB, free: 2.379 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.05198, allocations: 8.031 kB / 187 MB, free: 2.371 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.05206, allocations: 23.72 kB / 187 MB, free: 2.348 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.05238, allocations: 234.5 kB / 187.2 MB, free: 2.078 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.05242, allocations: 16.44 kB / 187.3 MB, free: 2.062 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.05248, allocations: 19.98 kB / 187.3 MB, free: 2.043 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.05301, allocations: 217.8 kB / 187.5 MB, free: 1.816 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.05305, allocations: 3.953 kB / 187.5 MB, free: 1.812 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.05309, allocations: 8 kB / 187.5 MB, free: 1.805 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.05311, allocations: 8 kB / 187.5 MB, free: 1.797 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.05357, allocations: 149.1 kB / 187.7 MB, free: 1.652 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.05509, allocations: 0.789 MB / 188.4 MB, free: 0.7969 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.05564, allocations: 197 kB / 188.6 MB, free: 0.5859 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.05568, allocations: 4 kB / 188.6 MB, free: 0.582 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.05573, allocations: 34.56 kB / 188.7 MB, free: 0.5391 MB / 154.7 MB Notification: Performance of pre-optimization done (n=21): time 2.916e-06/0.05574, allocations: 0 / 188.7 MB, free: 0.5391 MB / 154.7 MB Notification: Performance of matching and sorting (n=25): time 0.002086/0.05783, allocations: 0.8599 MB / 189.5 MB, free: 15.58 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.05792, allocations: 81.11 kB / 189.6 MB, free: 15.48 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.05815, allocations: 174.8 kB / 189.8 MB, free: 15.3 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.05819, allocations: 29.7 kB / 189.8 MB, free: 15.27 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.05834, allocations: 206.7 kB / 190 MB, free: 15.06 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.181e-05/0.05845, allocations: 86.58 kB / 190.1 MB, free: 14.98 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.05848, allocations: 8 kB / 190.1 MB, free: 14.97 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.05866, allocations: 326.8 kB / 190.4 MB, free: 14.64 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.05889, allocations: 75.89 kB / 190.5 MB, free: 14.57 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.05915, allocations: 112.2 kB / 190.6 MB, free: 14.45 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.05941, allocations: 78.75 kB / 190.7 MB, free: 14.37 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-06/0.05943, allocations: 0 / 190.7 MB, free: 14.37 MB / 170.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006142/0.06005, allocations: 237.4 kB / 190.9 MB, free: 14.13 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.06009, allocations: 4 kB / 190.9 MB, free: 14.13 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.63e-06/0.0601, allocations: 4 kB / 190.9 MB, free: 14.12 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.06013, allocations: 0 / 190.9 MB, free: 14.12 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.06046, allocations: 59.91 kB / 191 MB, free: 14.07 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.06049, allocations: 4 kB / 191 MB, free: 14.06 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.06065, allocations: 15.98 kB / 191 MB, free: 14.05 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.06069, allocations: 16 kB / 191 MB, free: 14.03 MB / 170.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 (31): * Single equations (assignments): 31 * 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.0001688/0.06088, allocations: 145.6 kB / 191.2 MB, free: 13.88 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.06099, allocations: 27.72 kB / 191.2 MB, free: 13.85 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.06107, allocations: 25.86 kB / 191.2 MB, free: 13.83 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.06109, allocations: 0 / 191.2 MB, free: 13.83 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.752e-06/0.0611, allocations: 4 kB / 191.2 MB, free: 13.82 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.9e-06/0.06112, allocations: 0 / 191.2 MB, free: 13.82 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.06227, allocations: 0.571 MB / 191.8 MB, free: 13.19 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.238e-06/0.0623, allocations: 4 kB / 191.8 MB, free: 13.18 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.06267, allocations: 59.91 kB / 191.9 MB, free: 13.12 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.413e-06/0.06269, allocations: 0 / 191.9 MB, free: 13.12 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.06274, allocations: 20.08 kB / 191.9 MB, free: 13.11 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.518e-06/0.06275, allocations: 4 kB / 191.9 MB, free: 13.1 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.643e-06/0.06277, allocations: 0 / 191.9 MB, free: 13.1 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.06368, allocations: 0.4931 MB / 192.4 MB, free: 12.58 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.06383, allocations: 105 kB / 192.5 MB, free: 12.46 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.06389, allocations: 11.98 kB / 192.5 MB, free: 12.45 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.06414, allocations: 8 kB / 192.5 MB, free: 12.44 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.06422, allocations: 27.92 kB / 192.5 MB, free: 12.41 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.06426, allocations: 4.094 kB / 192.5 MB, free: 12.41 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.06441, allocations: 132.3 kB / 192.7 MB, free: 12.28 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.06443, allocations: 0 / 192.7 MB, free: 12.28 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004722/0.06491, allocations: 48 kB / 192.7 MB, free: 12.23 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (25): * Single equations (assignments): 25 * 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.0001521/0.06507, allocations: 115.1 kB / 192.8 MB, free: 12.11 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.06562, allocations: 175.8 kB / 193 MB, free: 11.94 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.911e-06/0.06564, allocations: 0 / 193 MB, free: 11.94 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.06592, allocations: 97.27 kB / 193.1 MB, free: 11.84 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.06672, allocations: 35.19 kB / 193.1 MB, free: 11.81 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.06913, allocations: 0.8371 MB / 194 MB, free: 10.93 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.06962, allocations: 0.7596 MB / 194.7 MB, free: 10.14 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.06973, allocations: 23.42 kB / 194.7 MB, free: 10.12 MB / 170.7 MB Notification: Performance of SimCode: time 1.857e-06/0.06974, allocations: 0 / 194.7 MB, free: 10.12 MB / 170.7 MB Notification: Performance of Templates: time 0.005464/0.07522, allocations: 2.476 MB / 197.2 MB, free: 7.648 MB / 170.7 MB