Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003796/0.003796, allocations: 350 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.742/3.742, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003571/0.003571, allocations: 233.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4836/0.4836, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004624, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08369, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3337/0.4174, allocations: 63.56 MB / 0.6688 GB, free: 48.63 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03505/0.4526, allocations: 13.29 MB / 0.6818 GB, free: 35.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01434/0.467, allocations: 299.3 kB / 0.6821 GB, free: 35.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.4779, allocations: 3.119 MB / 0.6851 GB, free: 32.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03326/0.5112, allocations: 10.75 MB / 0.6956 GB, free: 21.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005345/0.5166, allocations: 0.8075 MB / 0.6964 GB, free: 20.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05402/0.5707, allocations: 28.51 MB / 0.7242 GB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.5825, allocations: 5.499 MB / 0.7296 GB, free: 2.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003863/0.5864, allocations: 1.638 MB / 0.7312 GB, free: 1.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005883/0.5923, allocations: 2.625 MB / 0.7338 GB, free: 14.7 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.5935, allocations: 184 kB / 0.734 GB, free: 14.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.5975, allocations: 1.139 MB / 0.7351 GB, free: 13.38 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004143/0.6016, allocations: 2.303 MB / 0.7373 GB, free: 11.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.6037, allocations: 1.076 MB / 0.7384 GB, free: 9.984 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.6157, allocations: 7.205 MB / 0.7454 GB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.6158, allocations: 0 / 0.7454 GB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.6158, allocations: 0 / 0.7454 GB, free: 2.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003222/0.6161, allocations: 4 kB / 0.7454 GB, free: 2.758 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02004/0.6362, allocations: 5.527 MB / 0.7508 GB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6363, allocations: 8.031 kB / 0.7508 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02485/0.6611, allocations: 3.171 MB / 0.7539 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.674, allocations: 3.883 MB / 0.7577 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.6744, allocations: 299.6 kB / 0.758 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.6761, allocations: 395.6 kB / 0.7584 GB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3147/0.9908, allocations: 12.76 MB / 0.7708 GB, free: 121.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/0.9911, allocations: 59.61 kB / 0.7709 GB, free: 121.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000996/0.9921, allocations: 194.5 kB / 0.7711 GB, free: 121.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005914/0.998, allocations: 2.292 MB / 0.7733 GB, free: 120.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03441/1.032, allocations: 10.64 MB / 0.7837 GB, free: 117.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07757/1.11, allocations: 48.68 MB / 0.8312 GB, free: 75.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/1.129, allocations: 4.792 MB / 0.8359 GB, free: 71.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/1.134, allocations: 2.435 MB / 0.8383 GB, free: 68.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01779/1.152, allocations: 7.173 MB / 0.8453 GB, free: 61.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/1.152, allocations: 43.88 kB / 0.8453 GB, free: 61.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 6.713e-06/1.152, allocations: 0 / 0.8453 GB, free: 61.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=193): time 0.08019/1.232, allocations: 17.98 MB / 0.8629 GB, free: 43.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/1.232, allocations: 201.2 kB / 0.8631 GB, free: 42.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.245, allocations: 5.775 MB / 0.8687 GB, free: 37.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005491/1.245, allocations: 57.7 kB / 0.8688 GB, free: 37.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003477/1.249, allocations: 3.93 MB / 0.8726 GB, free: 33.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001276/1.25, allocations: 0.7676 MB / 0.8734 GB, free: 32.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008329/1.251, allocations: 144.8 kB / 0.8735 GB, free: 32.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004726/1.251, allocations: 0.6199 MB / 0.8741 GB, free: 31.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006495/1.258, allocations: 2.571 MB / 0.8766 GB, free: 29.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008959/1.267, allocations: 6.99 MB / 0.8835 GB, free: 19.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00889/1.276, allocations: 4.132 MB / 0.8875 GB, free: 15.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/1.276, allocations: 47.94 kB / 0.8875 GB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02737/1.303, allocations: 10.31 MB / 0.8976 GB, free: 5.477 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.304, allocations: 72 kB / 0.8977 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/1.304, allocations: 160.1 kB / 0.8978 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005449/1.309, allocations: 1.238 MB / 0.899 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/1.32, allocations: 1.699 MB / 0.9007 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/1.336, allocations: 7.751 MB / 0.9083 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008068/1.344, allocations: 416.6 kB / 0.9087 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.346, allocations: 448.9 kB / 0.9091 GB, free: 9.461 MB / 426.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.007093/1.353, allocations: 2.612 MB / 0.9116 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.354, allocations: 473.8 kB / 0.9121 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.367, allocations: 3.974 MB / 0.916 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-05/1.367, allocations: 11.92 kB / 0.916 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.367, allocations: 4 kB / 0.916 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003077/1.371, allocations: 0.8306 MB / 0.9168 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/1.372, allocations: 29.41 kB / 0.9168 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003303/1.375, allocations: 123.8 kB / 0.9169 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/1.376, allocations: 121.1 kB / 0.9171 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2951/1.671, allocations: 4.39 MB / 0.9213 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01333/1.684, allocations: 5.795 MB / 0.927 GB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0033/1.687, allocations: 1.463 MB / 0.9284 GB, free: 120.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008833/1.696, allocations: 3.67 MB / 0.932 GB, free: 118.9 MB / 426.7 MB Notification: Performance of Backend: time 1.522e-06/1.696, allocations: 1.625 kB / 0.932 GB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01566/1.712, allocations: 5.105 MB / 0.937 GB, free: 117.1 MB / 426.7 MB Notification: Performance of SimCode: time 0.03203/1.744, allocations: 13.75 MB / 0.9504 GB, free: 110.2 MB / 426.7 MB Notification: Performance of Templates: time 0.1752/1.919, allocations: 56.04 MB / 1.005 GB, free: 65.11 MB / 426.7 MB