Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003289/0.003289, allocations: 185.6 kB / 7.459 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.263/1.263, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.00175/0.00175, allocations: 120 kB / 247.1 MB, free: 6.363 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.1744/0.1744, allocations: 39.94 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.53e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 54.88 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4571, allocations: 98.22 MB / 0.5331 GB, free: 2.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4574, allocations: 73.97 kB / 0.5332 GB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2347/0.6922, allocations: 87.83 MB / 0.6189 GB, free: 2.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002517/0.6925, allocations: 83.98 kB / 0.619 GB, free: 2.145 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01503/0.7075, allocations: 3.918 MB / 0.6228 GB, free: 14.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.7076, allocations: 8.031 kB / 0.6228 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.7225, allocations: 2.841 MB / 0.6256 GB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01302/0.7355, allocations: 4.46 MB / 0.63 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.7359, allocations: 143.9 kB / 0.6301 GB, free: 6.645 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/0.7385, allocations: 252 kB / 0.6303 GB, free: 6.398 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01534/0.7539, allocations: 7.854 MB / 0.638 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/0.778, allocations: 10.22 MB / 0.648 GB, free: 3.844 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002216/0.7783, allocations: 27.75 kB / 0.648 GB, free: 3.816 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001686/0.78, allocations: 12 kB / 0.648 GB, free: 3.805 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001691/0.7817, allocations: 1.333 MB / 0.6493 GB, free: 2.469 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2115/0.9932, allocations: 35.57 MB / 0.6841 GB, free: 152.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.997, allocations: 3.108 MB / 0.6871 GB, free: 152.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/0.9996, allocations: 2.468 MB / 0.6895 GB, free: 152.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/1.013, allocations: 9.704 MB / 0.699 GB, free: 149 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.013, allocations: 54.03 kB / 0.699 GB, free: 149 MB / 474.7 MB Notification: Performance of pre-optimization done (n=211): time 5.019e-06/1.013, allocations: 0 / 0.699 GB, free: 149 MB / 474.7 MB Notification: Performance of matching and sorting (n=232): time 0.02734/1.04, allocations: 15.66 MB / 0.7143 GB, free: 147.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/1.04, allocations: 70.59 kB / 0.7144 GB, free: 147.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/1.044, allocations: 2.544 MB / 0.7169 GB, free: 147.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002012/1.044, allocations: 25.7 kB / 0.7169 GB, free: 147.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.045, allocations: 2.916 MB / 0.7198 GB, free: 145.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/1.046, allocations: 0.8331 MB / 0.7206 GB, free: 144.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.046, allocations: 3 kB / 0.7206 GB, free: 144.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002651/1.047, allocations: 0.56 MB / 0.7211 GB, free: 144.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/1.049, allocations: 2.381 MB / 0.7234 GB, free: 143.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004239/1.054, allocations: 5.574 MB / 0.7289 GB, free: 138.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00477/1.058, allocations: 3.717 MB / 0.7325 GB, free: 137.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.386e-05/1.058, allocations: 32.31 kB / 0.7325 GB, free: 137.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01315/1.072, allocations: 8.073 MB / 0.7404 GB, free: 135.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.072, allocations: 7.781 kB / 0.7404 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/1.072, allocations: 112.2 kB / 0.7405 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/1.074, allocations: 0.8873 MB / 0.7414 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.079, allocations: 1.319 MB / 0.7427 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/1.084, allocations: 4.485 MB / 0.7471 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/1.089, allocations: 160 kB / 0.7472 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/1.091, allocations: 343.4 kB / 0.7476 GB, free: 131 MB / 474.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.00261/1.094, allocations: 392.9 kB / 0.7479 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009274/1.095, allocations: 276.3 kB / 0.7482 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009648/1.105, allocations: 4.746 MB / 0.7528 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.042e-05/1.105, allocations: 47.55 kB / 0.7529 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/1.105, allocations: 4 kB / 0.7529 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/1.105, allocations: 10.73 kB / 0.7529 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/1.125, allocations: 9.343 MB / 0.762 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.125, allocations: 0 / 0.762 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.127, allocations: 325.8 kB / 0.7623 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/1.129, allocations: 0.6888 MB / 0.763 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/1.13, allocations: 18.45 kB / 0.763 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/1.134, allocations: 3.801 MB / 0.7667 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.134, allocations: 11.59 kB / 0.7667 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009544/1.144, allocations: 7.446 MB / 0.774 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.146, allocations: 0.6674 MB / 0.7747 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008591/1.146, allocations: 7.906 kB / 0.7747 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.148, allocations: 70.89 kB / 0.7747 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/1.148, allocations: 97.38 kB / 0.7748 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/1.149, allocations: 59.8 kB / 0.7749 GB, free: 107.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003013/1.152, allocations: 1.679 MB / 0.7765 GB, free: 105.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004872/1.157, allocations: 0.8854 MB / 0.7774 GB, free: 104.7 MB / 474.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.0004464/1.157, allocations: 156.3 kB / 0.7775 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007607/1.165, allocations: 5.595 MB / 0.783 GB, free: 99.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.165, allocations: 0 / 0.783 GB, free: 99.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/1.167, allocations: 2.032 MB / 0.785 GB, free: 97.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.169, allocations: 233.6 kB / 0.7852 GB, free: 97.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.185, allocations: 8.308 MB / 0.7933 GB, free: 90.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004096/1.189, allocations: 3.776 MB / 0.797 GB, free: 87.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/1.189, allocations: 3.938 kB / 0.797 GB, free: 87.08 MB / 474.7 MB Notification: Performance of Templates: time 0.0584/1.248, allocations: 36.2 MB / 0.8324 GB, free: 54.15 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)