Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 194.1 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 56.34 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2574, allocations: 46.62 MB / 324.7 MB, free: 2.133 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03206/0.2895, allocations: 33.5 MB / 358.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.3067, allocations: 6.618 MB / 364.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01039/0.3171, allocations: 139.7 kB / 364.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004203/0.3214, allocations: 1.804 MB / 366.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.3256, allocations: 1.234 MB / 368 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.3262, allocations: 203.7 kB / 368.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005347/0.3315, allocations: 4.278 MB / 372.5 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.3342, allocations: 2.115 MB / 374.6 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.3355, allocations: 0.8871 MB / 375.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/0.3379, allocations: 1.67 MB / 377.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.3383, allocations: 151.9 kB / 377.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000935/0.3392, allocations: 463.3 kB / 377.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.3403, allocations: 1.281 MB / 379 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.3417, allocations: 1.568 MB / 380.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003991/0.3457, allocations: 4.523 MB / 385.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3457, allocations: 0 / 385.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3457, allocations: 0 / 385.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.394e-05/0.3458, allocations: 0 / 385.1 MB, free: 7.637 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.005995/0.3518, allocations: 3.637 MB / 388.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3518, allocations: 8.031 kB / 388.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.3568, allocations: 1.649 MB / 390.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.3594, allocations: 1.569 MB / 392 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.3595, allocations: 147.8 kB / 392.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.3598, allocations: 195.9 kB / 392.3 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009536/0.3694, allocations: 6.975 MB / 399.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.639e-05/0.3695, allocations: 31.73 kB / 399.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.3698, allocations: 103.9 kB / 399.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002164/0.3719, allocations: 1.555 MB / 401 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.3826, allocations: 5.485 MB / 406.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03336/0.416, allocations: 27.25 MB / 433.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.4189, allocations: 1.6 MB / 435.3 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/0.4195, allocations: 469.5 kB / 435.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003996/0.4236, allocations: 2.59 MB / 438.3 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.4236, allocations: 46.47 kB / 438.4 MB, free: 420 kB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.315e-06/0.4236, allocations: 0 / 438.4 MB, free: 420 kB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.003745/0.4274, allocations: 1.654 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.4275, allocations: 196 kB / 440.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/0.4327, allocations: 3.702 MB / 443.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.092e-05/0.4328, allocations: 33.7 kB / 444 MB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002072/0.4349, allocations: 2.721 MB / 446.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.4353, allocations: 363.9 kB / 447 MB, free: 7.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.4364, allocations: 0.9637 MB / 448 MB, free: 6.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4365, allocations: 305.1 kB / 448.3 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.4382, allocations: 1.2 MB / 449.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2041/0.6423, allocations: 4.559 MB / 454.1 MB, free: 109.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006989/0.6494, allocations: 6.308 MB / 460.4 MB, free: 104.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/0.6496, allocations: 38.47 kB / 460.4 MB, free: 104.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01028/0.6599, allocations: 5.448 MB / 465.9 MB, free: 102.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.586e-05/0.66, allocations: 58.31 kB / 465.9 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/0.6602, allocations: 119.3 kB / 466 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.6603, allocations: 157.8 kB / 466.2 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/0.6634, allocations: 1.101 MB / 467.3 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002368/0.6637, allocations: 238.2 kB / 467.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/0.6674, allocations: 0.6905 MB / 468.2 MB, free: 101.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006352/0.668, allocations: 315.1 kB / 468.5 MB, free: 101.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 594 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002496/0.6705, allocations: 1.712 MB / 470.2 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005161/0.6711, allocations: 298.7 kB / 470.5 MB, free: 100.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.6719, allocations: 0.4939 MB / 471 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.6719, allocations: 12.38 kB / 471 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.672, allocations: 6.172 kB / 471 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.672, allocations: 7.219 kB / 471 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.6763, allocations: 3.123 MB / 474.2 MB, free: 98.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6763, allocations: 4 kB / 474.2 MB, free: 98.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.6767, allocations: 99.08 kB / 474.3 MB, free: 98.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.6767, allocations: 12 kB / 474.3 MB, free: 98.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.6768, allocations: 20.53 kB / 474.3 MB, free: 98.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.6768, allocations: 7.938 kB / 474.3 MB, free: 98.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6768, allocations: 4 kB / 474.3 MB, free: 98.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.6783, allocations: 2.036 MB / 476.3 MB, free: 96.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.6788, allocations: 417 kB / 476.8 MB, free: 95.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.6791, allocations: 26.62 kB / 476.8 MB, free: 95.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/0.6798, allocations: 31.88 kB / 476.8 MB, free: 95.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.6799, allocations: 51.52 kB / 476.9 MB, free: 95.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.68, allocations: 29.8 kB / 476.9 MB, free: 95.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002366/0.6823, allocations: 2.362 MB / 479.2 MB, free: 93.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6823, allocations: 0 / 479.2 MB, free: 93.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003186/0.6855, allocations: 0.8073 MB / 480.1 MB, free: 92.76 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002585/0.6858, allocations: 137.9 kB / 480.2 MB, free: 92.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.689, allocations: 2.777 MB / 483 MB, free: 89.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.689, allocations: 8.375 kB / 483 MB, free: 89.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.6894, allocations: 400.2 kB / 483.4 MB, free: 89.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.6912, allocations: 358.7 kB / 483.7 MB, free: 89.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008438/0.6996, allocations: 8.2 MB / 491.9 MB, free: 80.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.7017, allocations: 2.679 MB / 494.6 MB, free: 78.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00315/0.7049, allocations: 1.51 MB / 496.1 MB, free: 76.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.7053, allocations: 195.4 kB / 496.3 MB, free: 76.46 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.7053, allocations: 4 kB / 496.3 MB, free: 76.46 MB / 382.1 MB Notification: Performance of Templates: time 0.03972/0.7451, allocations: 21.41 MB / 0.5056 GB, free: 55.08 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)