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.SignConvention.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.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.582/1.582, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 233.2 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06969/0.07007, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002575/0.07269, allocations: 1.646 MB / 273.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004145/0.07314, allocations: 163.5 kB / 273.7 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.07327, allocations: 11.94 kB / 273.7 MB, free: 10.37 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.07333, allocations: 15.84 kB / 273.8 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.07351, allocations: 51.88 kB / 273.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.07367, allocations: 35.91 kB / 273.8 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.07393, allocations: 131.7 kB / 274 MB, free: 10.14 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.07412, allocations: 53.78 kB / 274 MB, free: 10.08 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.07424, allocations: 55.8 kB / 274.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.07438, allocations: 63.7 kB / 274.1 MB, free: 9.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.07442, allocations: 8 kB / 274.2 MB, free: 9.957 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.42e-05/0.07447, allocations: 8 kB / 274.2 MB, free: 9.949 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.017e-05/0.07452, allocations: 31.78 kB / 274.2 MB, free: 9.918 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.07459, allocations: 57.64 kB / 274.2 MB, free: 9.855 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.0748, allocations: 135.9 kB / 274.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.592e-06/0.07482, allocations: 0 / 274.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.626e-06/0.07483, allocations: 0 / 274.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.791e-06/0.07485, allocations: 0 / 274.4 MB, free: 9.723 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006735/0.07553, allocations: 446.7 kB / 274.8 MB, free: 9.238 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.07558, allocations: 8.031 kB / 274.8 MB, free: 9.23 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.07564, allocations: 23.81 kB / 274.8 MB, free: 9.207 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.07593, allocations: 214.7 kB / 275.1 MB, free: 8.957 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.07598, allocations: 16 kB / 275.1 MB, free: 8.941 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.07604, allocations: 16 kB / 275.1 MB, free: 8.926 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.07643, allocations: 180.1 kB / 275.3 MB, free: 8.734 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.07646, allocations: 3.906 kB / 275.3 MB, free: 8.73 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.0765, allocations: 8 kB / 275.3 MB, free: 8.723 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.07652, allocations: 4 kB / 275.3 MB, free: 8.719 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.07679, allocations: 107 kB / 275.4 MB, free: 8.617 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.07832, allocations: 0.7756 MB / 276.2 MB, free: 7.77 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.0786, allocations: 115.9 kB / 276.3 MB, free: 7.629 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.07863, allocations: 0 / 276.3 MB, free: 7.629 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.07867, allocations: 46.62 kB / 276.3 MB, free: 7.574 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.723e-06/0.07869, allocations: 0 / 276.3 MB, free: 7.574 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004182/0.07911, allocations: 129.5 kB / 276.4 MB, free: 7.441 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.07921, allocations: 106.8 kB / 276.5 MB, free: 7.312 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.07951, allocations: 215 kB / 276.8 MB, free: 7.094 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.07955, allocations: 25.7 kB / 276.8 MB, free: 7.062 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.07971, allocations: 194.4 kB / 277 MB, free: 6.867 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.07979, allocations: 59.19 kB / 277 MB, free: 6.809 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.07981, allocations: 8 kB / 277 MB, free: 6.801 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.07999, allocations: 322.8 kB / 277.4 MB, free: 6.477 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-05/0.0801, allocations: 36.45 kB / 277.4 MB, free: 6.441 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.08029, allocations: 137.1 kB / 277.5 MB, free: 6.266 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.08045, allocations: 59.92 kB / 277.6 MB, free: 6.207 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.109e-06/0.08047, allocations: 4 kB / 277.6 MB, free: 6.203 MB / 234.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004254/0.0809, allocations: 185.8 kB / 277.8 MB, free: 6.016 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.08094, allocations: 15.86 kB / 277.8 MB, free: 6 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.08096, allocations: 7.984 kB / 277.8 MB, free: 5.992 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.08099, allocations: 8.344 kB / 277.8 MB, free: 5.984 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.08122, allocations: 51.92 kB / 277.8 MB, free: 5.934 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.08125, allocations: 7.938 kB / 277.9 MB, free: 5.926 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.08142, allocations: 31.64 kB / 277.9 MB, free: 5.895 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.08145, allocations: 8 kB / 277.9 MB, free: 5.887 MB / 234.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.0001534/0.08162, allocations: 129.8 kB / 278 MB, free: 5.75 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.08174, allocations: 23.8 kB / 278 MB, free: 5.727 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.0818, allocations: 21.25 kB / 278.1 MB, free: 5.711 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.959e-06/0.08182, allocations: 4 kB / 278.1 MB, free: 5.707 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.08184, allocations: 4 kB / 278.1 MB, free: 5.703 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-06/0.08186, allocations: 4 kB / 278.1 MB, free: 5.699 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.08247, allocations: 253.3 kB / 278.3 MB, free: 5.402 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-06/0.08249, allocations: 0 / 278.3 MB, free: 5.402 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.08271, allocations: 31.98 kB / 278.4 MB, free: 5.371 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.598e-06/0.08273, allocations: 0 / 278.4 MB, free: 5.371 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.08275, allocations: 4 kB / 278.4 MB, free: 5.367 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.08277, allocations: 4 kB / 278.4 MB, free: 5.363 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.955e-06/0.08278, allocations: 3.938 kB / 278.4 MB, free: 5.359 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.08326, allocations: 391.6 kB / 278.8 MB, free: 4.961 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/0.08337, allocations: 92.92 kB / 278.8 MB, free: 4.852 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.08343, allocations: 4.062 kB / 278.8 MB, free: 4.848 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.08366, allocations: 4 kB / 278.8 MB, free: 4.844 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.0837, allocations: 11.98 kB / 278.9 MB, free: 4.832 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.08372, allocations: 4 kB / 278.9 MB, free: 4.828 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.08392, allocations: 160.2 kB / 279 MB, free: 4.672 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.08394, allocations: 4 kB / 279 MB, free: 4.668 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000527/0.08447, allocations: 43.86 kB / 279.1 MB, free: 4.625 MB / 234.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.0001406/0.08463, allocations: 107.1 kB / 279.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.08493, allocations: 99.84 kB / 279.3 MB, free: 4.414 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.97e-06/0.08494, allocations: 4.625 kB / 279.3 MB, free: 4.41 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.08503, allocations: 39.92 kB / 279.3 MB, free: 4.371 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.0855, allocations: 27.98 kB / 279.3 MB, free: 4.344 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.08694, allocations: 0.7909 MB / 280.1 MB, free: 3.512 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.08741, allocations: 0.7323 MB / 280.9 MB, free: 2.754 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.08749, allocations: 19.44 kB / 280.9 MB, free: 2.734 MB / 234.7 MB Notification: Performance of SimCode: time 1.538e-06/0.0875, allocations: 0 / 280.9 MB, free: 2.734 MB / 234.7 MB Notification: Performance of Templates: time 0.004636/0.09214, allocations: 1.976 MB / 282.9 MB, free: 0.7539 MB / 234.7 MB