Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [: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.004794/0.004794, allocations: 178.7 kB / 7.452 MB, free: 2.52 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.591/1.591, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001834/0.001833, allocations: 111.8 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.293e-06/7.444e-06, allocations: 0 / 261.8 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06564/0.06567, allocations: 38.76 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.283/0.3487, allocations: 81.48 MB / 382 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.349, allocations: 80.7 kB / 382.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1729/0.5219, allocations: 64.11 MB / 446.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002437/0.5222, allocations: 68 kB / 446.2 MB, free: 8.676 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: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.009941/0.5322, allocations: 3.18 MB / 449.4 MB, free: 5.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.5322, allocations: 8.031 kB / 449.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008986/0.5412, allocations: 1.629 MB / 451.1 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.5479, allocations: 2.166 MB / 453.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/0.5482, allocations: 108 kB / 453.3 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001614/0.5498, allocations: 192 kB / 453.5 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01008/0.5599, allocations: 4.519 MB / 458 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.577, allocations: 7.584 MB / 465.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002073/0.5772, allocations: 59.41 kB / 465.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/0.5785, allocations: 35.94 kB / 465.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001203/0.5797, allocations: 0.8325 MB / 466.5 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1973/0.777, allocations: 38.36 MB / 0.4931 GB, free: 92.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.7789, allocations: 1.37 MB / 0.4944 GB, free: 91.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.7794, allocations: 437.7 kB / 0.4948 GB, free: 91.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.7798, allocations: 339.9 kB / 0.4952 GB, free: 91.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.7798, allocations: 50.72 kB / 0.4952 GB, free: 91.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.977e-06/0.7798, allocations: 0 / 0.4952 GB, free: 91.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.002853/0.7827, allocations: 1.263 MB / 0.4964 GB, free: 91.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.7827, allocations: 187 kB / 0.4966 GB, free: 90.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005561/0.7883, allocations: 3.144 MB / 0.4997 GB, free: 90.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.7885, allocations: 25.7 kB / 0.4997 GB, free: 90.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.7903, allocations: 2.712 MB / 0.5024 GB, free: 89.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/0.7907, allocations: 383.5 kB / 0.5027 GB, free: 89.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.7909, allocations: 0 / 0.5027 GB, free: 89.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.7911, allocations: 0.5238 MB / 0.5032 GB, free: 88.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.7927, allocations: 1.213 MB / 0.5044 GB, free: 88.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/0.7957, allocations: 4.883 MB / 0.5092 GB, free: 83.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/0.7989, allocations: 2.489 MB / 0.5116 GB, free: 83.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.922e-05/0.799, allocations: 39.47 kB / 0.5117 GB, free: 83.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.007353/0.8064, allocations: 5.13 MB / 0.5167 GB, free: 83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.8064, allocations: 7.062 kB / 0.5167 GB, free: 83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/0.8066, allocations: 134.1 kB / 0.5168 GB, free: 83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.8068, allocations: 191.1 kB / 0.517 GB, free: 83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003243/0.8101, allocations: 1.212 MB / 0.5182 GB, free: 82.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001639/0.8103, allocations: 265.3 kB / 0.5184 GB, free: 82.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.8144, allocations: 0.6442 MB / 0.519 GB, free: 82.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/0.8148, allocations: 352.6 kB / 0.5194 GB, free: 82.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (661): * Single equations (assignments): 658 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005178/0.8153, allocations: 427.9 kB / 0.5198 GB, free: 82.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/0.8158, allocations: 299.9 kB / 0.5201 GB, free: 81.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.8168, allocations: 0.4942 MB / 0.5206 GB, free: 81.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.8169, allocations: 7.531 kB / 0.5206 GB, free: 81.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.8169, allocations: 3.375 kB / 0.5206 GB, free: 81.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.8169, allocations: 4 kB / 0.5206 GB, free: 81.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/0.822, allocations: 3.067 MB / 0.5236 GB, free: 80.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.822, allocations: 3.719 kB / 0.5236 GB, free: 80.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.8225, allocations: 112.8 kB / 0.5237 GB, free: 80.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.8225, allocations: 7.312 kB / 0.5237 GB, free: 80.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.8226, allocations: 10.73 kB / 0.5237 GB, free: 80.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.8226, allocations: 11.5 kB / 0.5237 GB, free: 80.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.8226, allocations: 10.47 kB / 0.5237 GB, free: 80.54 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001948/0.8245, allocations: 2.468 MB / 0.5261 GB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/0.8253, allocations: 0.5165 MB / 0.5266 GB, free: 78.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/0.8256, allocations: 3.75 kB / 0.5266 GB, free: 78.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.8265, allocations: 41.27 kB / 0.5267 GB, free: 78.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.8267, allocations: 47.75 kB / 0.5267 GB, free: 78.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.8267, allocations: 26.97 kB / 0.5267 GB, free: 78.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002993/0.8297, allocations: 2.165 MB / 0.5289 GB, free: 77.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00546/0.8352, allocations: 0.8288 MB / 0.5297 GB, free: 77.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004647/0.8357, allocations: 170.2 kB / 0.5298 GB, free: 77.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004927/0.8406, allocations: 2.796 MB / 0.5326 GB, free: 75.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.8407, allocations: 0 / 0.5326 GB, free: 75.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.8412, allocations: 422.1 kB / 0.533 GB, free: 74.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.8439, allocations: 338.4 kB / 0.5333 GB, free: 74.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.8618, allocations: 7.279 MB / 0.5404 GB, free: 68.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00689/0.8687, allocations: 3.195 MB / 0.5435 GB, free: 66.17 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8688, allocations: 0 / 0.5435 GB, free: 66.17 MB / 346.7 MB Notification: Performance of Templates: time 0.05619/0.925, allocations: 24.89 MB / 0.5678 GB, free: 46.66 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)