Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.875e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3787, allocations: 75.17 MB / 395.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.379, allocations: 67.97 kB / 395.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03474/0.4137, allocations: 8.33 MB / 403.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.303e-06/0.4138, allocations: 3.938 kB / 403.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.395e-05/0.4138, allocations: 16 kB / 403.6 MB, free: 12.83 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001164/0.415, allocations: 0.6344 MB / 404.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4151, allocations: 8.031 kB / 404.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.4152, allocations: 59.3 kB / 404.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.4157, allocations: 289.4 kB / 404.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.4158, allocations: 23.92 kB / 404.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.4159, allocations: 31.91 kB / 404.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007062/0.4166, allocations: 274.5 kB / 404.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.4175, allocations: 355.7 kB / 405.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.4175, allocations: 19.88 kB / 405.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.4176, allocations: 0 / 405.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.4176, allocations: 15.95 kB / 405.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.4199, allocations: 1.061 MB / 406.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/0.4208, allocations: 448 kB / 406.8 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.4212, allocations: 183 kB / 407 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.4213, allocations: 8.438 kB / 407 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.4213, allocations: 47.23 kB / 407 MB, free: 9.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 6.735e-06/0.4214, allocations: 0 / 407 MB, free: 9.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.003756/0.4251, allocations: 1.808 MB / 408.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.4252, allocations: 85.67 kB / 408.9 MB, free: 7.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.4255, allocations: 194.1 kB / 409.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.4256, allocations: 25.7 kB / 409.1 MB, free: 6.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.4258, allocations: 271.3 kB / 409.4 MB, free: 6.637 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.4261, allocations: 264 kB / 409.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.4261, allocations: 4 kB / 409.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4263, allocations: 338.8 kB / 410 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.4267, allocations: 137.6 kB / 410.1 MB, free: 5.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.4271, allocations: 233.3 kB / 410.3 MB, free: 5.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.4276, allocations: 184.5 kB / 410.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.835e-06/0.4276, allocations: 4 kB / 410.5 MB, free: 5.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001092/0.4287, allocations: 484.6 kB / 411 MB, free: 4.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.4287, allocations: 8 kB / 411 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4288, allocations: 7.938 kB / 411 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.4288, allocations: 4 kB / 411 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.4296, allocations: 175.8 kB / 411.2 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.4296, allocations: 11.94 kB / 411.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.43, allocations: 16.27 kB / 411.2 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.4301, allocations: 23.95 kB / 411.2 MB, free: 4.73 MB / 346.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.0001519/0.4302, allocations: 116.9 kB / 411.3 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.4304, allocations: 43.53 kB / 411.4 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.4305, allocations: 43.92 kB / 411.4 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4305, allocations: 11.94 kB / 411.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.1e-06/0.4305, allocations: 0 / 411.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.4306, allocations: 3.984 kB / 411.4 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.4332, allocations: 1.318 MB / 412.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4332, allocations: 4 kB / 412.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.434, allocations: 159.8 kB / 412.9 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.4341, allocations: 4 kB / 412.9 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.049e-05/0.4341, allocations: 8 kB / 412.9 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.843e-06/0.4342, allocations: 8 kB / 412.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-05/0.4342, allocations: 7.938 kB / 413 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.4357, allocations: 0.9781 MB / 413.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.4359, allocations: 116.5 kB / 414 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.436, allocations: 7.984 kB / 414.1 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.4364, allocations: 4 kB / 414.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.4365, allocations: 56.33 kB / 414.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.4366, allocations: 20 kB / 414.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.4368, allocations: 150 kB / 414.3 MB, free: 1.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.4368, allocations: 4 kB / 414.3 MB, free: 1.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007201/0.4375, allocations: 116 kB / 414.4 MB, free: 1.32 MB / 346.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.000183/0.4377, allocations: 115 kB / 414.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.4386, allocations: 406.9 kB / 414.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4387, allocations: 3.938 kB / 414.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.4391, allocations: 209.4 kB / 415.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008558/0.4399, allocations: 95.91 kB / 415.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.4431, allocations: 1.533 MB / 416.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.4437, allocations: 0.8644 MB / 417.6 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.444, allocations: 47.44 kB / 417.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.808e-06/0.444, allocations: 0 / 417.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Templates: time 0.01157/0.4555, allocations: 5.649 MB / 423.3 MB, free: 8.332 MB / 362.7 MB