Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,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.LineForceWithMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002712/0.002712, allocations: 359.6 kB / 15.95 MB, free: 6.207 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 4.027/4.027, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.00348/0.00348, allocations: 223.7 kB / 451 MB, free: 145.1 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.5577/0.5577, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007301/0.0007305, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.128, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.6393, allocations: 104.9 MB / 0.7825 GB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.6396, allocations: 78.28 kB / 0.7826 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5357/1.175, allocations: 109.9 MB / 0.89 GB, free: 6.148 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.175, allocations: 0 / 0.89 GB, free: 6.148 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004638/1.176, allocations: 112 kB / 0.8901 GB, free: 6.039 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.3643/1.54, allocations: 6.153 MB / 0.8961 GB, free: 93.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.54, allocations: 9.5 kB / 0.8961 GB, free: 93.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04519/1.586, allocations: 5.252 MB / 0.9012 GB, free: 92.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02051/1.606, allocations: 5.866 MB / 0.9069 GB, free: 92.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006304/1.607, allocations: 414.1 kB / 0.9073 GB, free: 92.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/1.61, allocations: 0.5418 MB / 0.9079 GB, free: 92.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04288/1.653, allocations: 13.93 MB / 0.9215 GB, free: 89.28 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003234/1.653, allocations: 71.78 kB / 0.9215 GB, free: 89.28 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002309/1.656, allocations: 264.1 kB / 0.9218 GB, free: 89.28 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003072/1.659, allocations: 1.364 MB / 0.9231 GB, free: 89.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03617/1.695, allocations: 11.51 MB / 0.9344 GB, free: 89.22 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1016/1.797, allocations: 60.49 MB / 0.9934 GB, free: 47.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0425/1.839, allocations: 5.773 MB / 0.9991 GB, free: 45.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/1.849, allocations: 3.287 MB / 1.002 GB, free: 43.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03814/1.887, allocations: 14.61 MB / 1.017 GB, free: 35.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.888, allocations: 60.41 kB / 1.017 GB, free: 35.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 6.351e-06/1.888, allocations: 0 / 1.017 GB, free: 35.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.1483/2.036, allocations: 25.52 MB / 1.042 GB, free: 14.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/2.036, allocations: 265.3 kB / 1.042 GB, free: 13.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01699/2.053, allocations: 5.001 MB / 1.047 GB, free: 9.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008209/2.054, allocations: 61.7 kB / 1.047 GB, free: 9.453 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005251/2.059, allocations: 3.97 MB / 1.051 GB, free: 5.887 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001887/2.061, allocations: 0.9909 MB / 1.052 GB, free: 5.012 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/2.063, allocations: 144 kB / 1.052 GB, free: 4.871 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001017/2.064, allocations: 0.6219 MB / 1.052 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008277/2.072, allocations: 2.57 MB / 1.055 GB, free: 2.176 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01476/2.087, allocations: 6.932 MB / 1.062 GB, free: 9.676 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/2.102, allocations: 4.114 MB / 1.066 GB, free: 5.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/2.102, allocations: 48 kB / 1.066 GB, free: 5.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0321/2.134, allocations: 9.686 MB / 1.075 GB, free: 12 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/2.134, allocations: 68.19 kB / 1.075 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/2.134, allocations: 156 kB / 1.075 GB, free: 11.78 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/2.137, allocations: 0.5912 MB / 1.076 GB, free: 11.19 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01205/2.149, allocations: 1.743 MB / 1.078 GB, free: 9.445 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/2.16, allocations: 5.617 MB / 1.083 GB, free: 3.582 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008681/2.169, allocations: 411.4 kB / 1.083 GB, free: 3.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001894/2.171, allocations: 443.9 kB / 1.084 GB, free: 2.75 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (912): * Single equations (assignments): 907 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007926/2.179, allocations: 2.623 MB / 1.086 GB, free: 124 kB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3487/2.528, allocations: 470.1 kB / 1.087 GB, free: 113.4 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/2.548, allocations: 4.013 MB / 1.091 GB, free: 113.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.322e-05/2.548, allocations: 28.59 kB / 1.091 GB, free: 113.3 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.856e-05/2.548, allocations: 7.484 kB / 1.091 GB, free: 113.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.446e-05/2.548, allocations: 11.2 kB / 1.091 GB, free: 113.3 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0457/2.594, allocations: 10.28 MB / 1.101 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/2.594, allocations: 5.125 kB / 1.101 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004802/2.599, allocations: 467.1 kB / 1.101 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/2.601, allocations: 349.6 kB / 1.102 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005354/2.601, allocations: 45.84 kB / 1.102 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00814/2.609, allocations: 4.961 MB / 1.107 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/2.609, allocations: 3.75 kB / 1.107 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/2.627, allocations: 7.049 MB / 1.113 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003085/2.63, allocations: 0.8268 MB / 1.114 GB, free: 109.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/2.631, allocations: 42.06 kB / 1.114 GB, free: 109.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/2.635, allocations: 158.6 kB / 1.114 GB, free: 109.5 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008285/2.636, allocations: 150.5 kB / 1.115 GB, free: 109.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002837/2.637, allocations: 62.67 kB / 1.115 GB, free: 109.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007829/2.644, allocations: 3.118 MB / 1.118 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.533e-06/2.645, allocations: 0 / 1.118 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008747/2.653, allocations: 1.297 MB / 1.119 GB, free: 109.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 219 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000912/2.654, allocations: 190.4 kB / 1.119 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01443/2.669, allocations: 6.442 MB / 1.125 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.669, allocations: 4.969 kB / 1.125 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004664/2.673, allocations: 2.217 MB / 1.128 GB, free: 107.9 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005825/2.679, allocations: 0.5938 MB / 1.128 GB, free: 107.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03236/2.712, allocations: 14.46 MB / 1.142 GB, free: 100.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009261/2.721, allocations: 4.219 MB / 1.146 GB, free: 99.16 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01162/2.733, allocations: 2.384 MB / 1.149 GB, free: 99.11 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/2.735, allocations: 316.8 kB / 1.149 GB, free: 99.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.473e-06/2.735, allocations: 0 / 1.149 GB, free: 99.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.1499/2.885, allocations: 44.91 MB / 1.193 GB, free: 83.92 MB / 0.4949 GB