Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004941/0.004941, allocations: 175.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.443/1.443, allocations: 194.5 MB / 210.3 MB, free: 8.594 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001696/0.001696, allocations: 108.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.213/0.213, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004707, allocations: 11.44 kB / 406.2 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 54.88 MB / 461 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5282/0.6722, allocations: 99.85 MB / 0.5477 GB, free: 21.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.6726, allocations: 75.12 kB / 0.5478 GB, free: 21.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2984/0.9711, allocations: 116.6 MB / 0.6617 GB, free: 13.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.9711, allocations: 0 / 0.6617 GB, free: 13.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003827/0.9715, allocations: 88 kB / 0.6618 GB, free: 13.11 MB / 442.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.02193/0.9935, allocations: 4.701 MB / 0.6664 GB, free: 8.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.9936, allocations: 8.031 kB / 0.6664 GB, free: 8.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/1.011, allocations: 3.651 MB / 0.67 GB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/1.027, allocations: 4.827 MB / 0.6747 GB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006528/1.027, allocations: 377.8 kB / 0.675 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004702/1.032, allocations: 495.8 kB / 0.6755 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03853/1.071, allocations: 12.2 MB / 0.6874 GB, free: 2.191 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/1.071, allocations: 35.64 kB / 0.6875 GB, free: 2.156 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003399/1.075, allocations: 227.8 kB / 0.6877 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002864/1.077, allocations: 1.404 MB / 0.689 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0287/1.106, allocations: 11.32 MB / 0.7001 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4193/1.526, allocations: 42.73 MB / 0.7418 GB, free: 87.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.536, allocations: 4.72 MB / 0.7464 GB, free: 85.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/1.538, allocations: 1.317 MB / 0.7477 GB, free: 84.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.538, allocations: 58.8 kB / 0.7478 GB, free: 84.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 8.896e-06/1.538, allocations: 3.391 kB / 0.7478 GB, free: 84.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=268): time 0.04344/1.581, allocations: 19.82 MB / 0.7671 GB, free: 81.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/1.581, allocations: 102.1 kB / 0.7672 GB, free: 81.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005623/1.587, allocations: 2.875 MB / 0.77 GB, free: 81.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006335/1.588, allocations: 60.77 kB / 0.7701 GB, free: 81.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002472/1.59, allocations: 3.266 MB / 0.7733 GB, free: 79.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001547/1.592, allocations: 0.977 MB / 0.7742 GB, free: 79.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/1.592, allocations: 121.3 kB / 0.7744 GB, free: 79.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003798/1.592, allocations: 0.5626 MB / 0.7749 GB, free: 78.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/1.596, allocations: 2.453 MB / 0.7773 GB, free: 78.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005532/1.601, allocations: 5.81 MB / 0.783 GB, free: 74.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006145/1.607, allocations: 3.767 MB / 0.7867 GB, free: 74.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/1.608, allocations: 32.12 kB / 0.7867 GB, free: 74.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02235/1.63, allocations: 9.058 MB / 0.7955 GB, free: 73.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004677/1.631, allocations: 57.06 kB / 0.7956 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004981/1.631, allocations: 115.9 kB / 0.7957 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005345/1.636, allocations: 1.066 MB / 0.7967 GB, free: 73.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008208/1.645, allocations: 1.388 MB / 0.7981 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/1.656, allocations: 5.237 MB / 0.8032 GB, free: 70.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0093/1.665, allocations: 321 kB / 0.8035 GB, free: 70.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002304/1.668, allocations: 354.4 kB / 0.8039 GB, free: 70.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * 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 (743): * Single equations (assignments): 736 * 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 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01138/1.679, allocations: 2.473 MB / 0.8063 GB, free: 69.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/1.68, allocations: 318.5 kB / 0.8066 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.697, allocations: 5.345 MB / 0.8118 GB, free: 67.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001616/1.697, allocations: 51.22 kB / 0.8118 GB, free: 67.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/1.697, allocations: 4.281 kB / 0.8118 GB, free: 67.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.695e-05/1.697, allocations: 14.91 kB / 0.8119 GB, free: 67.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04399/1.741, allocations: 13.31 MB / 0.8249 GB, free: 62.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.346e-05/1.741, allocations: 11.97 kB / 0.8249 GB, free: 62.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003652/1.745, allocations: 432.2 kB / 0.8253 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005179/1.75, allocations: 0.8831 MB / 0.8261 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007069/1.751, allocations: 56 kB / 0.8262 GB, free: 62.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/1.761, allocations: 4.575 MB / 0.8307 GB, free: 58.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.958e-05/1.761, allocations: 19.88 kB / 0.8307 GB, free: 58.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/1.781, allocations: 9.08 MB / 0.8396 GB, free: 49.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/1.785, allocations: 0.7309 MB / 0.8403 GB, free: 49.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001698/1.786, allocations: 53.2 kB / 0.8403 GB, free: 49.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003644/1.79, allocations: 144.3 kB / 0.8405 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008073/1.791, allocations: 169.2 kB / 0.8406 GB, free: 48.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005527/1.792, allocations: 81.39 kB / 0.8407 GB, free: 48.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006045/1.798, allocations: 1.978 MB / 0.8426 GB, free: 47.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.798, allocations: 0 / 0.8426 GB, free: 47.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01103/1.809, allocations: 1.117 MB / 0.8437 GB, free: 46.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (209): * Single equations (assignments): 202 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/1.81, allocations: 204.7 kB / 0.8439 GB, free: 45.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01405/1.824, allocations: 5.999 MB / 0.8498 GB, free: 40.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.102e-05/1.824, allocations: 0 / 0.8498 GB, free: 40.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00522/1.829, allocations: 2.258 MB / 0.852 GB, free: 38.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/1.833, allocations: 390.5 kB / 0.8524 GB, free: 38.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03852/1.872, allocations: 13.8 MB / 0.8658 GB, free: 25.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/1.882, allocations: 3.927 MB / 0.8697 GB, free: 22.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01067/1.893, allocations: 2.209 MB / 0.8718 GB, free: 21.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.895, allocations: 242.2 kB / 0.8721 GB, free: 21 MB / 490.7 MB Notification: Performance of SimCode: time 2.174e-06/1.895, allocations: 0 / 0.8721 GB, free: 21 MB / 490.7 MB Notification: Performance of Templates: time 0.427/2.322, allocations: 34.95 MB / 0.9062 GB, free: 94.88 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)