Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies") translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008398/0.008398, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001532/0.001532, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.201/0.201, allocations: 38.01 MB / 307.9 MB, free: 5.988 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.91 kB / 433 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1282, allocations: 56.48 MB / 489.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01485/0.1431, allocations: 14.73 MB / 0.4924 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1535, allocations: 4.665 MB / 0.4969 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/0.1564, allocations: 99.69 kB / 0.497 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005896/0.1624, allocations: 3.111 MB / 0.5001 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005531/0.1679, allocations: 2.066 MB / 0.5021 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.1703, allocations: 1.026 MB / 0.5031 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009272/0.1795, allocations: 6.348 MB / 0.5093 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005488/0.1851, allocations: 3.649 MB / 0.5128 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004319/0.1895, allocations: 1.834 MB / 0.5146 GB, free: 280 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3065/0.496, allocations: 2.632 MB / 0.5172 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002/0.498, allocations: 358.9 kB / 0.5176 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.5019, allocations: 0.9198 MB / 0.5185 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00426/0.5062, allocations: 2.295 MB / 0.5207 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005159/0.5114, allocations: 2.284 MB / 0.5229 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.5256, allocations: 6.777 MB / 0.5295 GB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.5257, allocations: 0.9062 kB / 0.5295 GB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.5257, allocations: 0 / 0.5295 GB, free: 8.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005464/0.5262, allocations: 0.6875 kB / 0.5295 GB, free: 8.762 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01982/0.5461, allocations: 5.346 MB / 0.5348 GB, free: 6.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5461, allocations: 13.08 kB / 0.5348 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0183/0.5644, allocations: 1.86 MB / 0.5366 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.576, allocations: 4.506 MB / 0.541 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.5763, allocations: 207.9 kB / 0.5412 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.5774, allocations: 289.8 kB / 0.5415 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.5906, allocations: 7.045 MB / 0.5483 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.5908, allocations: 62.88 kB / 0.5484 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/0.5911, allocations: 129.4 kB / 0.5485 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001537/0.5926, allocations: 0.9939 MB / 0.5495 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.6052, allocations: 5.184 MB / 0.5546 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0389/0.6441, allocations: 27.55 MB / 0.5815 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.6468, allocations: 0.7421 MB / 0.5822 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.6471, allocations: 220.2 kB / 0.5824 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.6471, allocations: 10.42 kB / 0.5824 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.6472, allocations: 40.61 kB / 0.5825 GB, free: 15.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.365e-06/0.6472, allocations: 4 kB / 0.5825 GB, free: 15.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.007432/0.6546, allocations: 2.043 MB / 0.5845 GB, free: 13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.6548, allocations: 239.3 kB / 0.5847 GB, free: 12.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/0.6654, allocations: 4.785 MB / 0.5894 GB, free: 7.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.6655, allocations: 33.7 kB / 0.5894 GB, free: 7.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00273/0.6682, allocations: 2.794 MB / 0.5921 GB, free: 5.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.6685, allocations: 209.8 kB / 0.5923 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.6697, allocations: 0.8096 MB / 0.5931 GB, free: 4.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6698, allocations: 301.1 kB / 0.5934 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.6714, allocations: 0.9158 MB / 0.5943 GB, free: 2.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/0.6745, allocations: 3.631 MB / 0.5978 GB, free: 13.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/0.6797, allocations: 4.794 MB / 0.6025 GB, free: 8.172 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.326e-05/0.6798, allocations: 35.98 kB / 0.6025 GB, free: 8.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.007959/0.6877, allocations: 4.423 MB / 0.6069 GB, free: 4.289 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/0.6878, allocations: 48 kB / 0.6069 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.6879, allocations: 96 kB / 0.607 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.6881, allocations: 124 kB / 0.6071 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.6906, allocations: 0.9343 MB / 0.608 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001543/0.6907, allocations: 191.3 kB / 0.6082 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004379/0.6951, allocations: 0.5895 MB / 0.6088 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004367/0.6956, allocations: 252 kB / 0.609 GB, free: 2.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (499): * Single equations (assignments): 499 * Array equations: 0 * 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.003447/0.699, allocations: 1.64 MB / 0.6106 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009204/0.7, allocations: 397.3 kB / 0.611 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008105/0.7008, allocations: 384.5 kB / 0.6114 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.7008, allocations: 8 kB / 0.6114 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.7008, allocations: 0 / 0.6114 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.7008, allocations: 4 kB / 0.6114 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008057/0.7089, allocations: 4.766 MB / 0.616 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/0.7089, allocations: 12.22 kB / 0.6161 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.7093, allocations: 119.8 kB / 0.6162 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/0.7093, allocations: 16 kB / 0.6162 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.7093, allocations: 28 kB / 0.6162 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-05/0.7094, allocations: 28.61 kB / 0.6162 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.7094, allocations: 19.88 kB / 0.6163 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.7111, allocations: 1.256 MB / 0.6175 GB, free: 9.023 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.7123, allocations: 0.5022 MB / 0.618 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/0.7127, allocations: 31.98 kB / 0.618 GB, free: 8.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7138, allocations: 35.98 kB / 0.618 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.7139, allocations: 91.56 kB / 0.6181 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.714, allocations: 32 kB / 0.6182 GB, free: 8.312 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005608/0.7196, allocations: 3.142 MB / 0.6212 GB, free: 5.176 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7196, allocations: 0 / 0.6212 GB, free: 5.176 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004759/0.7244, allocations: 0.8813 MB / 0.6221 GB, free: 4.293 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * 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.0003121/0.7247, allocations: 146.9 kB / 0.6222 GB, free: 4.141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003617/0.7283, allocations: 2.119 MB / 0.6243 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.7284, allocations: 8.25 kB / 0.6243 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.7287, allocations: 266.8 kB / 0.6246 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/0.7323, allocations: 0.6375 MB / 0.6252 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.746, allocations: 7.474 MB / 0.6325 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003197/0.7492, allocations: 2.868 MB / 0.6353 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003163/0.7524, allocations: 1.157 MB / 0.6364 GB, free: 5.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/0.753, allocations: 203.4 kB / 0.6366 GB, free: 5.227 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/0.753, allocations: 0 / 0.6366 GB, free: 5.227 MB / 494.1 MB Notification: Performance of Templates: time 0.06381/0.8169, allocations: 26.57 MB / 0.6626 GB, free: 10.78 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)