Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,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.LineForceWithMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002688/0.002688, allocations: 345.9 kB / 15.93 MB, free: 6.219 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.244/3.244, allocations: 341.5 MB / 358.2 MB, free: 28.6 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.003536/0.003536, allocations: 215.3 kB / 397.8 MB, free: 6 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.4762/0.4762, allocations: 76.1 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 16 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08609/0.08657, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.5693, allocations: 98.1 MB / 0.7025 GB, free: 5.824 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5697, allocations: 81.08 kB / 0.7026 GB, free: 5.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7855/1.355, allocations: 109.8 MB / 0.8098 GB, free: 81.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.908e-06/1.355, allocations: 0 / 0.8098 GB, free: 81.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005299/1.356, allocations: 117.1 kB / 0.8099 GB, free: 81.9 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.031/1.387, allocations: 6.163 MB / 0.8159 GB, free: 80.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.387, allocations: 8.562 kB / 0.816 GB, free: 80.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04179/1.429, allocations: 5.246 MB / 0.8211 GB, free: 80.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/1.45, allocations: 5.865 MB / 0.8268 GB, free: 79.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006397/1.45, allocations: 414.4 kB / 0.8272 GB, free: 79.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003178/1.453, allocations: 0.5407 MB / 0.8277 GB, free: 79.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04388/1.497, allocations: 13.92 MB / 0.8413 GB, free: 76.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003838/1.498, allocations: 72.25 kB / 0.8414 GB, free: 76.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002478/1.5, allocations: 258.8 kB / 0.8416 GB, free: 76.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002918/1.503, allocations: 1.36 MB / 0.843 GB, free: 76.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03601/1.539, allocations: 11.5 MB / 0.8542 GB, free: 76.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09084/1.63, allocations: 60.48 MB / 0.9133 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0267/1.657, allocations: 5.781 MB / 0.9189 GB, free: 31.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006489/1.664, allocations: 3.276 MB / 0.9221 GB, free: 28.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03295/1.697, allocations: 14.61 MB / 0.9364 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/1.697, allocations: 62.72 kB / 0.9364 GB, free: 14.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 6.653e-06/1.697, allocations: 3.844 kB / 0.9364 GB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.1426/1.839, allocations: 25.71 MB / 0.9615 GB, free: 9.836 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.84, allocations: 257.3 kB / 0.9618 GB, free: 9.527 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/1.852, allocations: 5.003 MB / 0.9667 GB, free: 4.531 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000686/1.853, allocations: 69.7 kB / 0.9667 GB, free: 4.457 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004679/1.858, allocations: 3.962 MB / 0.9706 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3061/2.164, allocations: 0.975 MB / 0.9716 GB, free: 94.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/2.165, allocations: 148.7 kB / 0.9717 GB, free: 94.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000732/2.166, allocations: 0.6147 MB / 0.9723 GB, free: 94.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007978/2.174, allocations: 2.569 MB / 0.9748 GB, free: 94.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/2.185, allocations: 6.92 MB / 0.9816 GB, free: 88.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/2.196, allocations: 4.112 MB / 0.9856 GB, free: 88.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000337/2.197, allocations: 43.47 kB / 0.9856 GB, free: 88.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02712/2.224, allocations: 9.706 MB / 0.9951 GB, free: 88.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/2.224, allocations: 70.53 kB / 0.9952 GB, free: 88.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/2.224, allocations: 157 kB / 0.9953 GB, free: 88.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/2.226, allocations: 0.5848 MB / 0.9959 GB, free: 88.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/2.238, allocations: 1.738 MB / 0.9976 GB, free: 87.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008959/2.247, allocations: 5.625 MB / 1.003 GB, free: 85.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008494/2.255, allocations: 403.8 kB / 1.003 GB, free: 85.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/2.257, allocations: 439.8 kB / 1.004 GB, free: 85.17 MB / 442.7 MB 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.007335/2.264, allocations: 2.632 MB / 1.006 GB, free: 84.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/2.266, allocations: 470.2 kB / 1.007 GB, free: 84.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/2.278, allocations: 4.016 MB / 1.011 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/2.278, allocations: 26.72 kB / 1.011 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/2.278, allocations: 7.5 kB / 1.011 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.925e-05/2.278, allocations: 12.84 kB / 1.011 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03075/2.309, allocations: 10.27 MB / 1.021 GB, free: 81.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/2.309, allocations: 3.688 kB / 1.021 GB, free: 81.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004709/2.313, allocations: 469.8 kB / 1.021 GB, free: 81.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/2.315, allocations: 346.9 kB / 1.022 GB, free: 81.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006355/2.316, allocations: 48.23 kB / 1.022 GB, free: 81.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007646/2.324, allocations: 4.967 MB / 1.027 GB, free: 78.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/2.324, allocations: 0 / 1.027 GB, free: 78.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/2.341, allocations: 7.047 MB / 1.033 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003081/2.344, allocations: 0.8207 MB / 1.034 GB, free: 74.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001568/2.345, allocations: 40.39 kB / 1.034 GB, free: 74.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004318/2.35, allocations: 162.8 kB / 1.034 GB, free: 74.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008023/2.351, allocations: 147.3 kB / 1.035 GB, free: 74.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/2.351, allocations: 71.03 kB / 1.035 GB, free: 74.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008104/2.359, allocations: 3.122 MB / 1.038 GB, free: 73.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.91e-07/2.359, allocations: 0 / 1.038 GB, free: 73.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009188/2.368, allocations: 1.287 MB / 1.039 GB, free: 73.28 MB / 442.7 MB 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.0009704/2.369, allocations: 198 kB / 1.039 GB, free: 73.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01488/2.384, allocations: 6.447 MB / 1.045 GB, free: 70.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/2.384, allocations: 0 / 1.045 GB, free: 70.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005068/2.389, allocations: 2.222 MB / 1.048 GB, free: 69.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006757/2.396, allocations: 0.5919 MB / 1.048 GB, free: 69.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/2.429, allocations: 14.44 MB / 1.062 GB, free: 58.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009613/2.439, allocations: 4.217 MB / 1.066 GB, free: 55.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01164/2.45, allocations: 2.387 MB / 1.069 GB, free: 53.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/2.453, allocations: 318.2 kB / 1.069 GB, free: 53.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/2.453, allocations: 4 kB / 1.069 GB, free: 53.65 MB / 442.7 MB Notification: Performance of Templates: time 0.1327/2.585, allocations: 44.92 MB / 1.113 GB, free: 18.55 MB / 442.7 MB