Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002785/0.002785, allocations: 360.4 kB / 15.96 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.065/4.065, allocations: 388.9 MB / 405.6 MB, free: 9.543 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.01698/0.01698, allocations: 228.5 kB / 451 MB, free: 144.9 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.574/0.574, allocations: 80.03 MB / 0.5627 GB, free: 19.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 14 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 54.87 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.3652/0.4687, allocations: 41.02 MB / 0.7202 GB, free: 11.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.4939, allocations: 8.89 MB / 0.7288 GB, free: 11.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009202/0.5031, allocations: 182.6 kB / 0.729 GB, free: 11.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007865/0.5111, allocations: 2.014 MB / 0.731 GB, free: 11.37 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02817/0.5393, allocations: 6.876 MB / 0.7377 GB, free: 9.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.543, allocations: 0.5257 MB / 0.7382 GB, free: 9.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008612/0.5517, allocations: 4.89 MB / 0.743 GB, free: 7.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007635/0.5594, allocations: 3.595 MB / 0.7465 GB, free: 6.484 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/0.5633, allocations: 1.347 MB / 0.7478 GB, free: 5.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005178/0.5685, allocations: 2.13 MB / 0.7499 GB, free: 5.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.5702, allocations: 180.5 kB / 0.7501 GB, free: 5.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.5743, allocations: 0.8499 MB / 0.7509 GB, free: 5.023 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003783/0.5781, allocations: 1.829 MB / 0.7527 GB, free: 4.387 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002616/0.5808, allocations: 0.9533 MB / 0.7536 GB, free: 4.152 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.5911, allocations: 6.153 MB / 0.7596 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.5912, allocations: 3.984 kB / 0.7596 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5912, allocations: 0 / 0.7596 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003634/0.5916, allocations: 2.625 kB / 0.7596 GB, free: 0.8242 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.01535/0.6069, allocations: 4.431 MB / 0.764 GB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.607, allocations: 8.828 kB / 0.764 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02437/0.6314, allocations: 3.827 MB / 0.7677 GB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008081/0.6395, allocations: 2.415 MB / 0.7701 GB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.6399, allocations: 267.3 kB / 0.7703 GB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/0.6421, allocations: 348.2 kB / 0.7706 GB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03555/0.6777, allocations: 12.76 MB / 0.7831 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/0.678, allocations: 36.86 kB / 0.7831 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00173/0.6797, allocations: 161.4 kB / 0.7833 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009418/0.6892, allocations: 2.969 MB / 0.7862 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03666/0.7259, allocations: 11.39 MB / 0.7973 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09399/0.8199, allocations: 42.19 MB / 0.8385 GB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/0.836, allocations: 4.708 MB / 0.8431 GB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006133/0.8422, allocations: 2.421 MB / 0.8455 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/0.8441, allocations: 1.318 MB / 0.8468 GB, free: 9.082 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.8442, allocations: 58.08 kB / 0.8468 GB, free: 9.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 6.723e-06/0.8442, allocations: 0 / 0.8468 GB, free: 9.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=268): time 0.08265/0.9268, allocations: 19.47 MB / 0.8658 GB, free: 5.402 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.927, allocations: 103.1 kB / 0.8659 GB, free: 5.281 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007772/0.9348, allocations: 3.212 MB / 0.8691 GB, free: 2.066 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000648/0.9355, allocations: 64.44 kB / 0.8691 GB, free: 2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003847/0.9393, allocations: 3.27 MB / 0.8723 GB, free: 14.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002069/0.9415, allocations: 0.9715 MB / 0.8733 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007314/0.9422, allocations: 124 kB / 0.8734 GB, free: 13.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005693/0.9428, allocations: 0.5665 MB / 0.8739 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006905/0.9497, allocations: 2.468 MB / 0.8764 GB, free: 10.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/0.9602, allocations: 5.842 MB / 0.8821 GB, free: 3.102 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009798/0.97, allocations: 3.787 MB / 0.8858 GB, free: 15.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/0.9702, allocations: 36 kB / 0.8858 GB, free: 15.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02869/0.9989, allocations: 9.1 MB / 0.8947 GB, free: 6.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.9991, allocations: 56 kB / 0.8947 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/0.9993, allocations: 116 kB / 0.8948 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005912/1.005, allocations: 1.075 MB / 0.8959 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009433/1.015, allocations: 1.388 MB / 0.8973 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3319/1.347, allocations: 5.134 MB / 0.9023 GB, free: 161.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006344/1.353, allocations: 329.9 kB / 0.9026 GB, free: 161.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/1.355, allocations: 352 kB / 0.9029 GB, free: 161.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 741 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00784/1.363, allocations: 2.483 MB / 0.9053 GB, free: 161.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/1.363, allocations: 318.6 kB / 0.9056 GB, free: 161.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/1.382, allocations: 5.353 MB / 0.9109 GB, free: 159.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-05/1.382, allocations: 11.81 kB / 0.9109 GB, free: 159.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.382, allocations: 0.5156 kB / 0.9109 GB, free: 159.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/1.385, allocations: 0.725 MB / 0.9116 GB, free: 159.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.386, allocations: 36.92 kB / 0.9116 GB, free: 159.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/1.389, allocations: 145.5 kB / 0.9118 GB, free: 159.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/1.389, allocations: 135.8 kB / 0.9119 GB, free: 159.4 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01607/1.405, allocations: 4.912 MB / 0.9167 GB, free: 157.8 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01597/1.421, allocations: 7.008 MB / 0.9235 GB, free: 155.2 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004318/1.426, allocations: 1.924 MB / 0.9254 GB, free: 154.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004403/1.43, allocations: 1.964 MB / 0.9273 GB, free: 153.9 MB / 490.7 MB Notification: Performance of Backend: time 9.12e-07/1.43, allocations: 1.969 kB / 0.9273 GB, free: 153.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0158/1.446, allocations: 4.52 MB / 0.9317 GB, free: 152.4 MB / 490.7 MB Notification: Performance of SimCode: time 0.03132/1.477, allocations: 12.71 MB / 0.9442 GB, free: 144.1 MB / 490.7 MB Notification: Performance of Templates: time 0.1261/1.604, allocations: 45.21 MB / 0.9883 GB, free: 100.3 MB / 490.7 MB