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.MultiBody.Examples.Elementary.ThreeSprings.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.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.702/1.702, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003533, allocations: 8 kB / 233.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07139/0.07177, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2343/0.3061, allocations: 34.29 MB / 306.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.3261, allocations: 8.541 MB / 314.8 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007674/0.3338, allocations: 169.9 kB / 314.9 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005443/0.3393, allocations: 1.725 MB / 316.7 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01655/0.3559, allocations: 4.962 MB / 321.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.3586, allocations: 0.5502 MB / 322.2 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004357/0.363, allocations: 2.152 MB / 324.3 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006885/0.37, allocations: 4.121 MB / 328.4 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.3721, allocations: 0.9589 MB / 329.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.3744, allocations: 1.225 MB / 330.6 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006925/0.3751, allocations: 138 kB / 330.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.3775, allocations: 0.8659 MB / 331.6 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.3793, allocations: 1.412 MB / 333 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.3806, allocations: 0.7727 MB / 333.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008221/0.3888, allocations: 4.993 MB / 338.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.343e-06/0.3889, allocations: 0 / 338.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.163e-06/0.3889, allocations: 4 kB / 338.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001588/0.3891, allocations: 0 / 338.8 MB, free: 10.2 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.009173/0.3983, allocations: 3.704 MB / 342.5 MB, free: 6.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3983, allocations: 8.031 kB / 342.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.4085, allocations: 2.181 MB / 344.7 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005447/0.414, allocations: 2.148 MB / 346.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.4143, allocations: 234 kB / 347.1 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.4158, allocations: 378.8 kB / 347.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02414/0.44, allocations: 9.822 MB / 357.3 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.4402, allocations: 35.69 kB / 357.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007417/0.4409, allocations: 148.7 kB / 357.4 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00387/0.4448, allocations: 1.813 MB / 359.3 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0225/0.4673, allocations: 8.112 MB / 367.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06282/0.5302, allocations: 38.58 MB / 406 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.5426, allocations: 3.594 MB / 409.5 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/0.5567, allocations: 6.562 MB / 416.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.5568, allocations: 51.17 kB / 416.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.739e-06/0.5569, allocations: 0 / 416.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.0414/0.5983, allocations: 12.04 MB / 428.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001791/0.6001, allocations: 1.604 MB / 429.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008346/0.6085, allocations: 3.881 MB / 433.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.6088, allocations: 45.7 kB / 433.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003556/0.6124, allocations: 3.033 MB / 436.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001433/0.6139, allocations: 0.5751 MB / 437.3 MB, free: 4.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007003/0.6146, allocations: 116 kB / 437.5 MB, free: 4.863 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006126/0.6153, allocations: 0.567 MB / 438 MB, free: 4.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004975/0.6203, allocations: 1.975 MB / 440 MB, free: 2.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1957/0.816, allocations: 5.873 MB / 445.9 MB, free: 120.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00704/0.8231, allocations: 3.316 MB / 449.2 MB, free: 120 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002675/0.8234, allocations: 43.81 kB / 449.2 MB, free: 120 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02303/0.8464, allocations: 8.685 MB / 457.9 MB, free: 117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/0.8467, allocations: 65.44 kB / 458 MB, free: 117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007737/0.8544, allocations: 2.857 MB / 460.8 MB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007364/0.8618, allocations: 1.769 MB / 462.6 MB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005241/0.8671, allocations: 1.327 MB / 463.9 MB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/0.8747, allocations: 5.817 MB / 469.7 MB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/0.8804, allocations: 390.4 kB / 470.1 MB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.8815, allocations: 383.1 kB / 470.5 MB, free: 111.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 707 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 2 {6 26,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.00391/0.8854, allocations: 1.976 MB / 472.5 MB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005821/0.886, allocations: 317.7 kB / 472.8 MB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007548/0.8936, allocations: 3.069 MB / 475.9 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006594/0.9002, allocations: 2.617 MB / 478.5 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/0.9003, allocations: 4 kB / 478.5 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.9003, allocations: 15.25 kB / 478.5 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006541/0.9069, allocations: 3.552 MB / 482 MB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.907, allocations: 0 / 482 MB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.9082, allocations: 171.7 kB / 482.2 MB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005792/0.914, allocations: 1.483 MB / 483.7 MB, free: 100.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/0.9143, allocations: 31.98 kB / 483.7 MB, free: 100.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006919/0.9212, allocations: 5.868 MB / 489.6 MB, free: 94.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009714/0.9223, allocations: 1.462 MB / 491.1 MB, free: 92.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.9324, allocations: 5.159 MB / 496.2 MB, free: 87.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007965/0.9332, allocations: 381 kB / 496.6 MB, free: 87.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005067/0.9338, allocations: 32.94 kB / 496.6 MB, free: 87.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.9354, allocations: 119.8 kB / 496.7 MB, free: 87.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.9357, allocations: 84.84 kB / 496.8 MB, free: 87.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.9359, allocations: 41.7 kB / 496.9 MB, free: 87.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003889/0.9398, allocations: 2.403 MB / 499.3 MB, free: 84.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.63e-07/0.9398, allocations: 0 / 499.3 MB, free: 84.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005883/0.9457, allocations: 0.9924 MB / 0.4885 GB, free: 83.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005384/0.9463, allocations: 180.5 kB / 0.4887 GB, free: 83.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.9564, allocations: 5.292 MB / 0.4939 GB, free: 78.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.908e-06/0.9564, allocations: 4.188 kB / 0.4939 GB, free: 78.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004186/0.9606, allocations: 1.973 MB / 0.4958 GB, free: 76.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.9627, allocations: 356.4 kB / 0.4961 GB, free: 75.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.9805, allocations: 10.82 MB / 0.5067 GB, free: 65.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004868/0.9854, allocations: 3.118 MB / 0.5098 GB, free: 61.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008871/0.9864, allocations: 259.4 kB / 0.51 GB, free: 61.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.688e-06/0.9864, allocations: 0 / 0.51 GB, free: 61.7 MB / 362.7 MB Notification: Performance of Templates: time 0.3882/1.375, allocations: 131.9 MB / 0.6388 GB, free: 53 MB / 362.7 MB