Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestMove.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004304, allocations: 11.98 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4314, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.26/0.6915, allocations: 95.11 MB / 464.9 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/0.692, allocations: 75.97 kB / 465 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6422/1.334, allocations: 58.36 MB / 0.5111 GB, free: 61.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.985e-06/1.334, allocations: 0 / 0.5111 GB, free: 61.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001251/1.334, allocations: 48 kB / 0.5111 GB, free: 61.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.009714/1.344, allocations: 2.708 MB / 0.5138 GB, free: 59.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.344, allocations: 12.02 kB / 0.5138 GB, free: 59.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/1.359, allocations: 1.978 MB / 0.5157 GB, free: 57.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/1.372, allocations: 3.368 MB / 0.519 GB, free: 53.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/1.372, allocations: 184.8 kB / 0.5192 GB, free: 53.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/1.373, allocations: 235.9 kB / 0.5194 GB, free: 53.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/1.39, allocations: 6.907 MB / 0.5261 GB, free: 45.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/1.39, allocations: 51.47 kB / 0.5262 GB, free: 45.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005817/1.391, allocations: 127.9 kB / 0.5263 GB, free: 45.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/1.392, allocations: 0.7111 MB / 0.527 GB, free: 44.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/1.408, allocations: 5.891 MB / 0.5328 GB, free: 38.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/1.462, allocations: 33.6 MB / 0.5656 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008976/1.471, allocations: 2.087 MB / 0.5676 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/1.471, allocations: 178.5 kB / 0.5678 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/1.471, allocations: 42.89 kB / 0.5678 GB, free: 1.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 6.322e-06/1.471, allocations: 4 kB / 0.5678 GB, free: 1.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.03537/1.507, allocations: 6.576 MB / 0.5742 GB, free: 10.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.507, allocations: 137 kB / 0.5744 GB, free: 10.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007139/1.514, allocations: 2.905 MB / 0.5772 GB, free: 7.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000281/1.514, allocations: 41.7 kB / 0.5772 GB, free: 7.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002329/1.517, allocations: 2.077 MB / 0.5793 GB, free: 5.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008035/1.518, allocations: 458.3 kB / 0.5797 GB, free: 5.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004895/1.518, allocations: 84 kB / 0.5798 GB, free: 5.109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004169/1.519, allocations: 0.4927 MB / 0.5803 GB, free: 4.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/1.523, allocations: 1.414 MB / 0.5817 GB, free: 3.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007403/1.53, allocations: 4.251 MB / 0.5858 GB, free: 13.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006543/1.537, allocations: 2.4 MB / 0.5881 GB, free: 11.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.537, allocations: 31.98 kB / 0.5882 GB, free: 11.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01643/1.554, allocations: 5.379 MB / 0.5934 GB, free: 5.672 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.554, allocations: 54.34 kB / 0.5935 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/1.554, allocations: 104 kB / 0.5936 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/1.554, allocations: 148 kB / 0.5937 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007145/1.561, allocations: 1.088 MB / 0.5948 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002698/1.562, allocations: 195.2 kB / 0.595 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.567, allocations: 291.4 kB / 0.5952 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009461/1.568, allocations: 280 kB / 0.5955 GB, free: 3.535 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 15 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003591/1.571, allocations: 1.371 MB / 0.5969 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/1.572, allocations: 236.9 kB / 0.5971 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/1.575, allocations: 1.226 MB / 0.5983 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.425e-05/1.575, allocations: 15.95 kB / 0.5983 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.575, allocations: 0 / 0.5983 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/1.576, allocations: 11.97 kB / 0.5983 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/1.593, allocations: 4.402 MB / 0.6026 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/1.593, allocations: 7.984 kB / 0.6026 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.597, allocations: 207.6 kB / 0.6028 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.583e-05/1.597, allocations: 12 kB / 0.6028 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003257/1.597, allocations: 27.98 kB / 0.6028 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.436e-05/1.597, allocations: 11.94 kB / 0.6029 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/1.597, allocations: 4 kB / 0.6029 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/1.603, allocations: 2.139 MB / 0.605 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.605, allocations: 473.6 kB / 0.6054 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006086/1.606, allocations: 20 kB / 0.6054 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.607, allocations: 75.88 kB / 0.6055 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/1.607, allocations: 67.83 kB / 0.6056 GB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/1.608, allocations: 39.98 kB / 0.6056 GB, free: 8.977 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004949/1.613, allocations: 1.83 MB / 0.6074 GB, free: 7.141 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.613, allocations: 0 / 0.6074 GB, free: 7.141 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004814/1.617, allocations: 0.6288 MB / 0.608 GB, free: 6.512 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005032/1.618, allocations: 155 kB / 0.6081 GB, free: 6.352 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008722/1.627, allocations: 3.224 MB / 0.6113 GB, free: 3.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.627, allocations: 0 / 0.6113 GB, free: 3.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/1.629, allocations: 0.7785 MB / 0.6121 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.631, allocations: 249.5 kB / 0.6123 GB, free: 2.129 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/1.648, allocations: 6.87 MB / 0.619 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003887/1.652, allocations: 2.261 MB / 0.6212 GB, free: 8.859 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.653, allocations: 207.4 kB / 0.6214 GB, free: 8.656 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/1.653, allocations: 4 kB / 0.6214 GB, free: 8.652 MB / 458.7 MB Notification: Performance of Templates: time 0.4054/2.059, allocations: 36.16 MB / 0.6567 GB, free: 128.2 MB / 474.7 MB