Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.887e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3649, allocations: 54.85 MB / 364.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4959, allocations: 82.21 MB / 446.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4961, allocations: 68.64 kB / 446.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03566/0.5318, allocations: 8.42 MB / 455.2 MB, free: 5.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.133e-06/0.5319, allocations: 0 / 455.2 MB, free: 5.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.5319, allocations: 12 kB / 455.2 MB, free: 5.648 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001118/0.533, allocations: 0.627 MB / 455.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5331, allocations: 8.031 kB / 455.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.5332, allocations: 55.34 kB / 455.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.5337, allocations: 289.4 kB / 456.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.5338, allocations: 40.94 kB / 456.3 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5339, allocations: 59.84 kB / 456.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009056/0.5348, allocations: 414.3 kB / 456.7 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.5349, allocations: 19.83 kB / 456.7 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.5349, allocations: 20 kB / 456.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.535, allocations: 12 kB / 456.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007056/0.5357, allocations: 303.7 kB / 457.1 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.538, allocations: 1.156 MB / 458.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.539, allocations: 469.3 kB / 458.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.5394, allocations: 202.8 kB / 458.9 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.5394, allocations: 8.438 kB / 458.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.5395, allocations: 43 kB / 458.9 MB, free: 1.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 4.548e-06/0.5395, allocations: 4.031 kB / 458.9 MB, free: 1.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003901/0.5434, allocations: 1.99 MB / 460.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.5435, allocations: 89.67 kB / 461 MB, free: 15.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.5439, allocations: 215.4 kB / 461.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.5439, allocations: 37.7 kB / 461.3 MB, free: 15.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.5441, allocations: 263.4 kB / 461.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.5444, allocations: 264.1 kB / 461.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.5445, allocations: 16 kB / 461.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.5447, allocations: 338.8 kB / 462.1 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.545, allocations: 153.6 kB / 462.3 MB, free: 14.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.5455, allocations: 262.8 kB / 462.5 MB, free: 13.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.546, allocations: 195 kB / 462.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.546, allocations: 3.938 kB / 462.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001152/0.5472, allocations: 0.5425 MB / 463.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5472, allocations: 8 kB / 463.3 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.5473, allocations: 4 kB / 463.3 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.5473, allocations: 7.938 kB / 463.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.5481, allocations: 179.8 kB / 463.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.5481, allocations: 4 kB / 463.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.5485, allocations: 32.27 kB / 463.5 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.5486, allocations: 28.06 kB / 463.5 MB, free: 12.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0001774/0.5488, allocations: 149.3 kB / 463.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.5489, allocations: 51.39 kB / 463.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.5491, allocations: 55.64 kB / 463.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.851e-05/0.5491, allocations: 8 kB / 463.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.543e-06/0.5491, allocations: 0 / 463.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.5491, allocations: 3.984 kB / 463.8 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.552, allocations: 1.438 MB / 465.2 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.552, allocations: 8.031 kB / 465.2 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.5529, allocations: 167.7 kB / 465.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.5529, allocations: 4 kB / 465.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.553, allocations: 16 kB / 465.4 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.553, allocations: 4 kB / 465.4 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.025e-06/0.553, allocations: 4 kB / 465.4 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.5547, allocations: 1.043 MB / 466.5 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.5549, allocations: 124.5 kB / 466.6 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.96e-05/0.555, allocations: 12 kB / 466.6 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.5554, allocations: 20 kB / 466.6 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.5555, allocations: 60.2 kB / 466.7 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.5555, allocations: 20 kB / 466.7 MB, free: 9.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.5558, allocations: 179.1 kB / 466.9 MB, free: 9.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.5558, allocations: 0 / 466.9 MB, free: 9.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007347/0.5565, allocations: 144 kB / 467 MB, free: 9.156 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001969/0.5568, allocations: 123.1 kB / 467.1 MB, free: 9.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009864/0.5578, allocations: 441.3 kB / 467.6 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.856e-06/0.5578, allocations: 0 / 467.6 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.5582, allocations: 230.3 kB / 467.8 MB, free: 8.367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.559, allocations: 107.8 kB / 467.9 MB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.5622, allocations: 1.582 MB / 469.5 MB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.5629, allocations: 0.8605 MB / 470.3 MB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.5631, allocations: 43.44 kB / 470.4 MB, free: 5.684 MB / 394.7 MB Notification: Performance of SimCode: time 2.136e-06/0.5631, allocations: 0 / 470.4 MB, free: 5.684 MB / 394.7 MB Notification: Performance of Templates: time 0.01113/0.5743, allocations: 5.75 MB / 476.1 MB, free: 15.95 MB / 410.7 MB