Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.782e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3234, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.478, allocations: 100.2 MB / 464.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.4783, allocations: 76.56 kB / 464.8 MB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2906/0.769, allocations: 71.86 MB / 0.5241 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.157e-06/0.769, allocations: 0 / 0.5241 GB, free: 3.848 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000217/0.7692, allocations: 68 kB / 0.5241 GB, free: 3.781 MB / 458.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.01096/0.7802, allocations: 3.349 MB / 0.5274 GB, free: 380 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.7803, allocations: 12.03 kB / 0.5274 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2766/1.057, allocations: 2.075 MB / 0.5294 GB, free: 109.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.07, allocations: 4.064 MB / 0.5334 GB, free: 109.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/1.071, allocations: 260.3 kB / 0.5337 GB, free: 109.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/1.072, allocations: 342.6 kB / 0.534 GB, free: 109.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/1.093, allocations: 8.803 MB / 0.5426 GB, free: 106.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/1.093, allocations: 56.55 kB / 0.5426 GB, free: 106.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/1.094, allocations: 171.6 kB / 0.5428 GB, free: 106.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001794/1.096, allocations: 0.8675 MB / 0.5437 GB, free: 106.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/1.113, allocations: 7.06 MB / 0.5505 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05147/1.164, allocations: 42.6 MB / 0.5922 GB, free: 74.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008633/1.173, allocations: 3.162 MB / 0.5952 GB, free: 73.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/1.175, allocations: 1.407 MB / 0.5966 GB, free: 72.58 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00779/1.183, allocations: 4.082 MB / 0.6006 GB, free: 70.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.183, allocations: 57.62 kB / 0.6007 GB, free: 70.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 6.01e-06/1.183, allocations: 0 / 0.6007 GB, free: 70.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.03179/1.215, allocations: 9.395 MB / 0.6098 GB, free: 66.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/1.215, allocations: 168.9 kB / 0.61 GB, free: 66.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008691/1.224, allocations: 3.275 MB / 0.6132 GB, free: 64.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002694/1.224, allocations: 45.48 kB / 0.6132 GB, free: 64.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.226, allocations: 2.676 MB / 0.6158 GB, free: 62.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006/1.227, allocations: 0.497 MB / 0.6163 GB, free: 62.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004923/1.227, allocations: 104.8 kB / 0.6164 GB, free: 62.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003993/1.228, allocations: 0.5232 MB / 0.6169 GB, free: 61.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/1.231, allocations: 1.635 MB / 0.6185 GB, free: 61.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005175/1.236, allocations: 5.033 MB / 0.6235 GB, free: 55.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005055/1.241, allocations: 2.848 MB / 0.6262 GB, free: 53.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.665e-05/1.242, allocations: 36 kB / 0.6263 GB, free: 53.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01619/1.258, allocations: 6.444 MB / 0.6326 GB, free: 47.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/1.258, allocations: 59.94 kB / 0.6326 GB, free: 47.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002536/1.258, allocations: 124.2 kB / 0.6327 GB, free: 47.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/1.26, allocations: 342.9 kB / 0.6331 GB, free: 46.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008762/1.268, allocations: 1.265 MB / 0.6343 GB, free: 45.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/1.273, allocations: 2.338 MB / 0.6366 GB, free: 43.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006072/1.279, allocations: 291 kB / 0.6369 GB, free: 43.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009562/1.28, allocations: 334.5 kB / 0.6372 GB, free: 42.9 MB / 458.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 () * 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.0009893/1.281, allocations: 0.5043 MB / 0.6377 GB, free: 42.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006711/1.282, allocations: 318.4 kB / 0.638 GB, free: 42.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005447/1.287, allocations: 2.315 MB / 0.6402 GB, free: 40.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/1.287, allocations: 12.75 kB / 0.6402 GB, free: 40.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.287, allocations: 4 kB / 0.6403 GB, free: 40.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/1.287, allocations: 14.66 kB / 0.6403 GB, free: 40.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.302, allocations: 5.82 MB / 0.6459 GB, free: 35.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.302, allocations: 0 / 0.6459 GB, free: 35.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.303, allocations: 168.6 kB / 0.6461 GB, free: 35.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/1.306, allocations: 0.7077 MB / 0.6468 GB, free: 35.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000254/1.306, allocations: 20 kB / 0.6468 GB, free: 35.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006814/1.313, allocations: 4.438 MB / 0.6512 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.926e-06/1.313, allocations: 4 kB / 0.6512 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007892/1.321, allocations: 4.367 MB / 0.6554 GB, free: 27.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.322, allocations: 0.5281 MB / 0.6559 GB, free: 26.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006877/1.323, allocations: 16 kB / 0.656 GB, free: 26.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.325, allocations: 79.84 kB / 0.656 GB, free: 26.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/1.325, allocations: 64.47 kB / 0.6561 GB, free: 26.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.325, allocations: 28 kB / 0.6561 GB, free: 26.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006191/1.331, allocations: 2.279 MB / 0.6583 GB, free: 24.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.117e-06/1.332, allocations: 4 kB / 0.6583 GB, free: 24.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009816/1.341, allocations: 0.8141 MB / 0.6591 GB, free: 23.29 MB / 458.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 () * 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.0007048/1.342, allocations: 158.2 kB / 0.6593 GB, free: 23.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007924/1.35, allocations: 3.907 MB / 0.6631 GB, free: 19.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.261e-06/1.35, allocations: 0.75 kB / 0.6631 GB, free: 19.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/1.352, allocations: 1.072 MB / 0.6642 GB, free: 18.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.355, allocations: 368 kB / 0.6645 GB, free: 17.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.369, allocations: 6.202 MB / 0.6706 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0047/1.374, allocations: 2.838 MB / 0.6733 GB, free: 8.723 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.375, allocations: 243.4 kB / 0.6736 GB, free: 8.484 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-06/1.375, allocations: 0 / 0.6736 GB, free: 8.484 MB / 458.7 MB Notification: Performance of Templates: time 0.4459/1.821, allocations: 60.9 MB / 0.733 GB, free: 109.4 MB / 490.7 MB