Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [: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.003661/0.003662, allocations: 175.6 kB / 7.451 MB, free: 2.488 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.406/1.406, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001751/0.00175, allocations: 112.9 kB / 217.7 MB, free: 8.148 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.224e-06/7.384e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08912, allocations: 38.76 MB / 300.5 MB, free: 3.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.3611, allocations: 78.24 MB / 378.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.3615, allocations: 84.95 kB / 378.8 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1622/0.5237, allocations: 54.94 MB / 433.8 MB, free: 5.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001896/0.5239, allocations: 48 kB / 433.8 MB, free: 5.207 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.01042/0.5344, allocations: 2.483 MB / 436.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5345, allocations: 8.031 kB / 436.3 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009183/0.5437, allocations: 1.564 MB / 437.9 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.555, allocations: 3.326 MB / 441.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.5553, allocations: 75.98 kB / 441.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.557, allocations: 136 kB / 441.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008745/0.5658, allocations: 4.026 MB / 445.4 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.5815, allocations: 6.308 MB / 451.7 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.5818, allocations: 43.53 kB / 451.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/0.5831, allocations: 24 kB / 451.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001372/0.5845, allocations: 0.7576 MB / 452.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2591/0.8436, allocations: 32.51 MB / 485.1 MB, free: 42.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.8463, allocations: 2.159 MB / 487.2 MB, free: 42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.8476, allocations: 1.136 MB / 488.4 MB, free: 41.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006397/0.854, allocations: 3.638 MB / 492 MB, free: 40.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.8541, allocations: 44.67 kB / 492.1 MB, free: 40.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 6.512e-06/0.8541, allocations: 0 / 492.1 MB, free: 40.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=101): time 0.01657/0.8707, allocations: 8.137 MB / 0.4885 GB, free: 38.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.8708, allocations: 140.4 kB / 0.4886 GB, free: 38.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.8741, allocations: 2.179 MB / 0.4907 GB, free: 38.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.8743, allocations: 25.7 kB / 0.4908 GB, free: 38.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.8754, allocations: 2.042 MB / 0.4928 GB, free: 37.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.8758, allocations: 412.2 kB / 0.4931 GB, free: 36.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.8759, allocations: 1.969 kB / 0.4931 GB, free: 36.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.8762, allocations: 0.5422 MB / 0.4937 GB, free: 36.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.8778, allocations: 1.333 MB / 0.495 GB, free: 36.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/0.8809, allocations: 4.232 MB / 0.4991 GB, free: 32.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003325/0.8842, allocations: 2.386 MB / 0.5014 GB, free: 32.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.042e-05/0.8843, allocations: 31.16 kB / 0.5015 GB, free: 32.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01105/0.8954, allocations: 5.41 MB / 0.5068 GB, free: 32.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.8954, allocations: 7.719 kB / 0.5068 GB, free: 32.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.8955, allocations: 106.6 kB / 0.5069 GB, free: 32.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.8977, allocations: 0.749 MB / 0.5076 GB, free: 32.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/0.9009, allocations: 1.014 MB / 0.5086 GB, free: 32.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004581/0.9055, allocations: 3.92 MB / 0.5124 GB, free: 30.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/0.9091, allocations: 178.3 kB / 0.5126 GB, free: 30.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005904/0.9097, allocations: 285.1 kB / 0.5129 GB, free: 30.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 543 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006217/0.9104, allocations: 359.5 kB / 0.5132 GB, free: 30.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.9107, allocations: 207.6 kB / 0.5134 GB, free: 30.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.9142, allocations: 1.737 MB / 0.5151 GB, free: 30.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.355e-05/0.9143, allocations: 11.5 kB / 0.5151 GB, free: 30.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.9143, allocations: 10.28 kB / 0.5151 GB, free: 30.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.9143, allocations: 3.797 kB / 0.5151 GB, free: 30.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007855/0.9222, allocations: 3.971 MB / 0.519 GB, free: 28.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-05/0.9223, allocations: 0 / 0.519 GB, free: 28.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/0.9229, allocations: 129.3 kB / 0.5191 GB, free: 28.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.9248, allocations: 0.5804 MB / 0.5197 GB, free: 28.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/0.9249, allocations: 7.609 kB / 0.5197 GB, free: 28.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/0.9288, allocations: 3.478 MB / 0.5231 GB, free: 26.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9288, allocations: 0 / 0.5231 GB, free: 26.82 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004939/0.9338, allocations: 3.608 MB / 0.5266 GB, free: 25.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000943/0.9347, allocations: 410.6 kB / 0.527 GB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.935, allocations: 7.578 kB / 0.527 GB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/0.9359, allocations: 44.53 kB / 0.5271 GB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.9361, allocations: 38.53 kB / 0.5271 GB, free: 25.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.9362, allocations: 34.8 kB / 0.5271 GB, free: 25.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002141/0.9383, allocations: 1.444 MB / 0.5285 GB, free: 24.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004191/0.9425, allocations: 0.5443 MB / 0.5291 GB, free: 24.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * Array equations: 3 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004876/0.943, allocations: 127 kB / 0.5292 GB, free: 24.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007049/0.9501, allocations: 3.192 MB / 0.5323 GB, free: 23.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.9501, allocations: 0 / 0.5323 GB, free: 23.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.9517, allocations: 0.8735 MB / 0.5332 GB, free: 22.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.9533, allocations: 189.2 kB / 0.5333 GB, free: 22.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.9643, allocations: 4.409 MB / 0.5376 GB, free: 21.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003504/0.9678, allocations: 2.418 MB / 0.54 GB, free: 20.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.505e-06/0.9679, allocations: 1.25 kB / 0.54 GB, free: 20.27 MB / 346.7 MB Notification: Performance of Templates: time 0.04753/1.015, allocations: 22.02 MB / 0.5615 GB, free: 5.508 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)