Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003595/0.003595, allocations: 174.3 kB / 7.45 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.248/1.248, allocations: 170.6 MB / 178.4 MB, free: 15.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.001661/0.001661, allocations: 127.8 kB / 217.7 MB, free: 8.156 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.1791/0.1791, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.897e-06/8.927e-06, allocations: 1.312 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 48.7 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.515, allocations: 91.42 MB / 489.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5153, allocations: 67.8 kB / 489.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2431/0.7584, allocations: 87.78 MB / 0.5639 GB, free: 4.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003156/0.7588, allocations: 80 kB / 0.564 GB, free: 4.422 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.0175/0.7763, allocations: 3.914 MB / 0.5678 GB, free: 460 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.7764, allocations: 12.03 kB / 0.5678 GB, free: 448 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/0.7936, allocations: 2.845 MB / 0.5706 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/0.8092, allocations: 4.47 MB / 0.575 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.8096, allocations: 140 kB / 0.5751 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003504/0.8131, allocations: 244 kB / 0.5754 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0193/0.8324, allocations: 7.862 MB / 0.583 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03657/0.869, allocations: 10.21 MB / 0.593 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003641/0.8695, allocations: 27.75 kB / 0.593 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003164/0.8726, allocations: 15.91 kB / 0.593 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002593/0.8753, allocations: 1.329 MB / 0.5943 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3156/1.191, allocations: 35.56 MB / 0.6291 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004594/1.196, allocations: 3.108 MB / 0.6321 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/1.199, allocations: 2.47 MB / 0.6345 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01604/1.215, allocations: 9.706 MB / 0.644 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/1.215, allocations: 45.34 kB / 0.644 GB, free: 119.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=211): time 6.943e-06/1.215, allocations: 3.562 kB / 0.644 GB, free: 119.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.03062/1.246, allocations: 15.65 MB / 0.6593 GB, free: 118.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/1.246, allocations: 75.31 kB / 0.6594 GB, free: 118.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/1.251, allocations: 2.542 MB / 0.6619 GB, free: 117.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002931/1.251, allocations: 28.8 kB / 0.6619 GB, free: 117.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/1.253, allocations: 2.916 MB / 0.6647 GB, free: 116.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009818/1.254, allocations: 0.8356 MB / 0.6656 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/1.254, allocations: 3.25 kB / 0.6656 GB, free: 115.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003378/1.255, allocations: 0.555 MB / 0.6661 GB, free: 115.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/1.258, allocations: 2.381 MB / 0.6684 GB, free: 114.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004471/1.262, allocations: 5.571 MB / 0.6739 GB, free: 109.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005155/1.267, allocations: 3.714 MB / 0.6775 GB, free: 108.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.34e-05/1.267, allocations: 30.91 kB / 0.6775 GB, free: 108.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01537/1.283, allocations: 8.074 MB / 0.6854 GB, free: 106.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/1.283, allocations: 8.875 kB / 0.6854 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/1.283, allocations: 113.4 kB / 0.6855 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/1.286, allocations: 0.8917 MB / 0.6864 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.291, allocations: 1.317 MB / 0.6877 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/1.297, allocations: 4.491 MB / 0.6921 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/1.302, allocations: 166.4 kB / 0.6922 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.304, allocations: 335.1 kB / 0.6926 GB, free: 103.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (717): * Single equations (assignments): 710 * 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,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001739/1.305, allocations: 391.2 kB / 0.6929 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008612/1.306, allocations: 279.7 kB / 0.6932 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008797/1.315, allocations: 4.748 MB / 0.6978 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/1.315, allocations: 35.42 kB / 0.6979 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/1.315, allocations: 4 kB / 0.6979 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.315, allocations: 6.094 kB / 0.6979 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/1.338, allocations: 9.349 MB / 0.707 GB, free: 93.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.338, allocations: 4 kB / 0.707 GB, free: 93.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.34, allocations: 326.3 kB / 0.7073 GB, free: 93.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002412/1.343, allocations: 0.6958 MB / 0.708 GB, free: 93.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/1.343, allocations: 11.72 kB / 0.708 GB, free: 93.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/1.348, allocations: 3.807 MB / 0.7117 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/1.348, allocations: 6.25 kB / 0.7117 GB, free: 89.75 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0103/1.358, allocations: 7.448 MB / 0.719 GB, free: 83.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/1.36, allocations: 0.672 MB / 0.7197 GB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.361, allocations: 8 kB / 0.7197 GB, free: 82.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/1.363, allocations: 61.55 kB / 0.7197 GB, free: 82.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/1.363, allocations: 108.8 kB / 0.7198 GB, free: 82.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/1.364, allocations: 56 kB / 0.7199 GB, free: 82.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004436/1.368, allocations: 1.681 MB / 0.7215 GB, free: 80.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006453/1.374, allocations: 0.8881 MB / 0.7224 GB, free: 79.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005652/1.375, allocations: 142.6 kB / 0.7225 GB, free: 79.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008706/1.384, allocations: 5.6 MB / 0.728 GB, free: 74.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.384, allocations: 0 / 0.728 GB, free: 74.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/1.386, allocations: 2.03 MB / 0.73 GB, free: 72.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/1.389, allocations: 220.1 kB / 0.7302 GB, free: 72.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.411, allocations: 8.328 MB / 0.7383 GB, free: 65.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006416/1.418, allocations: 3.786 MB / 0.742 GB, free: 62.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/1.418, allocations: 0 / 0.742 GB, free: 62.32 MB / 426.7 MB Notification: Performance of Templates: time 0.07645/1.494, allocations: 36.2 MB / 0.7774 GB, free: 33.2 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)