Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Parts.Bodies") translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001518/0.001518, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0141/0.0141, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.72/1.72, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3509/0.3509, allocations: 40 MB / 310.7 MB, free: 9.906 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.2. 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.0006568/0.0006567, allocations: 12.56 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1359, allocations: 57.97 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2747/0.4107, allocations: 68.94 MB / 0.4945 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03505/0.4457, allocations: 13.88 MB / 0.508 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01836/0.4642, allocations: 310 kB / 0.5083 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.4659, allocations: 363.3 kB / 0.5087 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.4715, allocations: 1.96 MB / 0.5106 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.4737, allocations: 0.9347 MB / 0.5115 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.4861, allocations: 8.702 MB / 0.52 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008787/0.495, allocations: 4.905 MB / 0.5248 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.499, allocations: 1.407 MB / 0.5262 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005316/0.5043, allocations: 2.553 MB / 0.5287 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.5059, allocations: 141.1 kB / 0.5288 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/0.5093, allocations: 0.7484 MB / 0.5295 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003793/0.5132, allocations: 2.056 MB / 0.5315 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005938/0.5191, allocations: 2.003 MB / 0.5335 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.5306, allocations: 6.326 MB / 0.5397 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5306, allocations: 0 / 0.5397 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5306, allocations: 4 kB / 0.5397 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003187/0.5309, allocations: 0 / 0.5397 GB, free: 14.88 MB / 414.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.01299/0.5439, allocations: 4.373 MB / 0.5439 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.544, allocations: 16.03 kB / 0.544 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/0.5625, allocations: 1.887 MB / 0.5458 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009535/0.572, allocations: 4.379 MB / 0.5501 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/0.5723, allocations: 217.5 kB / 0.5503 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.5734, allocations: 288.1 kB / 0.5506 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.5883, allocations: 7.093 MB / 0.5575 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003217/0.5887, allocations: 59.45 kB / 0.5575 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/0.5899, allocations: 127.9 kB / 0.5577 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/0.5918, allocations: 1.002 MB / 0.5586 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.6048, allocations: 5.232 MB / 0.5638 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0368/0.6416, allocations: 27.54 MB / 0.5907 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.6443, allocations: 0.7425 MB / 0.5914 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.6447, allocations: 208.3 kB / 0.5916 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.6447, allocations: 16.3 kB / 0.5916 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.6448, allocations: 46.48 kB / 0.5916 GB, free: 8.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.676e-06/0.6448, allocations: 0 / 0.5916 GB, free: 8.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.007244/0.652, allocations: 2.026 MB / 0.5936 GB, free: 6.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.6522, allocations: 239.3 kB / 0.5938 GB, free: 5.852 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007489/0.6597, allocations: 4.776 MB / 0.5985 GB, free: 1.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.781e-05/0.6598, allocations: 33.7 kB / 0.5985 GB, free: 1.031 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.6622, allocations: 2.706 MB / 0.6012 GB, free: 14.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.6625, allocations: 198 kB / 0.6014 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003977/0.6629, allocations: 362 kB / 0.6017 GB, free: 13.74 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.663, allocations: 305.1 kB / 0.602 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.6645, allocations: 0.9133 MB / 0.6029 GB, free: 12.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003398/0.6679, allocations: 3.635 MB / 0.6064 GB, free: 7.527 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/0.6737, allocations: 4.79 MB / 0.6111 GB, free: 1.375 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.527e-05/0.6738, allocations: 32 kB / 0.6112 GB, free: 1.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.008774/0.6826, allocations: 4.402 MB / 0.6155 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/0.6827, allocations: 50.5 kB / 0.6155 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/0.6829, allocations: 96.38 kB / 0.6156 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.683, allocations: 124 kB / 0.6157 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.6856, allocations: 0.94 MB / 0.6166 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001823/0.6858, allocations: 187.3 kB / 0.6168 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/0.6899, allocations: 0.5799 MB / 0.6174 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000356/0.6902, allocations: 252 kB / 0.6176 GB, free: 10.71 MB / 494.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.003242/0.6935, allocations: 1.645 MB / 0.6192 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009931/0.6945, allocations: 371.2 kB / 0.6196 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007552/0.6953, allocations: 380.5 kB / 0.6199 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6953, allocations: 8 kB / 0.6199 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.6953, allocations: 4 kB / 0.62 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6953, allocations: 0 / 0.62 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/0.7027, allocations: 4.766 MB / 0.6246 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/0.7027, allocations: 16.22 kB / 0.6246 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.7031, allocations: 119.8 kB / 0.6247 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.979e-05/0.7031, allocations: 16 kB / 0.6248 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.7032, allocations: 28 kB / 0.6248 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.7032, allocations: 27.86 kB / 0.6248 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-05/0.7032, allocations: 20.56 kB / 0.6248 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.7052, allocations: 1.227 MB / 0.626 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/0.7066, allocations: 500 kB / 0.6265 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004081/0.7071, allocations: 31.98 kB / 0.6265 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.7081, allocations: 39.97 kB / 0.6266 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.7083, allocations: 83.58 kB / 0.6266 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.7083, allocations: 32 kB / 0.6267 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2742/0.9825, allocations: 3.142 MB / 0.6297 GB, free: 140.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.9826, allocations: 2.656 kB / 0.6297 GB, free: 140.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004655/0.9872, allocations: 0.8708 MB / 0.6306 GB, free: 140.3 MB / 494.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.0002508/0.9875, allocations: 149 kB / 0.6307 GB, free: 140.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.9906, allocations: 2.09 MB / 0.6328 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.9906, allocations: 3.062 kB / 0.6328 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.9909, allocations: 269.7 kB / 0.633 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01172/1.003, allocations: 0.5978 MB / 0.6336 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.015, allocations: 8.948 MB / 0.6424 GB, free: 135.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/1.018, allocations: 2.873 MB / 0.6452 GB, free: 134.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003103/1.021, allocations: 1.16 MB / 0.6463 GB, free: 134.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/1.021, allocations: 205.2 kB / 0.6465 GB, free: 134.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/1.021, allocations: 0 / 0.6465 GB, free: 134.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06956/1.091, allocations: 28.75 MB / 0.6746 GB, free: 129.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) Environment - environmentSimulation: