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.001152/0.001152, allocations: 181.7 kB / 12.74 MB, free: 2.582 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.572/1.572, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001506/0.001506, allocations: 114.1 kB / 252.6 MB, free: 4.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2026/0.2026, allocations: 39.94 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.196e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5419, allocations: 99.77 MB / 0.5419 GB, free: 8.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.5422, allocations: 78.27 kB / 0.542 GB, free: 8.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2902/0.8324, allocations: 116.7 MB / 0.656 GB, free: 10.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.8325, allocations: 4 kB / 0.656 GB, free: 10.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002513/0.8327, allocations: 95.98 kB / 0.6561 GB, free: 10.5 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: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.01316/0.8459, allocations: 4.445 MB / 0.6604 GB, free: 5.988 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.846, allocations: 12.03 kB / 0.6604 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/0.8611, allocations: 3.655 MB / 0.664 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2769/1.138, allocations: 4.79 MB / 0.6687 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008021/1.139, allocations: 376.8 kB / 0.669 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004039/1.143, allocations: 0.4937 MB / 0.6695 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03774/1.181, allocations: 12.09 MB / 0.6813 GB, free: 99.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/1.181, allocations: 35.52 kB / 0.6814 GB, free: 99.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/1.183, allocations: 224.8 kB / 0.6816 GB, free: 99.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/1.185, allocations: 1.4 MB / 0.6829 GB, free: 99.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02272/1.208, allocations: 11.15 MB / 0.6938 GB, free: 99.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06121/1.269, allocations: 42.74 MB / 0.7356 GB, free: 76.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008509/1.278, allocations: 4.69 MB / 0.7401 GB, free: 74.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/1.281, allocations: 2.417 MB / 0.7425 GB, free: 73.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009426/1.282, allocations: 1.32 MB / 0.7438 GB, free: 72.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.282, allocations: 62.52 kB / 0.7439 GB, free: 72.42 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 6.722e-06/1.282, allocations: 0 / 0.7439 GB, free: 72.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=268): time 0.0328/1.314, allocations: 16.36 MB / 0.7598 GB, free: 65.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/1.315, allocations: 99.11 kB / 0.7599 GB, free: 65.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/1.318, allocations: 2.854 MB / 0.7627 GB, free: 62.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004122/1.319, allocations: 57.7 kB / 0.7628 GB, free: 62.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/1.32, allocations: 3.255 MB / 0.7659 GB, free: 59.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008822/1.321, allocations: 0.9765 MB / 0.7669 GB, free: 58.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/1.322, allocations: 119.2 kB / 0.767 GB, free: 58.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002635/1.322, allocations: 0.5712 MB / 0.7676 GB, free: 58.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/1.325, allocations: 2.41 MB / 0.7699 GB, free: 56.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004268/1.329, allocations: 5.762 MB / 0.7756 GB, free: 49.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/1.334, allocations: 3.761 MB / 0.7792 GB, free: 46.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-05/1.334, allocations: 43.58 kB / 0.7793 GB, free: 46.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01378/1.348, allocations: 8.975 MB / 0.788 GB, free: 38.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.636e-05/1.348, allocations: 52 kB / 0.7881 GB, free: 38.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.348, allocations: 120 kB / 0.7882 GB, free: 38.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/1.351, allocations: 1.06 MB / 0.7892 GB, free: 37.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00419/1.355, allocations: 1.382 MB / 0.7906 GB, free: 36.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/1.361, allocations: 5.082 MB / 0.7955 GB, free: 31.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/1.365, allocations: 327.5 kB / 0.7959 GB, free: 31.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008043/1.366, allocations: 351.1 kB / 0.7962 GB, free: 31.27 MB / 474.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 () * 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.001088/1.367, allocations: 0.5598 MB / 0.7967 GB, free: 30.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007653/1.368, allocations: 319.8 kB / 0.797 GB, free: 30.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008338/1.376, allocations: 5.302 MB / 0.8022 GB, free: 26.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-05/1.376, allocations: 55.33 kB / 0.8023 GB, free: 26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.376, allocations: 3.188 kB / 0.8023 GB, free: 26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/1.376, allocations: 13.94 kB / 0.8023 GB, free: 26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01863/1.395, allocations: 13.29 MB / 0.8153 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.395, allocations: 12 kB / 0.8153 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.397, allocations: 420.5 kB / 0.8157 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/1.399, allocations: 0.8928 MB / 0.8165 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/1.4, allocations: 51.91 kB / 0.8166 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005041/1.405, allocations: 4.431 MB / 0.8209 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.405, allocations: 17.81 kB / 0.8209 GB, free: 9.965 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.416, allocations: 9.026 MB / 0.8298 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/1.418, allocations: 0.7274 MB / 0.8305 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/1.418, allocations: 55.94 kB / 0.8305 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.42, allocations: 143.8 kB / 0.8307 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/1.42, allocations: 174.2 kB / 0.8308 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.42, allocations: 76 kB / 0.8309 GB, free: 15.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003364/1.424, allocations: 1.948 MB / 0.8328 GB, free: 13.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.424, allocations: 0 / 0.8328 GB, free: 13.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005531/1.429, allocations: 1.123 MB / 0.8339 GB, free: 12.71 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 () * 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.0005124/1.43, allocations: 185.9 kB / 0.8341 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009289/1.439, allocations: 5.927 MB / 0.8399 GB, free: 6.613 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/1.439, allocations: 11.94 kB / 0.8399 GB, free: 6.602 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003697/1.443, allocations: 2.227 MB / 0.842 GB, free: 4.359 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/1.445, allocations: 387.5 kB / 0.8424 GB, free: 3.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2941/1.739, allocations: 9.765 MB / 0.852 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008074/1.747, allocations: 3.927 MB / 0.8558 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007077/1.755, allocations: 2.213 MB / 0.8579 GB, free: 102.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.756, allocations: 239.3 kB / 0.8582 GB, free: 102.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.174e-06/1.756, allocations: 3.219 kB / 0.8582 GB, free: 102.5 MB / 490.7 MB Notification: Performance of Templates: time 0.06727/1.823, allocations: 34.95 MB / 0.8923 GB, free: 101.3 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)