Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.6178/0.6178, allocations: 110.8 MB / 118 MB, free: 14.54 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002078/0.002078, allocations: 156 kB / 143.7 MB, free: 4.875 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.235e-06, allocations: 4 kB / 173.5 MB, free: 23.02 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04161/0.04164, allocations: 25.17 MB / 198.6 MB, free: 13.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.1713, allocations: 51.03 MB / 249.7 MB, free: 1.891 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.1715, allocations: 69.12 kB / 249.7 MB, free: 1.883 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.7458/0.9174, allocations: 197.2 MB / 446.9 MB, free: 13.66 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0008366/0.9183, allocations: 152.4 kB / 447.1 MB, free: 13.66 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.05047/0.9688, allocations: 8.872 MB / 455.9 MB, free: 10.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9688, allocations: 11.56 kB / 456 MB, free: 10.76 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1164/1.085, allocations: 19.8 MB / 475.8 MB, free: 9.227 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02557/1.111, allocations: 9.556 MB / 485.3 MB, free: 8.043 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000549/1.111, allocations: 249.9 kB / 485.6 MB, free: 7.805 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005838/1.117, allocations: 433.8 kB / 486 MB, free: 7.387 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04691/1.164, allocations: 20.71 MB / 0.4948 GB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1465/1.311, allocations: 22.13 MB / 0.5164 GB, free: 37.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004572/1.311, allocations: 61.58 kB / 0.5165 GB, free: 37.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004397/1.316, allocations: 24.75 kB / 0.5165 GB, free: 37.79 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04319/1.359, allocations: 8.36 MB / 0.5247 GB, free: 37.78 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5847/1.944, allocations: 132.3 MB / 0.6538 GB, free: 35.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/1.954, allocations: 8.402 MB / 0.6621 GB, free: 34.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008296/1.963, allocations: 6.858 MB / 0.6687 GB, free: 34.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08131/2.044, allocations: 32.08 MB / 0.7001 GB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/2.044, allocations: 68.56 kB / 0.7001 GB, free: 12.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=342): time 7.574e-06/2.044, allocations: 3.75 kB / 0.7001 GB, free: 12.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=433): time 0.1844/2.228, allocations: 37.46 MB / 0.7367 GB, free: 52.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/2.229, allocations: 198.7 kB / 0.7369 GB, free: 51.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006836/2.235, allocations: 4.855 MB / 0.7417 GB, free: 51.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001119/2.237, allocations: 28.2 kB / 0.7417 GB, free: 51.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002018/2.239, allocations: 4.586 MB / 0.7462 GB, free: 48.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001872/2.24, allocations: 1.534 MB / 0.7477 GB, free: 47.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006869/2.241, allocations: 0 / 0.7477 GB, free: 47.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004089/2.242, allocations: 0.7349 MB / 0.7484 GB, free: 47.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006865/2.248, allocations: 5.898 MB / 0.7541 GB, free: 47.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008798/2.257, allocations: 11.29 MB / 0.7652 GB, free: 40.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009861/2.267, allocations: 7.419 MB / 0.7724 GB, free: 38.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002431/2.267, allocations: 53.62 kB / 0.7725 GB, free: 38.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=1328) (initialization): time 0.04521/2.313, allocations: 20.73 MB / 0.7927 GB, free: 32.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/2.313, allocations: 6.906 kB / 0.7927 GB, free: 32.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004543/2.313, allocations: 188.7 kB / 0.7929 GB, free: 32.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01876/2.332, allocations: 6.035 MB / 0.7988 GB, free: 28.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009298/2.341, allocations: 2.319 MB / 0.8011 GB, free: 26.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1399/2.481, allocations: 31.22 MB / 0.8315 GB, free: 45.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/2.497, allocations: 1.515 MB / 0.833 GB, free: 45.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002888/2.5, allocations: 0.7434 MB / 0.8337 GB, free: 45.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 870 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1153): * Single equations (assignments): 1137 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,77.6%) 102,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00267/2.503, allocations: 0.5854 MB / 0.8343 GB, free: 45.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/2.504, allocations: 0.5112 MB / 0.8348 GB, free: 45.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02538/2.53, allocations: 12.92 MB / 0.8474 GB, free: 43.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01112/2.541, allocations: 1.859 MB / 0.8492 GB, free: 43.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001046/2.541, allocations: 26.75 kB / 0.8493 GB, free: 43.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001253/2.541, allocations: 17.95 kB / 0.8493 GB, free: 43.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08533/2.627, allocations: 31.4 MB / 0.88 GB, free: 33.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/2.627, allocations: 6.562 kB / 0.88 GB, free: 33.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/2.63, allocations: 0.5258 MB / 0.8805 GB, free: 33.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01766/2.648, allocations: 5.745 MB / 0.8861 GB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001426/2.649, allocations: 83.98 kB / 0.8862 GB, free: 29.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1707/2.82, allocations: 28.73 MB / 0.9142 GB, free: 45.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/2.82, allocations: 7.656 kB / 0.9142 GB, free: 45.46 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03492/2.855, allocations: 22.94 MB / 0.9366 GB, free: 42.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004093/2.859, allocations: 1.683 MB / 0.9383 GB, free: 41.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/2.86, allocations: 9.828 kB / 0.9383 GB, free: 41.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009551/2.87, allocations: 1.149 MB / 0.9394 GB, free: 41.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007955/2.871, allocations: 205.4 kB / 0.9396 GB, free: 41.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006057/2.871, allocations: 255 kB / 0.9399 GB, free: 41.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.005533/2.877, allocations: 3.271 MB / 0.943 GB, free: 40.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.01113/2.888, allocations: 1.898 MB / 0.9449 GB, free: 40.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 254 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,71.9%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/2.889, allocations: 160.2 kB / 0.9451 GB, free: 40.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.02564/2.915, allocations: 14.83 MB / 0.9595 GB, free: 35.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.915, allocations: 0 / 0.9595 GB, free: 35.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0147/2.93, allocations: 6.929 MB / 0.9663 GB, free: 32.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/2.934, allocations: 479.5 kB / 0.9668 GB, free: 31.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1567/3.091, allocations: 17.29 MB / 0.9836 GB, free: 41.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01344/3.104, allocations: 6.41 MB / 0.9899 GB, free: 41.09 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/3.105, allocations: 0 / 0.9899 GB, free: 41.09 MB / 266.7 MB Notification: Performance of Templates: time 0.2852/3.39, allocations: 123.5 MB / 1.11 GB, free: 31.81 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1)