Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.001085/0.001085, allocations: 195.5 kB / 8.139 MB, free: 2.203 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.106/1.106, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.001696/0.001696, allocations: 117.3 kB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.731e-06, allocations: 0 / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07126/0.07128, allocations: 44.49 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.2719, allocations: 83.98 MB / 426 MB, free: 11.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.2721, allocations: 81.89 kB / 426.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1533/0.4254, allocations: 54.93 MB / 481.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.388e-05/0.4256, allocations: 48 kB / 481.1 MB, free: 11.65 MB / 362.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.005849/0.4314, allocations: 2.486 MB / 483.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4315, allocations: 8.031 kB / 483.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008094/0.4396, allocations: 1.576 MB / 485.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009377/0.449, allocations: 3.31 MB / 488.5 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.4492, allocations: 76 kB / 488.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.4502, allocations: 132 kB / 488.7 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006693/0.4569, allocations: 4.037 MB / 492.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009502/0.4665, allocations: 6.3 MB / 499 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.4666, allocations: 43.62 kB / 499.1 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005103/0.4671, allocations: 24 kB / 499.1 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/0.4682, allocations: 0.7653 MB / 499.9 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1572/0.6254, allocations: 32.52 MB / 0.5199 GB, free: 57.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.6274, allocations: 2.142 MB / 0.522 GB, free: 57.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.6286, allocations: 1.131 MB / 0.5231 GB, free: 57.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004869/0.6335, allocations: 3.637 MB / 0.5266 GB, free: 55.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.6335, allocations: 45.59 kB / 0.5267 GB, free: 55.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.895e-06/0.6335, allocations: 0 / 0.5267 GB, free: 55.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=101): time 0.01413/0.6477, allocations: 8.148 MB / 0.5346 GB, free: 54.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.6477, allocations: 135.6 kB / 0.5348 GB, free: 53.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.6502, allocations: 2.182 MB / 0.5369 GB, free: 53.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.6503, allocations: 25.7 kB / 0.5369 GB, free: 53.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007581/0.651, allocations: 2.034 MB / 0.5389 GB, free: 52.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.6513, allocations: 418.9 kB / 0.5393 GB, free: 52.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.6514, allocations: 1.969 kB / 0.5393 GB, free: 52.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.6517, allocations: 0.5403 MB / 0.5398 GB, free: 51.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.6532, allocations: 1.333 MB / 0.5411 GB, free: 51.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.6556, allocations: 4.234 MB / 0.5453 GB, free: 48.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.6583, allocations: 2.383 MB / 0.5476 GB, free: 48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-05/0.6583, allocations: 28.75 kB / 0.5476 GB, free: 48 MB / 394.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.009355/0.6677, allocations: 5.412 MB / 0.5529 GB, free: 47.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6678, allocations: 5.156 kB / 0.5529 GB, free: 47.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.6679, allocations: 105.3 kB / 0.553 GB, free: 47.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/0.6703, allocations: 0.7469 MB / 0.5538 GB, free: 47.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/0.6736, allocations: 1.025 MB / 0.5548 GB, free: 47.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/0.6787, allocations: 3.919 MB / 0.5586 GB, free: 46.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/0.6823, allocations: 172.8 kB / 0.5588 GB, free: 46.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005808/0.6829, allocations: 287.8 kB / 0.559 GB, free: 46.11 MB / 394.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.0006106/0.6835, allocations: 363.2 kB / 0.5594 GB, free: 45.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.6839, allocations: 210.7 kB / 0.5596 GB, free: 45.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/0.6877, allocations: 1.735 MB / 0.5613 GB, free: 45.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/0.6877, allocations: 7.562 kB / 0.5613 GB, free: 45.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6877, allocations: 3.625 kB / 0.5613 GB, free: 45.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.6877, allocations: 3.609 kB / 0.5613 GB, free: 45.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007862/0.6956, allocations: 3.983 MB / 0.5652 GB, free: 45.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.6957, allocations: 1.156 kB / 0.5652 GB, free: 45.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000733/0.6964, allocations: 128.9 kB / 0.5653 GB, free: 45.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.6986, allocations: 0.5809 MB / 0.5659 GB, free: 45.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.6987, allocations: 3.906 kB / 0.5659 GB, free: 45.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/0.7032, allocations: 3.482 MB / 0.5693 GB, free: 43.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.7032, allocations: 5.906 kB / 0.5693 GB, free: 43.39 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005548/0.7087, allocations: 3.599 MB / 0.5728 GB, free: 41.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007616/0.7095, allocations: 413.6 kB / 0.5732 GB, free: 41.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.7098, allocations: 7.406 kB / 0.5732 GB, free: 41.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/0.7108, allocations: 38.34 kB / 0.5732 GB, free: 41.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.711, allocations: 38.22 kB / 0.5733 GB, free: 41.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.7111, allocations: 34.53 kB / 0.5733 GB, free: 41.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001822/0.7129, allocations: 1.441 MB / 0.5747 GB, free: 41.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003202/0.7161, allocations: 0.5463 MB / 0.5752 GB, free: 41.1 MB / 394.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.0003009/0.7164, allocations: 139.4 kB / 0.5754 GB, free: 41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003951/0.7204, allocations: 3.184 MB / 0.5785 GB, free: 39.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7204, allocations: 0.9844 kB / 0.5785 GB, free: 39.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7214, allocations: 0.8781 MB / 0.5793 GB, free: 39.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/0.7224, allocations: 195.7 kB / 0.5795 GB, free: 39.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/0.7299, allocations: 4.402 MB / 0.5838 GB, free: 37.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002371/0.7322, allocations: 2.404 MB / 0.5862 GB, free: 36.91 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.7323, allocations: 4 kB / 0.5862 GB, free: 36.91 MB / 394.7 MB Notification: Performance of Templates: time 0.03876/0.771, allocations: 22.04 MB / 0.6077 GB, free: 26.41 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)