Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003618/0.003628, allocations: 348.7 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.669/3.669, 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.003453/0.003453, allocations: 221.2 kB / 397.9 MB, free: 4.992 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.4862/0.4862, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007236/0.000724, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08895, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3934/0.4825, allocations: 108.5 MB / 0.7127 GB, free: 4.086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06378/0.5463, allocations: 21.55 MB / 0.7337 GB, free: 14.6 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0233/0.5696, allocations: 0.4988 MB / 0.7342 GB, free: 14.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0196/0.5893, allocations: 5.362 MB / 0.7395 GB, free: 8.715 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06133/0.6507, allocations: 18.15 MB / 0.7572 GB, free: 6.492 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009014/0.6597, allocations: 1.245 MB / 0.7584 GB, free: 5.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4452/1.105, allocations: 54.44 MB / 0.8116 GB, free: 1.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02022/1.125, allocations: 9.645 MB / 0.821 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006338/1.132, allocations: 2.536 MB / 0.8235 GB, free: 9.137 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009384/1.141, allocations: 4.185 MB / 0.8275 GB, free: 6.152 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002117/1.143, allocations: 296 kB / 0.8278 GB, free: 5.863 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/1.148, allocations: 1.221 MB / 0.829 GB, free: 4.863 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006437/1.155, allocations: 3.611 MB / 0.8325 GB, free: 2.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003252/1.158, allocations: 1.637 MB / 0.8341 GB, free: 1.664 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/1.177, allocations: 11.19 MB / 0.8451 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/1.177, allocations: 7 kB / 0.8451 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.177, allocations: 0 / 0.8451 GB, free: 7.953 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004598/1.177, allocations: 0 / 0.8451 GB, free: 7.953 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03115/1.208, allocations: 8.433 MB / 0.8533 GB, free: 180 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/1.208, allocations: 16.02 kB / 0.8533 GB, free: 164 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03804/1.246, allocations: 4.415 MB / 0.8576 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02135/1.268, allocations: 6.364 MB / 0.8639 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/1.268, allocations: 487.9 kB / 0.8643 GB, free: 7.145 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003087/1.272, allocations: 0.631 MB / 0.8649 GB, free: 6.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05727/1.329, allocations: 19.44 MB / 0.8839 GB, free: 7.652 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000386/1.329, allocations: 89.8 kB / 0.884 GB, free: 7.602 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001748/1.331, allocations: 295.8 kB / 0.8843 GB, free: 7.523 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008231/1.339, allocations: 3.182 MB / 0.8874 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08063/1.42, allocations: 16.36 MB / 0.9034 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.752/2.172, allocations: 70.45 MB / 0.9722 GB, free: 175 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03692/2.209, allocations: 8.484 MB / 0.9805 GB, free: 174.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01011/2.219, allocations: 4.514 MB / 0.9849 GB, free: 174.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/2.22, allocations: 0.6666 MB / 0.9855 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/2.22, allocations: 65.25 kB / 0.9856 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 9.127e-06/2.22, allocations: 2.688 kB / 0.9856 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.1567/2.377, allocations: 35.01 MB / 1.02 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/2.377, allocations: 293.2 kB / 1.02 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01642/2.394, allocations: 7.573 MB / 1.027 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000955/2.395, allocations: 75.98 kB / 1.028 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004809/2.4, allocations: 5.482 MB / 1.033 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002108/2.402, allocations: 1.265 MB / 1.034 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/2.403, allocations: 196 kB / 1.034 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007376/2.404, allocations: 0.7235 MB / 1.035 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/2.414, allocations: 4.001 MB / 1.039 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/2.428, allocations: 9.526 MB / 1.048 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/2.441, allocations: 6.011 MB / 1.054 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001834/2.441, allocations: 52 kB / 1.054 GB, free: 125 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.04258/2.484, allocations: 15.38 MB / 1.069 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/2.484, allocations: 84 kB / 1.069 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002697/2.484, allocations: 192 kB / 1.069 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/2.495, allocations: 2.327 MB / 1.072 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0148/2.51, allocations: 2.332 MB / 1.074 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.026/2.536, allocations: 15.3 MB / 1.089 GB, free: 89.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/2.547, allocations: 0.5734 MB / 1.089 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002213/2.55, allocations: 0.5603 MB / 1.09 GB, free: 88.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],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 (1217): * Single equations (assignments): 1210 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009516/2.559, allocations: 3.74 MB / 1.094 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001848/2.561, allocations: 0.6479 MB / 1.094 GB, free: 83.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02487/2.586, allocations: 7.863 MB / 1.102 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000111/2.586, allocations: 21.8 kB / 1.102 GB, free: 75.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/2.586, allocations: 3.938 kB / 1.102 GB, free: 75.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00466/2.591, allocations: 1.277 MB / 1.103 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002623/2.593, allocations: 63.08 kB / 1.103 GB, free: 74.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006504/2.6, allocations: 253 kB / 1.104 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/2.601, allocations: 214.3 kB / 1.104 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02714/2.628, allocations: 8.161 MB / 1.112 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02338/2.652, allocations: 10.4 MB / 1.122 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006223/2.658, allocations: 2.792 MB / 1.125 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01132/2.67, allocations: 4.831 MB / 1.129 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of Backend: time 1.002e-06/2.67, allocations: 0 / 1.129 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0229/2.693, allocations: 7.626 MB / 1.137 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of SimCode: time 0.04429/2.737, allocations: 20.63 MB / 1.157 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.5318/3.269, allocations: 87.14 MB / 1.242 GB, free: 168 MB / 0.5105 GB