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.SignConvention.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.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 0.9637/0.9637, allocations: 111.1 MB / 126.7 MB, free: 6.121 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.000259, allocations: 8 kB / 158.3 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04411/0.04439, allocations: 25.17 MB / 183.4 MB, free: 6.02 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002294/0.04673, allocations: 1.53 MB / 184.9 MB, free: 4.488 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003657/0.04712, allocations: 167.5 kB / 185.1 MB, free: 4.324 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.04724, allocations: 7.938 kB / 185.1 MB, free: 4.316 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 5.546e-05/0.04731, allocations: 15.84 kB / 185.1 MB, free: 4.301 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.0475, allocations: 59.88 kB / 185.2 MB, free: 4.242 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.04766, allocations: 35.91 kB / 185.2 MB, free: 4.207 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.04791, allocations: 123.8 kB / 185.3 MB, free: 4.086 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.04808, allocations: 54.11 kB / 185.4 MB, free: 4.031 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.04817, allocations: 51.8 kB / 185.5 MB, free: 3.98 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.04831, allocations: 67.64 kB / 185.5 MB, free: 3.914 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.04835, allocations: 8 kB / 185.5 MB, free: 3.906 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.12e-05/0.04839, allocations: 8 kB / 185.5 MB, free: 3.898 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.04844, allocations: 31.89 kB / 185.6 MB, free: 3.867 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.04851, allocations: 53.64 kB / 185.6 MB, free: 3.809 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.04872, allocations: 131.8 kB / 185.7 MB, free: 3.68 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.321e-06/0.04874, allocations: 0 / 185.7 MB, free: 3.68 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.04875, allocations: 0 / 185.7 MB, free: 3.68 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.04877, allocations: 0 / 185.7 MB, free: 3.68 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006545/0.04943, allocations: 439.2 kB / 186.2 MB, free: 3.203 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.04948, allocations: 8.031 kB / 186.2 MB, free: 3.195 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.04955, allocations: 23.72 kB / 186.2 MB, free: 3.172 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.04984, allocations: 218.8 kB / 186.4 MB, free: 2.918 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.04988, allocations: 13.08 kB / 186.4 MB, free: 2.906 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.04994, allocations: 19.91 kB / 186.5 MB, free: 2.887 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.05033, allocations: 192.1 kB / 186.6 MB, free: 2.684 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.05036, allocations: 3.953 kB / 186.6 MB, free: 2.68 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.0504, allocations: 8 kB / 186.7 MB, free: 2.672 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.46e-06/0.05041, allocations: 4 kB / 186.7 MB, free: 2.668 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.05068, allocations: 99.94 kB / 186.8 MB, free: 2.57 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.05215, allocations: 0.7678 MB / 187.5 MB, free: 1.734 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.05241, allocations: 111.7 kB / 187.6 MB, free: 1.598 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.05245, allocations: 8.297 kB / 187.6 MB, free: 1.59 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.05249, allocations: 38.48 kB / 187.7 MB, free: 1.543 MB / 154.7 MB Notification: Performance of pre-optimization done (n=13): time 2.327e-06/0.05251, allocations: 0 / 187.7 MB, free: 1.543 MB / 154.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004105/0.05292, allocations: 137.8 kB / 187.8 MB, free: 1.402 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.05301, allocations: 110.8 kB / 187.9 MB, free: 1.27 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.0533, allocations: 211 kB / 188.1 MB, free: 1.051 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.05333, allocations: 25.7 kB / 188.1 MB, free: 1.02 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.05349, allocations: 206.4 kB / 188.4 MB, free: 0.8125 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.05356, allocations: 51.25 kB / 188.4 MB, free: 0.7617 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.05358, allocations: 4 kB / 188.4 MB, free: 0.7578 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.05376, allocations: 318.8 kB / 188.7 MB, free: 448 kB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.05387, allocations: 44.33 kB / 188.8 MB, free: 400 kB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.05406, allocations: 136.9 kB / 188.9 MB, free: 220 kB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.05422, allocations: 59.89 kB / 189 MB, free: 160 kB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.631e-06/0.05423, allocations: 0 / 189 MB, free: 160 kB / 154.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004421/0.05468, allocations: 197.4 kB / 189.1 MB, free: 15.96 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.05472, allocations: 8 kB / 189.2 MB, free: 15.95 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.74e-06/0.05474, allocations: 4 kB / 189.2 MB, free: 15.95 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.05476, allocations: 4 kB / 189.2 MB, free: 15.94 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.05498, allocations: 43.92 kB / 189.2 MB, free: 15.9 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.05501, allocations: 11.92 kB / 189.2 MB, free: 15.89 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.05517, allocations: 27.69 kB / 189.2 MB, free: 15.86 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.0552, allocations: 16 kB / 189.3 MB, free: 15.84 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * 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.0001593/0.05537, allocations: 145.9 kB / 189.4 MB, free: 15.69 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.05549, allocations: 15.81 kB / 189.4 MB, free: 15.68 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.05556, allocations: 20.98 kB / 189.4 MB, free: 15.66 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.05558, allocations: 4 kB / 189.4 MB, free: 15.65 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-06/0.05559, allocations: 0 / 189.4 MB, free: 15.65 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-06/0.0556, allocations: 0 / 189.4 MB, free: 15.65 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.05619, allocations: 249.5 kB / 189.7 MB, free: 15.36 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.05621, allocations: 3.953 kB / 189.7 MB, free: 15.36 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.05643, allocations: 27.98 kB / 189.7 MB, free: 15.33 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.834e-06/0.05645, allocations: 0 / 189.7 MB, free: 15.33 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.05647, allocations: 8 kB / 189.7 MB, free: 15.32 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/0.0565, allocations: 7.922 kB / 189.7 MB, free: 15.31 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.332e-06/0.05651, allocations: 256 / 189.7 MB, free: 15.31 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.05695, allocations: 396.8 kB / 190.1 MB, free: 14.91 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.05706, allocations: 104.9 kB / 190.2 MB, free: 14.79 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.05711, allocations: 4 kB / 190.2 MB, free: 14.79 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.05733, allocations: 8 kB / 190.2 MB, free: 14.78 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.05737, allocations: 7.984 kB / 190.2 MB, free: 14.77 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.0574, allocations: 4 kB / 190.2 MB, free: 14.77 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001885/0.05759, allocations: 160.3 kB / 190.4 MB, free: 14.61 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.47e-07/0.05761, allocations: 0 / 190.4 MB, free: 14.61 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004904/0.05811, allocations: 36 kB / 190.4 MB, free: 14.57 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (13): * Single equations (assignments): 13 * 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.0001237/0.05824, allocations: 99.25 kB / 190.5 MB, free: 14.46 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.05853, allocations: 120 kB / 190.6 MB, free: 14.35 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.05855, allocations: 3.938 kB / 190.7 MB, free: 14.34 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.05864, allocations: 36 kB / 190.7 MB, free: 14.31 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.05908, allocations: 27.94 kB / 190.7 MB, free: 14.28 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.06047, allocations: 0.7913 MB / 191.5 MB, free: 13.45 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.06092, allocations: 0.7284 MB / 192.2 MB, free: 12.7 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.061, allocations: 23.44 kB / 192.3 MB, free: 12.68 MB / 170.7 MB Notification: Performance of SimCode: time 1.3e-06/0.06101, allocations: 0 / 192.3 MB, free: 12.68 MB / 170.7 MB Notification: Performance of Templates: time 0.004432/0.06545, allocations: 1.976 MB / 194.2 MB, free: 10.7 MB / 170.7 MB