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.00418/0.004186, allocations: 347.2 kB / 15.95 MB, free: 6.199 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.419/3.419, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003526/0.003526, allocations: 221.2 kB / 397.9 MB, free: 4.977 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.6023/0.6023, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007129/0.0007131, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09406, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3537/0.4478, allocations: 55.57 MB / 0.661 GB, free: 55.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03265/0.4805, allocations: 11.99 MB / 0.6727 GB, free: 45.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01248/0.493, allocations: 271.3 kB / 0.673 GB, free: 44.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009461/0.5026, allocations: 2.682 MB / 0.6756 GB, free: 42.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02972/0.5323, allocations: 9.327 MB / 0.6847 GB, free: 32.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00574/0.5381, allocations: 1.021 MB / 0.6857 GB, free: 31.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05109/0.5893, allocations: 28.77 MB / 0.7138 GB, free: 3.062 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.6009, allocations: 5.562 MB / 0.7192 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004701/0.6056, allocations: 1.794 MB / 0.721 GB, free: 11.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006666/0.6124, allocations: 2.847 MB / 0.7238 GB, free: 8.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001598/0.614, allocations: 200 kB / 0.724 GB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004653/0.6187, allocations: 1.202 MB / 0.7251 GB, free: 7.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00464/0.6234, allocations: 2.388 MB / 0.7275 GB, free: 5.137 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002572/0.626, allocations: 1.092 MB / 0.7285 GB, free: 4.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.6389, allocations: 7.221 MB / 0.7356 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.6389, allocations: 4 kB / 0.7356 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.639, allocations: 4 kB / 0.7356 GB, free: 12.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003585/0.6393, allocations: 0 / 0.7356 GB, free: 12.79 MB / 394.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.02287/0.6622, allocations: 5.915 MB / 0.7414 GB, free: 6.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.6623, allocations: 12.03 kB / 0.7414 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05849/0.7208, allocations: 3.83 MB / 0.7451 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02075/0.7416, allocations: 4.122 MB / 0.7491 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005467/0.7422, allocations: 307.9 kB / 0.7494 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002598/0.7448, allocations: 423.7 kB / 0.7498 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3282/1.073, allocations: 14.08 MB / 0.7636 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003117/1.073, allocations: 55.03 kB / 0.7636 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/1.075, allocations: 205.2 kB / 0.7638 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006483/1.081, allocations: 2.408 MB / 0.7662 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04207/1.124, allocations: 12.01 MB / 0.7779 GB, free: 117.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1104/1.234, allocations: 53.65 MB / 0.8303 GB, free: 73.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02743/1.261, allocations: 5.947 MB / 0.8361 GB, free: 67.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007089/1.269, allocations: 3.58 MB / 0.8396 GB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03358/1.302, allocations: 15.45 MB / 0.8547 GB, free: 48.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/1.302, allocations: 64.52 kB / 0.8548 GB, free: 48.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 6.993e-06/1.302, allocations: 4 kB / 0.8548 GB, free: 48.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=266): time 0.1589/1.461, allocations: 28.87 MB / 0.883 GB, free: 19.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.462, allocations: 261.3 kB / 0.8832 GB, free: 19.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01404/1.476, allocations: 5.024 MB / 0.8881 GB, free: 14.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008379/1.476, allocations: 62.33 kB / 0.8882 GB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004517/1.481, allocations: 3.876 MB / 0.892 GB, free: 10.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002025/1.483, allocations: 0.9966 MB / 0.8929 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/1.484, allocations: 152 kB / 0.8931 GB, free: 8.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006876/1.485, allocations: 0.6324 MB / 0.8937 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009838/1.495, allocations: 2.974 MB / 0.8966 GB, free: 5.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/1.506, allocations: 7.294 MB / 0.9037 GB, free: 11.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.518, allocations: 4.532 MB / 0.9081 GB, free: 7.414 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/1.518, allocations: 44 kB / 0.9082 GB, free: 7.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.0343/1.552, allocations: 11.1 MB / 0.919 GB, free: 12.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/1.553, allocations: 76.02 kB / 0.9191 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002578/1.553, allocations: 148 kB / 0.9192 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005802/1.559, allocations: 1.25 MB / 0.9205 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/1.571, allocations: 1.821 MB / 0.9222 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/1.587, allocations: 7.771 MB / 0.9298 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008344/1.596, allocations: 431.7 kB / 0.9302 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/1.598, allocations: 448 kB / 0.9307 GB, free: 80 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 684 * 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 (950): * Single equations (assignments): 945 * 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%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2977/1.895, allocations: 2.623 MB / 0.9332 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.897, allocations: 461 kB / 0.9337 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.914, allocations: 5.224 MB / 0.9388 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.875e-05/1.914, allocations: 11.62 kB / 0.9388 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.914, allocations: 3.844 kB / 0.9388 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003054/1.917, allocations: 0.8819 MB / 0.9396 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.918, allocations: 39.62 kB / 0.9397 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004023/1.922, allocations: 186.1 kB / 0.9399 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005673/1.923, allocations: 158.4 kB / 0.94 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01846/1.941, allocations: 5.737 MB / 0.9456 GB, free: 134.3 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01694/1.958, allocations: 7.774 MB / 0.9532 GB, free: 131.3 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004572/1.963, allocations: 2.1 MB / 0.9553 GB, free: 130.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007716/1.971, allocations: 3.131 MB / 0.9583 GB, free: 129.4 MB / 442.7 MB Notification: Performance of Backend: time 1.172e-06/1.971, allocations: 1.125 kB / 0.9583 GB, free: 129.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01756/1.988, allocations: 5.639 MB / 0.9638 GB, free: 127.3 MB / 442.7 MB Notification: Performance of SimCode: time 0.02953/2.018, allocations: 14.14 MB / 0.9776 GB, free: 119.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1912/2.209, allocations: 61.27 MB / 1.037 GB, free: 60.92 MB / 442.7 MB