Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,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.Worldtorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003793/0.003793, allocations: 354.6 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.44/3.44, allocations: 341.5 MB / 358.2 MB, free: 28.63 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003599/0.003599, allocations: 213.1 kB / 397.9 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5466/0.5466, allocations: 76.09 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 8 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08622, allocations: 48.71 MB / 0.6067 GB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.4622/0.5485, allocations: 88.33 MB / 0.693 GB, free: 15.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05428/0.6029, allocations: 17.76 MB / 0.7103 GB, free: 15.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01978/0.6227, allocations: 415 kB / 0.7107 GB, free: 15.1 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02046/0.6432, allocations: 4.344 MB / 0.715 GB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06385/0.7071, allocations: 14.74 MB / 0.7294 GB, free: 11.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007472/0.7147, allocations: 1.022 MB / 0.7304 GB, free: 10.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.09172/0.8064, allocations: 41.69 MB / 0.7711 GB, free: 1.164 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01704/0.8235, allocations: 7.486 MB / 0.7784 GB, free: 9.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005513/0.8291, allocations: 2.144 MB / 0.7805 GB, free: 7.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008255/0.8374, allocations: 3.548 MB / 0.784 GB, free: 3.902 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001964/0.8394, allocations: 252 kB / 0.7842 GB, free: 3.656 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/0.8443, allocations: 1.19 MB / 0.7854 GB, free: 2.465 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005803/0.8502, allocations: 3.062 MB / 0.7883 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0032/0.8534, allocations: 1.419 MB / 0.7897 GB, free: 13.96 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.8694, allocations: 9.531 MB / 0.799 GB, free: 4.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.8695, allocations: 3.938 kB / 0.799 GB, free: 4.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.8695, allocations: 0 / 0.799 GB, free: 4.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004063/0.8699, allocations: 4 kB / 0.799 GB, free: 4.402 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: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.02555/0.8955, allocations: 7.168 MB / 0.806 GB, free: 13.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.8955, allocations: 8.031 kB / 0.8061 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03209/0.9276, allocations: 3.844 MB / 0.8098 GB, free: 9.285 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01762/0.9453, allocations: 5.147 MB / 0.8148 GB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005443/0.9459, allocations: 406.3 kB / 0.8152 GB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00287/0.9488, allocations: 0.5269 MB / 0.8157 GB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6066/1.555, allocations: 16.61 MB / 0.832 GB, free: 155 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004876/1.556, allocations: 76.7 kB / 0.832 GB, free: 154.9 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002415/1.558, allocations: 258.2 kB / 0.8323 GB, free: 154.8 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007324/1.566, allocations: 2.898 MB / 0.8351 GB, free: 154.3 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0423/1.608, allocations: 13.78 MB / 0.8486 GB, free: 145 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1008/1.709, allocations: 62.29 MB / 0.9094 GB, free: 81.95 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02227/1.731, allocations: 6.116 MB / 0.9154 GB, free: 75.67 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007011/1.738, allocations: 3.407 MB / 0.9187 GB, free: 72.25 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/1.739, allocations: 54.36 kB / 0.9187 GB, free: 72.21 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/1.739, allocations: 72.06 kB / 0.9188 GB, free: 72.14 MB / 442.8 MB Notification: Performance of pre-optimization done (n=249): time 7.063e-06/1.739, allocations: 0 / 0.9188 GB, free: 72.14 MB / 442.8 MB Notification: Performance of matching and sorting (n=267): time 0.1311/1.87, allocations: 26.31 MB / 0.9445 GB, free: 45.59 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/1.87, allocations: 257.2 kB / 0.9448 GB, free: 45.29 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0136/1.884, allocations: 6.995 MB / 0.9516 GB, free: 38.3 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007377/1.884, allocations: 66.88 kB / 0.9516 GB, free: 38.23 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004108/1.889, allocations: 4.946 MB / 0.9565 GB, free: 33.3 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001602/1.89, allocations: 1.039 MB / 0.9575 GB, free: 32.27 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009629/1.891, allocations: 183.8 kB / 0.9577 GB, free: 32.09 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000519/1.892, allocations: 0.6823 MB / 0.9583 GB, free: 31.4 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008213/1.9, allocations: 3.379 MB / 0.9616 GB, free: 28.01 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/1.912, allocations: 8.66 MB / 0.9701 GB, free: 16.74 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/1.923, allocations: 5.262 MB / 0.9752 GB, free: 11.48 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/1.924, allocations: 56 kB / 0.9753 GB, free: 11.43 MB / 442.8 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.3306/2.254, allocations: 13.32 MB / 0.9883 GB, free: 133.1 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/2.254, allocations: 85.75 kB / 0.9884 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003456/2.255, allocations: 195 kB / 0.9886 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008556/2.263, allocations: 1.808 MB / 0.9903 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/2.277, allocations: 2.083 MB / 0.9924 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/2.3, allocations: 11.74 MB / 1.004 GB, free: 127.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/2.31, allocations: 0.5191 MB / 1.004 GB, free: 127.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/2.312, allocations: 0.5222 MB / 1.005 GB, free: 127.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 843 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1107): * Single equations (assignments): 1101 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00809/2.32, allocations: 3.325 MB / 1.008 GB, free: 126.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/2.322, allocations: 0.5785 MB / 1.009 GB, free: 126.2 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01826/2.34, allocations: 5.988 MB / 1.014 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.46e-05/2.34, allocations: 14.52 kB / 1.015 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/2.34, allocations: 3.562 kB / 1.015 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003668/2.344, allocations: 1.082 MB / 1.016 GB, free: 123.9 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001904/2.346, allocations: 44.16 kB / 1.016 GB, free: 123.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00502/2.351, allocations: 202 kB / 1.016 GB, free: 123.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/2.352, allocations: 182.6 kB / 1.016 GB, free: 123.8 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02047/2.372, allocations: 6.419 MB / 1.022 GB, free: 121.7 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01842/2.391, allocations: 8.303 MB / 1.03 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004881/2.396, allocations: 2.194 MB / 1.033 GB, free: 117 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009692/2.405, allocations: 4.434 MB / 1.037 GB, free: 112.7 MB / 442.8 MB Notification: Performance of Backend: time 1.052e-06/2.405, allocations: 0 / 1.037 GB, free: 112.7 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01942/2.425, allocations: 6.591 MB / 1.043 GB, free: 106.3 MB / 442.8 MB Notification: Performance of SimCode: time 0.03719/2.462, allocations: 17.93 MB / 1.061 GB, free: 88.54 MB / 442.8 MB Notification: Performance of Templates: time 0.1909/2.653, allocations: 73.21 MB / 1.132 GB, free: 15.51 MB / 442.8 MB