Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004284/0.004284, allocations: 352 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.748/3.748, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003563/0.003563, allocations: 213.2 kB / 397.9 MB, free: 4.906 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.4775/0.4775, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004676, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08206/0.08256, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.4/0.4826, allocations: 87.7 MB / 0.6924 GB, free: 24.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04915/0.5318, allocations: 17.68 MB / 0.7097 GB, free: 7.254 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02632/0.5582, allocations: 415 kB / 0.7101 GB, free: 6.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02269/0.581, allocations: 4.32 MB / 0.7143 GB, free: 2.508 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07793/0.659, allocations: 14.68 MB / 0.7286 GB, free: 3.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.6691, allocations: 1.026 MB / 0.7296 GB, free: 2.746 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.435/1.104, allocations: 41.46 MB / 0.7701 GB, free: 33.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01738/1.122, allocations: 7.404 MB / 0.7773 GB, free: 33.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005788/1.128, allocations: 2.076 MB / 0.7794 GB, free: 33.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008485/1.136, allocations: 3.442 MB / 0.7827 GB, free: 33.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002607/1.139, allocations: 246.1 kB / 0.783 GB, free: 33.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005515/1.144, allocations: 1.186 MB / 0.7841 GB, free: 33.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005813/1.15, allocations: 2.968 MB / 0.787 GB, free: 33.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003449/1.154, allocations: 1.364 MB / 0.7883 GB, free: 33.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/1.168, allocations: 9.204 MB / 0.7973 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.168, allocations: 0 / 0.7973 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.168, allocations: 0 / 0.7973 GB, free: 30.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000469/1.168, allocations: 7.469 kB / 0.7973 GB, free: 30.58 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: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02462/1.193, allocations: 6.952 MB / 0.8041 GB, free: 26.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.193, allocations: 9.438 kB / 0.8041 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/1.233, allocations: 3.81 MB / 0.8079 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02543/1.258, allocations: 5.065 MB / 0.8128 GB, free: 22.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006452/1.259, allocations: 389.6 kB / 0.8132 GB, free: 21.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00377/1.263, allocations: 0.5143 MB / 0.8137 GB, free: 21.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06222/1.325, allocations: 16 MB / 0.8293 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004025/1.326, allocations: 78.42 kB / 0.8294 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002162/1.328, allocations: 252.5 kB / 0.8296 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00918/1.337, allocations: 2.749 MB / 0.8323 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05066/1.388, allocations: 13.29 MB / 0.8453 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1172/1.505, allocations: 60.26 MB / 0.9041 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02545/1.531, allocations: 6.073 MB / 0.9101 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008205/1.539, allocations: 3.375 MB / 0.9134 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/1.539, allocations: 51.48 kB / 0.9134 GB, free: 4.426 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.657e-05/1.539, allocations: 58.78 kB / 0.9135 GB, free: 4.375 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 6.913e-06/1.539, allocations: 0 / 0.9135 GB, free: 4.375 MB / 474.7 MB Notification: Performance of matching and sorting (n=260): time 0.1237/1.663, allocations: 25.86 MB / 0.9387 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/1.663, allocations: 261.2 kB / 0.939 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01897/1.682, allocations: 6.915 MB / 0.9457 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008288/1.683, allocations: 69.7 kB / 0.9458 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.5778/2.261, allocations: 4.768 MB / 0.9504 GB, free: 198.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001931/2.263, allocations: 1.011 MB / 0.9514 GB, free: 198.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/2.264, allocations: 175.4 kB / 0.9516 GB, free: 198.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007518/2.265, allocations: 0.678 MB / 0.9523 GB, free: 198.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01019/2.275, allocations: 3.281 MB / 0.9555 GB, free: 198 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01485/2.29, allocations: 8.437 MB / 0.9637 GB, free: 191.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/2.304, allocations: 5.126 MB / 0.9687 GB, free: 189.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003694/2.304, allocations: 55.25 kB / 0.9688 GB, free: 189.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1147) (initialization): time 0.04103/2.345, allocations: 12.99 MB / 0.9814 GB, free: 184.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001837/2.345, allocations: 82.48 kB / 0.9815 GB, free: 184.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000368/2.346, allocations: 180.8 kB / 0.9817 GB, free: 184.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008588/2.354, allocations: 1.799 MB / 0.9835 GB, free: 184.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01371/2.368, allocations: 2.106 MB / 0.9855 GB, free: 184.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/2.388, allocations: 11.54 MB / 0.9968 GB, free: 177.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/2.399, allocations: 0.4895 MB / 0.9973 GB, free: 177.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002039/2.401, allocations: 0.5113 MB / 0.9978 GB, free: 177 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1084): * Single equations (assignments): 1078 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008926/2.41, allocations: 3.209 MB / 1.001 GB, free: 175.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/2.412, allocations: 0.5699 MB / 1.001 GB, free: 175.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01913/2.431, allocations: 5.798 MB / 1.007 GB, free: 172.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.961e-05/2.431, allocations: 15.3 kB / 1.007 GB, free: 172.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/2.431, allocations: 1.453 kB / 1.007 GB, free: 172.2 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003766/2.435, allocations: 1.07 MB / 1.008 GB, free: 171.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/2.437, allocations: 40 kB / 1.008 GB, free: 171.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00519/2.442, allocations: 190.1 kB / 1.008 GB, free: 171 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009289/2.443, allocations: 174.1 kB / 1.009 GB, free: 170.9 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02125/2.464, allocations: 6.289 MB / 1.015 GB, free: 165.8 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02299/2.487, allocations: 8.039 MB / 1.023 GB, free: 158.7 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004568/2.492, allocations: 2.102 MB / 1.025 GB, free: 156.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01028/2.502, allocations: 4.401 MB / 1.029 GB, free: 153.2 MB / 0.4949 GB Notification: Performance of Backend: time 6.91e-07/2.502, allocations: 0 / 1.029 GB, free: 153.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01981/2.522, allocations: 6.405 MB / 1.035 GB, free: 146.9 MB / 0.4949 GB Notification: Performance of SimCode: time 0.0368/2.559, allocations: 17.31 MB / 1.052 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of Templates: time 0.1943/2.753, allocations: 72.02 MB / 1.122 GB, free: 58.15 MB / 0.4949 GB