Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,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.FrameForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002715/0.00272, allocations: 371.7 kB / 15.97 MB, free: 6.199 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.938/3.938, allocations: 388.9 MB / 405.6 MB, free: 9.645 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: 230.2 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.6184/0.6184, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004579, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.135, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.4193/0.5543, allocations: 63.59 MB / 0.7422 GB, free: 11.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03732/0.5917, allocations: 13.31 MB / 0.7552 GB, free: 5.969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01449/0.6062, allocations: 297.3 kB / 0.7555 GB, free: 5.926 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01363/0.6199, allocations: 3.112 MB / 0.7585 GB, free: 4.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04909/0.6691, allocations: 10.76 MB / 0.769 GB, free: 12.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007265/0.6764, allocations: 0.7921 MB / 0.7698 GB, free: 12.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06623/0.7427, allocations: 28.51 MB / 0.7977 GB, free: 1.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.7553, allocations: 5.489 MB / 0.803 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/0.7599, allocations: 1.642 MB / 0.8046 GB, free: 9.902 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006185/0.7661, allocations: 2.617 MB / 0.8072 GB, free: 7.277 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.7676, allocations: 192 kB / 0.8074 GB, free: 7.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.7721, allocations: 1.151 MB / 0.8085 GB, free: 5.938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004283/0.7764, allocations: 2.303 MB / 0.8107 GB, free: 3.629 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.7788, allocations: 1.076 MB / 0.8118 GB, free: 2.543 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.7918, allocations: 7.203 MB / 0.8188 GB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7918, allocations: 0 / 0.8188 GB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.7919, allocations: 0 / 0.8188 GB, free: 11.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003064/0.7922, allocations: 0 / 0.8188 GB, free: 11.32 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: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02017/0.8124, allocations: 5.539 MB / 0.8242 GB, free: 5.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.8124, allocations: 8.828 kB / 0.8242 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02515/0.8376, allocations: 3.163 MB / 0.8273 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.851, allocations: 3.887 MB / 0.8311 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/0.8515, allocations: 307.5 kB / 0.8314 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/0.8534, allocations: 399.7 kB / 0.8318 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/0.8894, allocations: 12.77 MB / 0.8443 GB, free: 260 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.8896, allocations: 59.47 kB / 0.8443 GB, free: 200 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000905/0.8906, allocations: 187.8 kB / 0.8445 GB, free: 12 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006283/0.8969, allocations: 2.292 MB / 0.8467 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0359/0.9328, allocations: 10.63 MB / 0.8571 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09527/1.028, allocations: 48.7 MB / 0.9047 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3805/1.409, allocations: 4.779 MB / 0.9094 GB, free: 172.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008777/1.418, allocations: 2.432 MB / 0.9117 GB, free: 171.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03022/1.448, allocations: 7.179 MB / 0.9187 GB, free: 168.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.997e-05/1.448, allocations: 48.34 kB / 0.9188 GB, free: 168.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 8.836e-06/1.448, allocations: 0 / 0.9188 GB, free: 168.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.08859/1.537, allocations: 17.98 MB / 0.9363 GB, free: 161.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.537, allocations: 204.6 kB / 0.9365 GB, free: 161.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/1.549, allocations: 5.777 MB / 0.9422 GB, free: 158.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005074/1.55, allocations: 49.7 kB / 0.9422 GB, free: 158.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00344/1.553, allocations: 3.938 MB / 0.9461 GB, free: 154.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.555, allocations: 0.7637 MB / 0.9468 GB, free: 153.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008194/1.555, allocations: 144 kB / 0.947 GB, free: 153.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004632/1.556, allocations: 0.6199 MB / 0.9476 GB, free: 152.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006331/1.562, allocations: 2.571 MB / 0.9501 GB, free: 150.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009003/1.571, allocations: 6.99 MB / 0.9569 GB, free: 141.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009004/1.58, allocations: 4.127 MB / 0.9609 GB, free: 137.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/1.581, allocations: 44 kB / 0.961 GB, free: 137.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02731/1.608, allocations: 10.31 MB / 0.971 GB, free: 126.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.608, allocations: 72 kB / 0.9711 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002062/1.608, allocations: 156 kB / 0.9713 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005382/1.614, allocations: 1.253 MB / 0.9725 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009898/1.624, allocations: 1.696 MB / 0.9741 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/1.637, allocations: 7.761 MB / 0.9817 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008108/1.645, allocations: 411.1 kB / 0.9821 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.647, allocations: 440 kB / 0.9825 GB, free: 114.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (901): * Single equations (assignments): 894 * 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%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006143/1.653, allocations: 2.62 MB / 0.9851 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.654, allocations: 477.8 kB / 0.9855 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/1.667, allocations: 3.962 MB / 0.9894 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/1.667, allocations: 15.05 kB / 0.9894 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.667, allocations: 4 kB / 0.9894 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/1.669, allocations: 0.8345 MB / 0.9902 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/1.671, allocations: 24 kB / 0.9903 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003811/1.675, allocations: 119.8 kB / 0.9904 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006354/1.676, allocations: 120.7 kB / 0.9905 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0139/1.689, allocations: 4.404 MB / 0.9948 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01197/1.702, allocations: 5.801 MB / 1 GB, free: 96.5 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003131/1.705, allocations: 1.459 MB / 1.002 GB, free: 95.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008264/1.713, allocations: 3.665 MB / 1.005 GB, free: 91.39 MB / 490.7 MB Notification: Performance of Backend: time 1.342e-06/1.713, allocations: 0 / 1.005 GB, free: 91.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01556/1.729, allocations: 5.105 MB / 1.01 GB, free: 86.3 MB / 490.7 MB Notification: Performance of SimCode: time 0.02895/1.758, allocations: 13.75 MB / 1.024 GB, free: 72.52 MB / 490.7 MB Notification: Performance of Templates: time 0.1519/1.91, allocations: 56.03 MB / 1.079 GB, free: 16.65 MB / 490.7 MB