Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001027/0.001027, allocations: 168.7 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.195/1.195, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001603/0.001604, allocations: 111.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1788/0.1788, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.716e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09375, allocations: 48.72 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.477, allocations: 92.94 MB / 498.7 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.4773, allocations: 83.09 kB / 498.7 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2873/0.7647, allocations: 116.6 MB / 0.6009 GB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7647, allocations: 0 / 0.6009 GB, free: 1.602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002037/0.7649, allocations: 84 kB / 0.601 GB, free: 1.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.01498/0.7799, allocations: 4.441 MB / 0.6054 GB, free: 13.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.78, allocations: 8.031 kB / 0.6054 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.7968, allocations: 3.659 MB / 0.6089 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.8112, allocations: 4.807 MB / 0.6136 GB, free: 4.473 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005035/0.8117, allocations: 377.9 kB / 0.614 GB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003778/0.8155, allocations: 491.8 kB / 0.6145 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3236/1.139, allocations: 12.09 MB / 0.6263 GB, free: 82.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003449/1.14, allocations: 34.97 kB / 0.6263 GB, free: 82.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002543/1.142, allocations: 227.5 kB / 0.6265 GB, free: 82.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/1.145, allocations: 1.388 MB / 0.6279 GB, free: 82.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02587/1.171, allocations: 11.15 MB / 0.6388 GB, free: 82.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06989/1.241, allocations: 42.74 MB / 0.6805 GB, free: 61.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00884/1.25, allocations: 4.69 MB / 0.6851 GB, free: 59.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002987/1.253, allocations: 2.418 MB / 0.6874 GB, free: 58.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.254, allocations: 1.321 MB / 0.6887 GB, free: 57.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.254, allocations: 54.69 kB / 0.6888 GB, free: 57.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 5.39e-06/1.254, allocations: 0 / 0.6888 GB, free: 57.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.03258/1.286, allocations: 16.35 MB / 0.7047 GB, free: 52.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/1.287, allocations: 99.64 kB / 0.7048 GB, free: 52.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/1.29, allocations: 2.859 MB / 0.7076 GB, free: 51.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/1.29, allocations: 63.17 kB / 0.7077 GB, free: 51.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.292, allocations: 3.261 MB / 0.7109 GB, free: 48.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/1.293, allocations: 0.977 MB / 0.7118 GB, free: 48.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/1.293, allocations: 119.9 kB / 0.7119 GB, free: 47.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003522/1.293, allocations: 0.5677 MB / 0.7125 GB, free: 47.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/1.297, allocations: 2.407 MB / 0.7149 GB, free: 45.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004371/1.301, allocations: 5.766 MB / 0.7205 GB, free: 38.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/1.305, allocations: 3.761 MB / 0.7242 GB, free: 35.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-05/1.305, allocations: 39.53 kB / 0.7242 GB, free: 35.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01462/1.32, allocations: 8.963 MB / 0.7329 GB, free: 28.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/1.32, allocations: 56 kB / 0.733 GB, free: 28.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/1.32, allocations: 116 kB / 0.7331 GB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/1.323, allocations: 1.073 MB / 0.7342 GB, free: 27.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/1.327, allocations: 1.376 MB / 0.7355 GB, free: 26.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005848/1.333, allocations: 5.089 MB / 0.7405 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/1.337, allocations: 325.8 kB / 0.7408 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000924/1.338, allocations: 349.6 kB / 0.7411 GB, free: 21 MB / 426.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.001007/1.339, allocations: 0.5585 MB / 0.7417 GB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/1.34, allocations: 319.8 kB / 0.742 GB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007892/1.348, allocations: 5.304 MB / 0.7471 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.208e-05/1.348, allocations: 48.42 kB / 0.7472 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.348, allocations: 8 kB / 0.7472 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.348, allocations: 10.27 kB / 0.7472 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/1.367, allocations: 13.28 MB / 0.7602 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.367, allocations: 12.19 kB / 0.7602 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.368, allocations: 423.5 kB / 0.7606 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002445/1.371, allocations: 0.8869 MB / 0.7615 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/1.371, allocations: 58.56 kB / 0.7615 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/1.377, allocations: 4.525 MB / 0.7659 GB, free: 0 / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.702e-05/1.378, allocations: 18.16 kB / 0.766 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/1.391, allocations: 9.029 MB / 0.7748 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/1.394, allocations: 0.7351 MB / 0.7755 GB, free: 6.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/1.394, allocations: 55.94 kB / 0.7755 GB, free: 6.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.395, allocations: 143.8 kB / 0.7757 GB, free: 6.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/1.396, allocations: 169.6 kB / 0.7758 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/1.396, allocations: 79.91 kB / 0.7759 GB, free: 6.191 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003515/1.399, allocations: 1.948 MB / 0.7778 GB, free: 4.246 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.399, allocations: 3.938 kB / 0.7778 GB, free: 4.242 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00577/1.405, allocations: 1.116 MB / 0.7789 GB, free: 3.133 MB / 442.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.0006016/1.406, allocations: 200.8 kB / 0.7791 GB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2605/1.666, allocations: 5.926 MB / 0.7849 GB, free: 90.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/1.666, allocations: 5.906 kB / 0.7849 GB, free: 90.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003509/1.67, allocations: 2.226 MB / 0.7871 GB, free: 90.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.672, allocations: 389.5 kB / 0.7874 GB, free: 90.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/1.694, allocations: 9.771 MB / 0.797 GB, free: 87.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004899/1.699, allocations: 3.924 MB / 0.8008 GB, free: 87.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006305/1.706, allocations: 2.206 MB / 0.803 GB, free: 87.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008785/1.706, allocations: 242.5 kB / 0.8032 GB, free: 87.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.103e-06/1.707, allocations: 0 / 0.8032 GB, free: 87.1 MB / 442.7 MB Notification: Performance of Templates: time 0.05844/1.765, allocations: 34.94 MB / 0.8373 GB, free: 85.57 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)