Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002635/0.00264, allocations: 369.9 kB / 15.97 MB, free: 6.18 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 4.035/4.035, allocations: 388.9 MB / 405.6 MB, free: 10.21 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.003523/0.003523, allocations: 231.5 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.6446/0.6446, allocations: 80.01 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 16 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09892, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3826/0.4816, allocations: 64.05 MB / 0.7426 GB, free: 11.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03707/0.5187, allocations: 13.36 MB / 0.7557 GB, free: 5.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0151/0.5339, allocations: 302.6 kB / 0.756 GB, free: 5.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.5457, allocations: 3.124 MB / 0.759 GB, free: 3.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03822/0.5839, allocations: 10.8 MB / 0.7696 GB, free: 12.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005761/0.5897, allocations: 0.7977 MB / 0.7704 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06294/0.6527, allocations: 28.63 MB / 0.7983 GB, free: 336 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.6654, allocations: 5.745 MB / 0.8039 GB, free: 10.53 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004369/0.6699, allocations: 1.673 MB / 0.8056 GB, free: 8.848 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006389/0.6763, allocations: 2.695 MB / 0.8082 GB, free: 6.145 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.6779, allocations: 188 kB / 0.8084 GB, free: 5.961 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.6823, allocations: 1.151 MB / 0.8095 GB, free: 4.809 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005268/0.6876, allocations: 2.361 MB / 0.8118 GB, free: 2.441 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003931/0.6916, allocations: 1.115 MB / 0.8129 GB, free: 1.316 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01838/0.7101, allocations: 7.419 MB / 0.8201 GB, free: 9.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.7102, allocations: 0 / 0.8201 GB, free: 9.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.7102, allocations: 0 / 0.8201 GB, free: 9.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000354/0.7106, allocations: 0 / 0.8201 GB, free: 9.879 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02971/0.7403, allocations: 5.665 MB / 0.8257 GB, free: 4.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.867e-05/0.7404, allocations: 12.83 kB / 0.8257 GB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04073/0.7811, allocations: 3.179 MB / 0.8288 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0181/0.7993, allocations: 3.93 MB / 0.8326 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004548/0.7998, allocations: 311.7 kB / 0.8329 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/0.8019, allocations: 419.7 kB / 0.8333 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04002/0.842, allocations: 13.17 MB / 0.8462 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003544/0.8424, allocations: 59.44 kB / 0.8462 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002226/0.8446, allocations: 195.8 kB / 0.8464 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009433/0.8541, allocations: 2.394 MB / 0.8488 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05045/0.9047, allocations: 10.92 MB / 0.8594 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4375/1.342, allocations: 50.05 MB / 0.9083 GB, free: 160.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/1.362, allocations: 4.555 MB / 0.9127 GB, free: 159.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005468/1.367, allocations: 2.456 MB / 0.9151 GB, free: 159.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/1.386, allocations: 6.742 MB / 0.9217 GB, free: 157.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/1.386, allocations: 56.69 kB / 0.9218 GB, free: 157.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 6.662e-06/1.386, allocations: 0.5 kB / 0.9218 GB, free: 157.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.08203/1.468, allocations: 19.4 MB / 0.9407 GB, free: 149.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/1.468, allocations: 223.3 kB / 0.9409 GB, free: 149.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.48, allocations: 5.853 MB / 0.9467 GB, free: 146.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005301/1.48, allocations: 57.62 kB / 0.9467 GB, free: 146.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003585/1.484, allocations: 4.05 MB / 0.9507 GB, free: 143.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/1.485, allocations: 0.7694 MB / 0.9514 GB, free: 142.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008311/1.486, allocations: 145.8 kB / 0.9516 GB, free: 142.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004702/1.487, allocations: 0.6256 MB / 0.9522 GB, free: 142 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00874/1.495, allocations: 2.601 MB / 0.9547 GB, free: 140.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0133/1.509, allocations: 7.117 MB / 0.9617 GB, free: 131.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/1.522, allocations: 4.193 MB / 0.9658 GB, free: 127.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/1.522, allocations: 48 kB / 0.9658 GB, free: 127.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.03813/1.56, allocations: 10.48 MB / 0.976 GB, free: 117.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000178/1.56, allocations: 72 kB / 0.9761 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00027/1.561, allocations: 164.8 kB / 0.9763 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008587/1.569, allocations: 1.275 MB / 0.9775 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01496/1.584, allocations: 1.719 MB / 0.9792 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.599, allocations: 7.915 MB / 0.9869 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008477/1.607, allocations: 408.2 kB / 0.9873 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.609, allocations: 461 kB / 0.9877 GB, free: 105 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (915): * Single equations (assignments): 908 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006472/1.615, allocations: 2.685 MB / 0.9904 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.617, allocations: 485.7 kB / 0.9908 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.628, allocations: 4.021 MB / 0.9948 GB, free: 97.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.334e-05/1.628, allocations: 7.969 kB / 0.9948 GB, free: 97.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/1.628, allocations: 0 / 0.9948 GB, free: 97.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/1.631, allocations: 0.8444 MB / 0.9956 GB, free: 96.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/1.633, allocations: 29.95 kB / 0.9956 GB, free: 96.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003835/1.637, allocations: 123.8 kB / 0.9957 GB, free: 96.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/1.638, allocations: 129.3 kB / 0.9959 GB, free: 96.59 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01366/1.651, allocations: 4.512 MB / 1 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01196/1.663, allocations: 5.908 MB / 1.006 GB, free: 86.16 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003111/1.666, allocations: 1.482 MB / 1.007 GB, free: 84.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008178/1.675, allocations: 3.71 MB / 1.011 GB, free: 81 MB / 490.7 MB Notification: Performance of Backend: time 8.71e-07/1.675, allocations: 0 / 1.011 GB, free: 81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01567/1.69, allocations: 5.205 MB / 1.016 GB, free: 75.83 MB / 490.7 MB Notification: Performance of SimCode: time 0.02919/1.72, allocations: 14.14 MB / 1.03 GB, free: 61.66 MB / 490.7 MB Notification: Performance of Templates: time 0.499/2.219, allocations: 56.8 MB / 1.085 GB, free: 159.8 MB / 490.7 MB