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/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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.873/1.873, allocations: 209.3 MB / 224.9 MB, free: 184 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004373, allocations: 11.98 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 48.69 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4327, allocations: 75.93 MB / 407.2 MB, free: 2.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/0.4331, allocations: 67.97 kB / 407.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06062/0.4938, allocations: 8.39 MB / 415.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.8e-06/0.4938, allocations: 0 / 415.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.058e-05/0.4939, allocations: 16 kB / 415.7 MB, free: 9.996 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.002203/0.4961, allocations: 0.6665 MB / 416.3 MB, free: 9.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4962, allocations: 8.031 kB / 416.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.4964, allocations: 59.3 kB / 416.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.4969, allocations: 293.3 kB / 416.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.497, allocations: 33 kB / 416.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.4971, allocations: 55.91 kB / 416.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/0.4981, allocations: 434.5 kB / 417.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.4981, allocations: 15.89 kB / 417.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.4982, allocations: 16 kB / 417.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.4982, allocations: 12 kB / 417.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.499, allocations: 312.5 kB / 417.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.5013, allocations: 1.169 MB / 418.7 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/0.5024, allocations: 485.1 kB / 419.2 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.5024, allocations: 4.438 kB / 419.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.5025, allocations: 43.03 kB / 419.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 3.93e-06/0.5025, allocations: 0 / 419.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.004326/0.5068, allocations: 2.123 MB / 421.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.5069, allocations: 89.62 kB / 421.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.5073, allocations: 218.1 kB / 421.7 MB, free: 3.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.5073, allocations: 37.7 kB / 421.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.5075, allocations: 267.4 kB / 422 MB, free: 3.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.5078, allocations: 268.1 kB / 422.2 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.5079, allocations: 12 kB / 422.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.5081, allocations: 342.8 kB / 422.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.5084, allocations: 161.9 kB / 422.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.5089, allocations: 264.9 kB / 423 MB, free: 2.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.5094, allocations: 195.2 kB / 423.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-06/0.5094, allocations: 3.938 kB / 423.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001189/0.5106, allocations: 0.5487 MB / 423.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5107, allocations: 4.938 kB / 423.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.707e-06/0.5107, allocations: 4 kB / 423.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.5107, allocations: 8 kB / 423.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.5115, allocations: 179.8 kB / 423.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.5116, allocations: 11.94 kB / 423.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.5119, allocations: 28.19 kB / 424 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.512, allocations: 28 kB / 424 MB, free: 1.215 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.0003141/0.5123, allocations: 177.7 kB / 424.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.5125, allocations: 47.44 kB / 424.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.5126, allocations: 59.7 kB / 424.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.5126, allocations: 12 kB / 424.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.144e-06/0.5127, allocations: 0 / 424.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.5127, allocations: 3.984 kB / 424.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.5156, allocations: 1.45 MB / 425.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.5156, allocations: 12 kB / 425.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.5165, allocations: 155.8 kB / 425.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.5165, allocations: 8 kB / 425.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.5166, allocations: 16 kB / 425.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.5166, allocations: 4 kB / 425.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.5166, allocations: 7.953 kB / 425.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5183, allocations: 1.045 MB / 427 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.5185, allocations: 120.5 kB / 427.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.5186, allocations: 16 kB / 427.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.5191, allocations: 20 kB / 427.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.5192, allocations: 56.27 kB / 427.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.5192, allocations: 20 kB / 427.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002467/0.5195, allocations: 181.9 kB / 427.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.969e-06/0.5195, allocations: 0 / 427.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007569/0.5203, allocations: 147.9 kB / 427.5 MB, free: 13.41 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.0001927/0.5205, allocations: 124 kB / 427.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009772/0.5215, allocations: 451.6 kB / 428.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.818e-06/0.5215, allocations: 4 kB / 428.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.522, allocations: 234.2 kB / 428.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.5228, allocations: 99.16 kB / 428.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.5266, allocations: 2.056 MB / 430.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.5272, allocations: 0.8605 MB / 431.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.5275, allocations: 43.44 kB / 431.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of SimCode: time 1.618e-06/0.5275, allocations: 0 / 431.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of Templates: time 0.01165/0.5391, allocations: 5.742 MB / 437.1 MB, free: 3.719 MB / 362.7 MB