Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003639, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08893, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.4809, allocations: 85.27 MB / 357.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.4814, allocations: 96.06 kB / 358 MB, free: 4.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3153/0.7967, allocations: 72.17 MB / 430.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7968, allocations: 4 kB / 430.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002269/0.797, allocations: 60 kB / 430.2 MB, free: 1.516 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.2645/1.061, allocations: 3.557 MB / 433.8 MB, free: 74.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.062, allocations: 9.594 kB / 433.8 MB, free: 74.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01724/1.079, allocations: 2.087 MB / 435.9 MB, free: 74.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/1.095, allocations: 4.038 MB / 439.9 MB, free: 73.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/1.095, allocations: 255.8 kB / 440.2 MB, free: 73.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/1.097, allocations: 351 kB / 440.5 MB, free: 73.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/1.122, allocations: 8.853 MB / 449.4 MB, free: 71.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/1.122, allocations: 56.19 kB / 449.4 MB, free: 71.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/1.123, allocations: 171.8 kB / 449.6 MB, free: 71.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/1.125, allocations: 0.8741 MB / 450.4 MB, free: 71.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02001/1.145, allocations: 7.16 MB / 457.6 MB, free: 71.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05724/1.202, allocations: 42.59 MB / 0.4885 GB, free: 39.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.214, allocations: 3.177 MB / 0.4916 GB, free: 38.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008994/1.223, allocations: 4.087 MB / 0.4956 GB, free: 36.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.223, allocations: 42.78 kB / 0.4956 GB, free: 35.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 5.169e-06/1.223, allocations: 3.938 kB / 0.4956 GB, free: 35.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.04468/1.267, allocations: 11.56 MB / 0.5069 GB, free: 30.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/1.267, allocations: 145 kB / 0.507 GB, free: 30.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006735/1.274, allocations: 3.698 MB / 0.5107 GB, free: 27.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003293/1.275, allocations: 49.25 kB / 0.5107 GB, free: 27.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002255/1.277, allocations: 2.729 MB / 0.5134 GB, free: 25.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000738/1.278, allocations: 0.4963 MB / 0.5139 GB, free: 24.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00041/1.278, allocations: 104 kB / 0.514 GB, free: 24.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000306/1.278, allocations: 0.5242 MB / 0.5145 GB, free: 24.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/1.282, allocations: 1.667 MB / 0.5161 GB, free: 22.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00533/1.287, allocations: 5.056 MB / 0.521 GB, free: 16.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005805/1.293, allocations: 2.841 MB / 0.5238 GB, free: 13.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.348e-05/1.293, allocations: 36 kB / 0.5238 GB, free: 13.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01569/1.309, allocations: 6.621 MB / 0.5303 GB, free: 7.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.063e-05/1.309, allocations: 56 kB / 0.5304 GB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/1.309, allocations: 124 kB / 0.5305 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008934/1.31, allocations: 338.4 kB / 0.5308 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007304/1.318, allocations: 1.269 MB / 0.532 GB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/1.321, allocations: 2.385 MB / 0.5344 GB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/1.326, allocations: 278.6 kB / 0.5346 GB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.327, allocations: 332.9 kB / 0.5349 GB, free: 3.457 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (656): * Single equations (assignments): 652 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004421/1.332, allocations: 1.778 MB / 0.5367 GB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/1.333, allocations: 308 kB / 0.537 GB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00843/1.341, allocations: 2.354 MB / 0.5393 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-05/1.341, allocations: 17.41 kB / 0.5393 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.341, allocations: 8 kB / 0.5393 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.223e-05/1.341, allocations: 6.234 kB / 0.5393 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/1.362, allocations: 5.843 MB / 0.545 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/1.363, allocations: 0 / 0.545 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.364, allocations: 163.8 kB / 0.5452 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/1.368, allocations: 0.7161 MB / 0.5459 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/1.369, allocations: 20 kB / 0.5459 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.379, allocations: 4.561 MB / 0.5503 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.379, allocations: 0 / 0.5503 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.392, allocations: 4.258 MB / 0.5545 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2521/1.644, allocations: 0.5288 MB / 0.555 GB, free: 81.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.645, allocations: 18.58 kB / 0.555 GB, free: 81.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/1.647, allocations: 64.97 kB / 0.5551 GB, free: 81.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.648, allocations: 70.56 kB / 0.5552 GB, free: 81.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.648, allocations: 36.08 kB / 0.5552 GB, free: 81.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007331/1.655, allocations: 2.304 MB / 0.5574 GB, free: 81.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.655, allocations: 1.312 kB / 0.5574 GB, free: 81.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006601/1.662, allocations: 0.8125 MB / 0.5582 GB, free: 81.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006441/1.663, allocations: 172.6 kB / 0.5584 GB, free: 81.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009909/1.673, allocations: 3.939 MB / 0.5623 GB, free: 81.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.673, allocations: 0 / 0.5623 GB, free: 81.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002718/1.675, allocations: 1.082 MB / 0.5633 GB, free: 81.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.679, allocations: 354.8 kB / 0.5636 GB, free: 81.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.698, allocations: 8.505 MB / 0.572 GB, free: 78.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005672/1.704, allocations: 2.828 MB / 0.5747 GB, free: 77.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00717/1.711, allocations: 1.646 MB / 0.5763 GB, free: 77.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.713, allocations: 203.2 kB / 0.5765 GB, free: 77.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/1.713, allocations: 0 / 0.5765 GB, free: 77.2 MB / 362.7 MB Notification: Performance of Templates: time 0.1056/1.818, allocations: 28.71 MB / 0.6046 GB, free: 75.81 MB / 362.7 MB