Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,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.ForceWithTwoMasses2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003966/0.00397, allocations: 371.5 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.969/3.969, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003498/0.003497, allocations: 232.5 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.5831/0.5831, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006886/0.0006889, allocations: 8.969 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1071, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.3898/0.497, allocations: 63.73 MB / 0.7423 GB, free: 11.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03728/0.5343, allocations: 13.54 MB / 0.7556 GB, free: 5.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01502/0.5494, allocations: 309.3 kB / 0.7559 GB, free: 5.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.5605, allocations: 3.058 MB / 0.7588 GB, free: 3.953 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03808/0.5986, allocations: 10.69 MB / 0.7693 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007133/0.6058, allocations: 1.283 MB / 0.7705 GB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06761/0.6734, allocations: 30.82 MB / 0.8006 GB, free: 14.13 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/0.6886, allocations: 6.392 MB / 0.8069 GB, free: 7.676 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/0.6946, allocations: 2.207 MB / 0.809 GB, free: 5.461 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008576/0.7033, allocations: 3.669 MB / 0.8126 GB, free: 1.781 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002017/0.7053, allocations: 244 kB / 0.8128 GB, free: 1.543 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005363/0.7107, allocations: 1.241 MB / 0.8141 GB, free: 308 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005896/0.7167, allocations: 2.988 MB / 0.817 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003221/0.72, allocations: 1.302 MB / 0.8182 GB, free: 11.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/0.7357, allocations: 8.545 MB / 0.8266 GB, free: 3.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.7358, allocations: 0 / 0.8266 GB, free: 3.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7358, allocations: 0 / 0.8266 GB, free: 3.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004135/0.7362, allocations: 0 / 0.8266 GB, free: 3.426 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02791/0.7642, allocations: 7.162 MB / 0.8336 GB, free: 12.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.7642, allocations: 8.031 kB / 0.8336 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06875/0.833, allocations: 4.223 MB / 0.8377 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0309/0.864, allocations: 5.384 MB / 0.843 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007912/0.8648, allocations: 373.2 kB / 0.8433 GB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004073/0.8689, allocations: 0.515 MB / 0.8438 GB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06179/0.9308, allocations: 16.55 MB / 0.86 GB, free: 15.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003802/0.9312, allocations: 87.2 kB / 0.8601 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001929/0.9332, allocations: 227.8 kB / 0.8603 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007626/0.9408, allocations: 2.806 MB / 0.863 GB, free: 12.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05609/0.997, allocations: 13.94 MB / 0.8767 GB, free: 14.89 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5037/1.501, allocations: 64.62 MB / 0.9398 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04013/1.541, allocations: 7.928 MB / 0.9475 GB, free: 129.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01313/1.554, allocations: 4.267 MB / 0.9517 GB, free: 127.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04592/1.6, allocations: 19.28 MB / 0.9705 GB, free: 116.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.94e-05/1.6, allocations: 71.08 kB / 0.9706 GB, free: 116.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=283): time 7.714e-06/1.6, allocations: 0 / 0.9706 GB, free: 116.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=364): time 0.3501/1.95, allocations: 54.21 MB / 1.023 GB, free: 64.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.951, allocations: 265.8 kB / 1.024 GB, free: 64.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/1.963, allocations: 6.031 MB / 1.03 GB, free: 58.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009999/1.964, allocations: 81.7 kB / 1.03 GB, free: 58.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003982/1.968, allocations: 4.659 MB / 1.034 GB, free: 53.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002268/1.971, allocations: 1.345 MB / 1.036 GB, free: 52.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/1.972, allocations: 197 kB / 1.036 GB, free: 51.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000575/1.973, allocations: 0.7071 MB / 1.036 GB, free: 51.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/1.983, allocations: 4.2 MB / 1.041 GB, free: 47.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01358/1.997, allocations: 9.411 MB / 1.05 GB, free: 35.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/2.01, allocations: 6.071 MB / 1.056 GB, free: 29.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/2.011, allocations: 52 kB / 1.056 GB, free: 28.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=1245) (initialization): time 0.06291/2.073, allocations: 18.1 MB / 1.073 GB, free: 10.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/2.074, allocations: 87.59 kB / 1.073 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/2.074, allocations: 180 kB / 1.074 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02756/2.101, allocations: 4.733 MB / 1.078 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/2.115, allocations: 2.113 MB / 1.08 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4235/2.539, allocations: 25 MB / 1.105 GB, free: 163.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/2.55, allocations: 0.5278 MB / 1.105 GB, free: 163.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002676/2.552, allocations: 0.5422 MB / 1.106 GB, free: 163.1 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: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1126): * Single equations (assignments): 1121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 44,(3,88.9%) 49} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01025/2.563, allocations: 3.127 MB / 1.109 GB, free: 162.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001908/2.565, allocations: 0.5585 MB / 1.109 GB, free: 162.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04827/2.613, allocations: 11.01 MB / 1.12 GB, free: 158.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001078/2.613, allocations: 23.38 kB / 1.12 GB, free: 158.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/2.613, allocations: 3.594 kB / 1.12 GB, free: 158.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00439/2.618, allocations: 1.18 MB / 1.121 GB, free: 158.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002243/2.62, allocations: 58.86 kB / 1.121 GB, free: 158.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006717/2.627, allocations: 240.9 kB / 1.122 GB, free: 158.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/2.628, allocations: 297.4 kB / 1.122 GB, free: 158.4 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04215/2.67, allocations: 10.39 MB / 1.132 GB, free: 155.4 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02685/2.697, allocations: 11.39 MB / 1.143 GB, free: 150.9 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007243/2.705, allocations: 3.219 MB / 1.146 GB, free: 149.7 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009324/2.714, allocations: 3.751 MB / 1.15 GB, free: 146.7 MB / 0.4949 GB Notification: Performance of Backend: time 1.993e-06/2.714, allocations: 0 / 1.15 GB, free: 146.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02448/2.739, allocations: 7.837 MB / 1.158 GB, free: 139 MB / 0.4949 GB Notification: Performance of SimCode: time 0.03775/2.776, allocations: 17.71 MB / 1.175 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of Templates: time 0.2244/3.001, allocations: 88.71 MB / 1.262 GB, free: 33.16 MB / 0.4949 GB