Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 2.248/2.248, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005846/0.0005849, allocations: 16 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3602, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.4942, allocations: 75.92 MB / 407.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4945, allocations: 67.97 kB / 407.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03675/0.5313, allocations: 8.392 MB / 416.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5313, allocations: 0 / 416.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.529e-05/0.5314, allocations: 12 kB / 416.2 MB, free: 10.03 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.0014/0.5328, allocations: 0.6721 MB / 416.9 MB, free: 9.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5329, allocations: 12.03 kB / 416.9 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.533, allocations: 59.3 kB / 416.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.5335, allocations: 289.3 kB / 417.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.5335, allocations: 33 kB / 417.2 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.5337, allocations: 55.91 kB / 417.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5347, allocations: 438.5 kB / 417.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.5348, allocations: 7.906 kB / 417.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.5348, allocations: 20 kB / 417.8 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.5349, allocations: 15.98 kB / 417.8 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.5357, allocations: 312.5 kB / 418.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.5385, allocations: 1.169 MB / 419.2 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.5397, allocations: 481.1 kB / 419.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.5397, allocations: 4.656 kB / 419.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.5398, allocations: 50.97 kB / 419.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 3.246e-06/0.5398, allocations: 0 / 419.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.004568/0.5444, allocations: 2.119 MB / 421.9 MB, free: 3.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.5445, allocations: 93.61 kB / 422 MB, free: 3.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.5449, allocations: 247 kB / 422.2 MB, free: 3.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.5449, allocations: 37.7 kB / 422.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.5451, allocations: 267.4 kB / 422.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.5454, allocations: 260.1 kB / 422.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.5454, allocations: 19.94 kB / 422.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5456, allocations: 350.8 kB / 423.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.5461, allocations: 149.9 kB / 423.3 MB, free: 2.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.5466, allocations: 268.9 kB / 423.5 MB, free: 2.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.5471, allocations: 204.4 kB / 423.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5472, allocations: 0 / 423.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00131/0.5485, allocations: 0.5475 MB / 424.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.5485, allocations: 8 kB / 424.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.5486, allocations: 4 kB / 424.3 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.5486, allocations: 4 kB / 424.3 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.5498, allocations: 175.8 kB / 424.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/0.5498, allocations: 15.89 kB / 424.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.5503, allocations: 24.23 kB / 424.5 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.5504, allocations: 28 kB / 424.5 MB, free: 1.207 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 () * Number of clocked 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.0003371/0.5508, allocations: 181.7 kB / 424.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.5509, allocations: 43.44 kB / 424.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.5511, allocations: 55.64 kB / 424.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.5511, allocations: 11.94 kB / 424.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.5511, allocations: 0 / 424.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5511, allocations: 7.938 kB / 424.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.5542, allocations: 1.454 MB / 426.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.5543, allocations: 8.062 kB / 426.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.5556, allocations: 167.9 kB / 426.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.5556, allocations: 4 kB / 426.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/0.5557, allocations: 16 kB / 426.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/0.5557, allocations: 7.984 kB / 426.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5557, allocations: 7.953 kB / 426.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.5575, allocations: 0.9002 MB / 427.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.5577, allocations: 120.5 kB / 427.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5578, allocations: 16 kB / 427.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.5583, allocations: 23.94 kB / 427.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.5584, allocations: 48.33 kB / 427.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.5584, allocations: 28 kB / 427.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.5587, allocations: 174 kB / 427.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5587, allocations: 0 / 427.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007552/0.5595, allocations: 148 kB / 427.9 MB, free: 13.61 MB / 362.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 () * Number of clocked 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.0001896/0.5597, allocations: 123 kB / 428.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.5608, allocations: 455.9 kB / 428.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.5609, allocations: 4 kB / 428.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.5614, allocations: 230.2 kB / 428.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.5626, allocations: 105.6 kB / 428.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.5671, allocations: 2.06 MB / 430.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.5677, allocations: 0.8643 MB / 431.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.568, allocations: 47.38 kB / 431.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.568, allocations: 0 / 431.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of Templates: time 0.01387/0.5819, allocations: 5.732 MB / 437.5 MB, free: 3.914 MB / 362.7 MB