Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,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.ForceWithTwoMasses2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002647/0.002651, allocations: 355.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.276/3.276, 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.00356/0.00356, allocations: 218.8 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.5051/0.5051, allocations: 76.1 MB / 0.5014 GB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006409, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1013, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.3629/0.4642, allocations: 63.7 MB / 0.6689 GB, free: 10.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03754/0.5018, allocations: 13.53 MB / 0.6822 GB, free: 7.488 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0146/0.5165, allocations: 311.9 kB / 0.6825 GB, free: 7.438 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01076/0.5273, allocations: 3.049 MB / 0.6854 GB, free: 5.219 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03608/0.5635, allocations: 10.7 MB / 0.6959 GB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007274/0.5708, allocations: 1.29 MB / 0.6971 GB, free: 13.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.06694/0.6378, allocations: 30.82 MB / 0.7272 GB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01582/0.6537, allocations: 6.39 MB / 0.7335 GB, free: 7.812 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00544/0.6592, allocations: 2.195 MB / 0.7356 GB, free: 5.609 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008575/0.6678, allocations: 3.665 MB / 0.7392 GB, free: 1.934 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.6696, allocations: 247.9 kB / 0.7394 GB, free: 1.691 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.6744, allocations: 1.244 MB / 0.7406 GB, free: 456 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005558/0.68, allocations: 2.992 MB / 0.7436 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003439/0.6835, allocations: 1.302 MB / 0.7448 GB, free: 12.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.6981, allocations: 8.522 MB / 0.7532 GB, free: 3.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.6981, allocations: 0 / 0.7532 GB, free: 3.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6982, allocations: 0 / 0.7532 GB, free: 3.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000365/0.6985, allocations: 0 / 0.7532 GB, free: 3.59 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2291 * Number of variables: 2291 Notification: Performance of Generate backend data structure: time 0.02705/0.7256, allocations: 7.165 MB / 0.7602 GB, free: 12.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.7257, allocations: 8.031 kB / 0.7602 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05728/0.783, allocations: 4.227 MB / 0.7643 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02117/0.8042, allocations: 5.388 MB / 0.7696 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007349/0.805, allocations: 365.4 kB / 0.7699 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003608/0.8086, allocations: 0.5112 MB / 0.7704 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06028/0.8689, allocations: 16.53 MB / 0.7865 GB, free: 156 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003749/0.8694, allocations: 87.2 kB / 0.7866 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/0.8714, allocations: 235.7 kB / 0.7869 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007447/0.8789, allocations: 2.806 MB / 0.7896 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0493/0.9282, allocations: 13.94 MB / 0.8032 GB, free: 15.07 MB / 442.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.4238/1.352, allocations: 64.6 MB / 0.8663 GB, free: 112.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03895/1.391, allocations: 7.935 MB / 0.874 GB, free: 109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00897/1.4, allocations: 4.265 MB / 0.8782 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04449/1.445, allocations: 19.28 MB / 0.897 GB, free: 89.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.225e-05/1.445, allocations: 68.94 kB / 0.8971 GB, free: 89.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=283): time 8.196e-06/1.445, allocations: 3.938 kB / 0.8971 GB, free: 89.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=364): time 0.3298/1.775, allocations: 54.19 MB / 0.95 GB, free: 35.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/1.775, allocations: 281.7 kB / 0.9503 GB, free: 34.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01813/1.793, allocations: 6.019 MB / 0.9562 GB, free: 28.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001338/1.794, allocations: 83.34 kB / 0.9562 GB, free: 28.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005727/1.8, allocations: 4.669 MB / 0.9608 GB, free: 23.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002932/1.803, allocations: 1.341 MB / 0.9621 GB, free: 22.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/1.805, allocations: 192 kB / 0.9623 GB, free: 22.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009744/1.806, allocations: 0.7071 MB / 0.963 GB, free: 21.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01542/1.821, allocations: 4.2 MB / 0.9671 GB, free: 17.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01994/1.841, allocations: 9.407 MB / 0.9763 GB, free: 5.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3189/2.16, allocations: 6.073 MB / 0.9822 GB, free: 142.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001728/2.16, allocations: 51.22 kB / 0.9823 GB, free: 142.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=1245) (initialization): time 0.06729/2.228, allocations: 18.09 MB / 0.9999 GB, free: 137.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/2.228, allocations: 82.5 kB / 1 GB, free: 137.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002673/2.228, allocations: 182.2 kB / 1 GB, free: 137.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02689/2.255, allocations: 4.73 MB / 1.005 GB, free: 137.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/2.269, allocations: 2.12 MB / 1.007 GB, free: 136.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07763/2.346, allocations: 25.02 MB / 1.031 GB, free: 115.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/2.357, allocations: 0.5298 MB / 1.032 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/2.36, allocations: 0.5476 MB / 1.032 GB, free: 114.5 MB / 442.7 MB 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.007761/2.367, allocations: 3.115 MB / 1.035 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/2.369, allocations: 0.5612 MB / 1.036 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04113/2.41, allocations: 11.01 MB / 1.047 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/2.41, allocations: 15.94 kB / 1.047 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/2.41, allocations: 7.938 kB / 1.047 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004254/2.415, allocations: 1.177 MB / 1.048 GB, free: 99.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001993/2.417, allocations: 59.72 kB / 1.048 GB, free: 98.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007265/2.424, allocations: 240.2 kB / 1.048 GB, free: 98.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001893/2.426, allocations: 301.9 kB / 1.048 GB, free: 98.45 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0747/2.501, allocations: 10.4 MB / 1.059 GB, free: 88.11 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04723/2.548, allocations: 11.38 MB / 1.07 GB, free: 76.66 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009195/2.557, allocations: 3.227 MB / 1.073 GB, free: 73.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01072/2.568, allocations: 3.757 MB / 1.077 GB, free: 69.67 MB / 442.7 MB Notification: Performance of Backend: time 1.693e-06/2.568, allocations: 0 / 1.077 GB, free: 69.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02929/2.597, allocations: 7.84 MB / 1.084 GB, free: 61.87 MB / 442.7 MB Notification: Performance of SimCode: time 0.03648/2.634, allocations: 17.69 MB / 1.101 GB, free: 44.12 MB / 442.7 MB Notification: Performance of Templates: time 0.5281/3.162, allocations: 88.71 MB / 1.188 GB, free: 115.1 MB / 442.7 MB