Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,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.LineForceWithTwoMasses") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003954/0.003954, allocations: 345.3 kB / 15.94 MB, free: 6.195 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.7/3.7, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.00515/0.005149, allocations: 217.2 kB / 397.9 MB, free: 4.969 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.5093/0.5093, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004729, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08368/0.08418, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3748/0.4591, allocations: 63.72 MB / 0.669 GB, free: 48.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03741/0.4965, allocations: 13.51 MB / 0.6822 GB, free: 35.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01425/0.5108, allocations: 307.2 kB / 0.6825 GB, free: 35.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.5213, allocations: 3.068 MB / 0.6855 GB, free: 32.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03317/0.5545, allocations: 10.69 MB / 0.6959 GB, free: 21.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006698/0.5613, allocations: 1.294 MB / 0.6972 GB, free: 20.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05903/0.6203, allocations: 30.84 MB / 0.7273 GB, free: 5.238 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/0.635, allocations: 6.381 MB / 0.7335 GB, free: 14.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005864/0.6409, allocations: 2.203 MB / 0.7357 GB, free: 12.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008594/0.6496, allocations: 3.681 MB / 0.7393 GB, free: 9.051 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.6516, allocations: 248 kB / 0.7395 GB, free: 8.809 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/0.6566, allocations: 1.256 MB / 0.7407 GB, free: 7.551 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005787/0.6625, allocations: 2.988 MB / 0.7436 GB, free: 4.555 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003047/0.6656, allocations: 1.302 MB / 0.7449 GB, free: 3.242 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.6798, allocations: 8.549 MB / 0.7533 GB, free: 10.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6799, allocations: 0 / 0.7533 GB, free: 10.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6799, allocations: 0 / 0.7533 GB, free: 10.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003584/0.6803, allocations: 0 / 0.7533 GB, free: 10.67 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02662/0.7069, allocations: 7.162 MB / 0.7602 GB, free: 3.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.707, allocations: 8.031 kB / 0.7603 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3576/1.065, allocations: 4.218 MB / 0.7644 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/1.086, allocations: 5.397 MB / 0.7696 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000752/1.086, allocations: 365.9 kB / 0.77 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003873/1.09, allocations: 0.5158 MB / 0.7705 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06658/1.157, allocations: 16.54 MB / 0.7867 GB, free: 116 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000436/1.158, allocations: 84.06 kB / 0.7867 GB, free: 115.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002304/1.16, allocations: 239.2 kB / 0.787 GB, free: 115.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007292/1.167, allocations: 2.807 MB / 0.7897 GB, free: 115.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05109/1.218, allocations: 13.96 MB / 0.8033 GB, free: 103.8 MB / 410.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.149/1.367, allocations: 64.7 MB / 0.8665 GB, free: 37.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03778/1.405, allocations: 7.97 MB / 0.8743 GB, free: 29.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008794/1.414, allocations: 4.332 MB / 0.8785 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04414/1.458, allocations: 19.37 MB / 0.8974 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/1.458, allocations: 72.48 kB / 0.8975 GB, free: 5.418 MB / 410.7 MB Notification: Performance of pre-optimization done (n=289): time 7.263e-06/1.458, allocations: 0 / 0.8975 GB, free: 5.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=370): time 0.6493/2.108, allocations: 53.95 MB / 0.9502 GB, free: 137.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/2.108, allocations: 276.3 kB / 0.9505 GB, free: 137.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01534/2.123, allocations: 6.024 MB / 0.9564 GB, free: 135.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001018/2.124, allocations: 81.67 kB / 0.9564 GB, free: 135.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004429/2.129, allocations: 4.67 MB / 0.961 GB, free: 131.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002382/2.131, allocations: 1.365 MB / 0.9623 GB, free: 130.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/2.133, allocations: 189.5 kB / 0.9625 GB, free: 130.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000787/2.134, allocations: 0.7089 MB / 0.9632 GB, free: 129.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01158/2.145, allocations: 4.219 MB / 0.9673 GB, free: 128.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01577/2.161, allocations: 9.433 MB / 0.9765 GB, free: 120.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/2.176, allocations: 6.102 MB / 0.9825 GB, free: 117.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000262/2.176, allocations: 51.66 kB / 0.9825 GB, free: 117.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.06303/2.239, allocations: 18.1 MB / 1 GB, free: 105.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/2.239, allocations: 88.25 kB / 1 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003183/2.239, allocations: 180 kB / 1 GB, free: 105.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02616/2.266, allocations: 4.69 MB / 1.005 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/2.279, allocations: 2.129 MB / 1.007 GB, free: 98.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0596/2.339, allocations: 24.98 MB / 1.032 GB, free: 73.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/2.351, allocations: 0.5317 MB / 1.032 GB, free: 72.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/2.353, allocations: 0.5468 MB / 1.033 GB, free: 72.18 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 (1132): * Single equations (assignments): 1127 * 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 {(2,100.0%) 43,(3,88.9%) 49} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008451/2.361, allocations: 3.109 MB / 1.036 GB, free: 69.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/2.363, allocations: 0.5631 MB / 1.036 GB, free: 68.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04201/2.405, allocations: 11.02 MB / 1.047 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/2.405, allocations: 23.92 kB / 1.047 GB, free: 57.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/2.405, allocations: 0 / 1.047 GB, free: 57.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004401/2.41, allocations: 1.185 MB / 1.048 GB, free: 56.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00247/2.412, allocations: 59.95 kB / 1.048 GB, free: 56.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006614/2.419, allocations: 232.7 kB / 1.048 GB, free: 55.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/2.42, allocations: 301.9 kB / 1.049 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03984/2.46, allocations: 10.47 MB / 1.059 GB, free: 45.15 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0263/2.486, allocations: 11.47 MB / 1.07 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007034/2.494, allocations: 3.244 MB / 1.073 GB, free: 30.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008813/2.502, allocations: 3.753 MB / 1.077 GB, free: 26.61 MB / 442.7 MB Notification: Performance of Backend: time 1.022e-06/2.502, allocations: 0 / 1.077 GB, free: 26.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0241/2.527, allocations: 7.875 MB / 1.085 GB, free: 18.77 MB / 442.7 MB Notification: Performance of SimCode: time 0.3853/2.912, allocations: 17.74 MB / 1.102 GB, free: 126.4 MB / 442.7 MB Notification: Performance of Templates: time 0.2361/3.148, allocations: 88.81 MB / 1.189 GB, free: 63.43 MB / 442.7 MB