Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005437/0.005436, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.869/3.869, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003648/0.003647, allocations: 238 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5418/0.5418, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004403, allocations: 20 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09568, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.5624, allocations: 100.3 MB / 0.778 GB, free: 1.355 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5627, allocations: 87.52 kB / 0.7781 GB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3233/0.886, allocations: 71.41 MB / 0.8478 GB, free: 1.484 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.8861, allocations: 0 / 0.8478 GB, free: 1.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002307/0.8863, allocations: 64 kB / 0.8479 GB, free: 1.422 MB / 426.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.01383/0.9002, allocations: 3.516 MB / 0.8513 GB, free: 13.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.9002, allocations: 8.031 kB / 0.8513 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.9164, allocations: 2.05 MB / 0.8533 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009256/0.9257, allocations: 2.945 MB / 0.8562 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.9261, allocations: 262.8 kB / 0.8565 GB, free: 8.508 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.9279, allocations: 355.8 kB / 0.8568 GB, free: 8.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/0.9542, allocations: 8.813 MB / 0.8654 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/0.9545, allocations: 63.47 kB / 0.8655 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.9555, allocations: 171.9 kB / 0.8656 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002052/0.9576, allocations: 0.8642 MB / 0.8665 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02257/0.9802, allocations: 7.093 MB / 0.8734 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4022/1.382, allocations: 42.55 MB / 0.915 GB, free: 85.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/1.395, allocations: 3.171 MB / 0.9181 GB, free: 84.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003367/1.398, allocations: 1.431 MB / 0.9194 GB, free: 84.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/1.409, allocations: 4.063 MB / 0.9234 GB, free: 83.42 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/1.409, allocations: 42.31 kB / 0.9235 GB, free: 83.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 5.45e-06/1.409, allocations: 0 / 0.9235 GB, free: 83.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.05049/1.459, allocations: 11.32 MB / 0.9345 GB, free: 80.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/1.459, allocations: 165.2 kB / 0.9347 GB, free: 80.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008709/1.468, allocations: 3.708 MB / 0.9383 GB, free: 80.33 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003446/1.468, allocations: 42.61 kB / 0.9383 GB, free: 80.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002661/1.471, allocations: 2.734 MB / 0.941 GB, free: 78.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008424/1.472, allocations: 0.4967 MB / 0.9415 GB, free: 78.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006928/1.473, allocations: 106.2 kB / 0.9416 GB, free: 78.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004491/1.473, allocations: 0.5235 MB / 0.9421 GB, free: 78.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/1.477, allocations: 1.664 MB / 0.9437 GB, free: 78.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006893/1.484, allocations: 5.076 MB / 0.9487 GB, free: 73.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.495, allocations: 2.846 MB / 0.9515 GB, free: 73.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002194/1.495, allocations: 37.53 kB / 0.9515 GB, free: 73.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01785/1.513, allocations: 6.608 MB / 0.9579 GB, free: 71.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.513, allocations: 61.75 kB / 0.958 GB, free: 71.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/1.514, allocations: 120.2 kB / 0.9581 GB, free: 71.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009583/1.515, allocations: 342.2 kB / 0.9584 GB, free: 71.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008013/1.523, allocations: 1.276 MB / 0.9597 GB, free: 71.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/1.526, allocations: 2.34 MB / 0.962 GB, free: 69.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006062/1.532, allocations: 287.6 kB / 0.9622 GB, free: 69.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.534, allocations: 335.7 kB / 0.9626 GB, free: 69.21 MB / 474.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 () * Number of clocked 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.005065/1.539, allocations: 1.776 MB / 0.9643 GB, free: 68.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/1.539, allocations: 302.8 kB / 0.9646 GB, free: 68.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007852/1.547, allocations: 2.325 MB / 0.9669 GB, free: 67.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.559e-05/1.547, allocations: 14.88 kB / 0.9669 GB, free: 67.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.547, allocations: 3.906 kB / 0.9669 GB, free: 67.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/1.548, allocations: 10.84 kB / 0.9669 GB, free: 67.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.566, allocations: 5.844 MB / 0.9726 GB, free: 65.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/1.566, allocations: 0 / 0.9726 GB, free: 65.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.568, allocations: 162.5 kB / 0.9728 GB, free: 65.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00389/1.572, allocations: 0.7146 MB / 0.9734 GB, free: 65.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/1.572, allocations: 23.27 kB / 0.9735 GB, free: 65.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008781/1.581, allocations: 4.456 MB / 0.9778 GB, free: 62.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.581, allocations: 2.312 kB / 0.9778 GB, free: 62.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.592, allocations: 4.262 MB / 0.982 GB, free: 60.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.594, allocations: 0.5317 MB / 0.9825 GB, free: 60.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009671/1.595, allocations: 19.45 kB / 0.9825 GB, free: 60.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.598, allocations: 75.17 kB / 0.9826 GB, free: 60.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004769/1.598, allocations: 62.72 kB / 0.9827 GB, free: 60.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.598, allocations: 37.11 kB / 0.9827 GB, free: 60.46 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006007/1.604, allocations: 2.303 MB / 0.9849 GB, free: 59.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.604, allocations: 0 / 0.9849 GB, free: 59.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006695/1.611, allocations: 0.8169 MB / 0.9857 GB, free: 59.58 MB / 474.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 () * Number of clocked 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.0006997/1.612, allocations: 158.7 kB / 0.9859 GB, free: 59.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009318/1.621, allocations: 3.944 MB / 0.9897 GB, free: 56.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.621, allocations: 0 / 0.9897 GB, free: 56.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00236/1.624, allocations: 1.079 MB / 0.9908 GB, free: 55.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004187/1.628, allocations: 378.4 kB / 0.9912 GB, free: 55.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/1.652, allocations: 8.501 MB / 0.9995 GB, free: 47.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005434/1.657, allocations: 2.842 MB / 1.002 GB, free: 45.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007134/1.664, allocations: 1.642 MB / 1.004 GB, free: 44.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/1.666, allocations: 205.8 kB / 1.004 GB, free: 44.21 MB / 474.7 MB Notification: Performance of SimCode: time 1.532e-06/1.666, allocations: 0 / 1.004 GB, free: 44.21 MB / 474.7 MB Notification: Performance of Templates: time 0.08295/1.749, allocations: 28.79 MB / 1.032 GB, free: 19.36 MB / 474.7 MB