Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [: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.004699/0.004699, allocations: 176.4 kB / 7.451 MB, free: 2.504 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.418/1.418, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001986/0.001986, allocations: 99.92 kB / 217.7 MB, free: 8.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.906e-06/8.947e-06, allocations: 4 kB / 261.8 MB, free: 26.61 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09438, allocations: 38.76 MB / 300.5 MB, free: 3.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3275/0.422, allocations: 84.44 MB / 385 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.4224, allocations: 82.64 kB / 385 MB, free: 156 kB / 266.7 MB Notification: Performance of FrontEnd: time 0.2793/0.7017, allocations: 69.32 MB / 454.4 MB, free: 0.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004821/0.7022, allocations: 68 kB / 454.4 MB, free: 0.5156 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01944/0.7217, allocations: 3.327 MB / 457.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.7218, allocations: 8.031 kB / 457.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.7358, allocations: 1.692 MB / 459.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/0.753, allocations: 4.061 MB / 463.5 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.7534, allocations: 116 kB / 463.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/0.7558, allocations: 196 kB / 463.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01774/0.7736, allocations: 5.19 MB / 469 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1789/0.9525, allocations: 8.085 MB / 477.1 MB, free: 111.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/0.9528, allocations: 56.31 kB / 477.1 MB, free: 111.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004784/0.9533, allocations: 34.25 kB / 477.2 MB, free: 111.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00109/0.9544, allocations: 0.9265 MB / 478.1 MB, free: 111.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03787/0.9923, allocations: 41.6 MB / 0.5075 GB, free: 84.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/0.9953, allocations: 2.546 MB / 0.51 GB, free: 84.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.9972, allocations: 1.533 MB / 0.5115 GB, free: 83.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007975/1.005, allocations: 5.142 MB / 0.5165 GB, free: 80.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/1.005, allocations: 44.47 kB / 0.5166 GB, free: 80.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 4.879e-06/1.005, allocations: 0 / 0.5166 GB, free: 80.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.02245/1.028, allocations: 10.62 MB / 0.5269 GB, free: 76.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/1.028, allocations: 140.4 kB / 0.5271 GB, free: 76.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004913/1.033, allocations: 2.831 MB / 0.5298 GB, free: 75.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003683/1.033, allocations: 33.34 kB / 0.5299 GB, free: 75.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.034, allocations: 2.617 MB / 0.5324 GB, free: 73.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/1.035, allocations: 0.4917 MB / 0.5329 GB, free: 72.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.035, allocations: 0 / 0.5329 GB, free: 72.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002419/1.035, allocations: 0.5365 MB / 0.5334 GB, free: 72.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/1.037, allocations: 1.617 MB / 0.535 GB, free: 71.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/1.04, allocations: 5.135 MB / 0.54 GB, free: 66.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/1.043, allocations: 2.889 MB / 0.5429 GB, free: 65.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.854e-05/1.043, allocations: 38.41 kB / 0.5429 GB, free: 65.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.00917/1.053, allocations: 6.018 MB / 0.5488 GB, free: 61.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.053, allocations: 4 kB / 0.5488 GB, free: 61.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.961e-05/1.053, allocations: 128.2 kB / 0.5489 GB, free: 61.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/1.053, allocations: 339.9 kB / 0.5492 GB, free: 61.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/1.057, allocations: 1.29 MB / 0.5505 GB, free: 60.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/1.059, allocations: 2.221 MB / 0.5526 GB, free: 57.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/1.063, allocations: 165.9 kB / 0.5528 GB, free: 57.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000521/1.063, allocations: 347.7 kB / 0.5531 GB, free: 57.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[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 (681): * Single equations (assignments): 677 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006114/1.064, allocations: 416 kB / 0.5535 GB, free: 57.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/1.064, allocations: 272.4 kB / 0.5538 GB, free: 56.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/1.068, allocations: 2.192 MB / 0.5559 GB, free: 55.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/1.069, allocations: 15.91 kB / 0.5559 GB, free: 55.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.069, allocations: 4 kB / 0.5559 GB, free: 55.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.069, allocations: 7.781 kB / 0.556 GB, free: 55.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009519/1.078, allocations: 5.186 MB / 0.561 GB, free: 50.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.078, allocations: 4 kB / 0.561 GB, free: 50.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/1.079, allocations: 161.2 kB / 0.5612 GB, free: 50.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/1.081, allocations: 0.641 MB / 0.5618 GB, free: 50.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/1.081, allocations: 8 kB / 0.5618 GB, free: 50.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/1.086, allocations: 4.205 MB / 0.5659 GB, free: 46.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.086, allocations: 0 / 0.5659 GB, free: 46.47 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005894/1.092, allocations: 4.311 MB / 0.5701 GB, free: 42.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.093, allocations: 0.4982 MB / 0.5706 GB, free: 42.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/1.093, allocations: 8 kB / 0.5706 GB, free: 42.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009959/1.094, allocations: 31.44 kB / 0.5707 GB, free: 42.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/1.095, allocations: 50.62 kB / 0.5707 GB, free: 42.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.645e-05/1.095, allocations: 36 kB / 0.5707 GB, free: 42.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003062/1.098, allocations: 1.892 MB / 0.5726 GB, free: 40.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004727/1.102, allocations: 0.6851 MB / 0.5732 GB, free: 39.77 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 (91): * Single equations (assignments): 87 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004092/1.103, allocations: 139.9 kB / 0.5734 GB, free: 39.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005184/1.108, allocations: 3.827 MB / 0.5771 GB, free: 36.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.108, allocations: 0.6875 kB / 0.5771 GB, free: 36.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.109, allocations: 1.06 MB / 0.5782 GB, free: 35.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/1.111, allocations: 283.7 kB / 0.5784 GB, free: 34.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.122, allocations: 5.878 MB / 0.5842 GB, free: 29.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00309/1.125, allocations: 3.061 MB / 0.5872 GB, free: 27.26 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/1.125, allocations: 0 / 0.5872 GB, free: 27.26 MB / 346.7 MB Notification: Performance of Templates: time 0.05212/1.177, allocations: 27.99 MB / 0.6145 GB, free: 0.6523 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)