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.0007962/0.0007962, allocations: 98.19 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.004553/0.004554, allocations: 170.2 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.349/1.349, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2963/0.2963, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0006362/0.0006363, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1136, allocations: 57.52 MB / 434.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2653/0.379, allocations: 68.95 MB / 0.4917 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0307/0.4097, allocations: 13.87 MB / 0.5053 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01511/0.4249, allocations: 310.5 kB / 0.5056 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.4262, allocations: 361.3 kB / 0.5059 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.4308, allocations: 1.956 MB / 0.5078 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.4326, allocations: 0.9496 MB / 0.5087 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.4449, allocations: 8.687 MB / 0.5172 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008624/0.4536, allocations: 4.903 MB / 0.522 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004015/0.4576, allocations: 1.42 MB / 0.5234 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005612/0.4633, allocations: 2.544 MB / 0.5259 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.4645, allocations: 137.9 kB / 0.526 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.4672, allocations: 0.7502 MB / 0.5267 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002936/0.4701, allocations: 2.057 MB / 0.5288 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003763/0.4739, allocations: 2.008 MB / 0.5307 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.4808, allocations: 6.32 MB / 0.5369 GB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4808, allocations: 4 kB / 0.5369 GB, free: 3.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4808, allocations: 0 / 0.5369 GB, free: 3.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001719/0.481, allocations: 0 / 0.5369 GB, free: 3.238 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.009916/0.491, allocations: 4.38 MB / 0.5412 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.491, allocations: 8.031 kB / 0.5412 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/0.5086, allocations: 1.876 MB / 0.543 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008487/0.5171, allocations: 4.402 MB / 0.5473 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.5173, allocations: 201.6 kB / 0.5475 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006561/0.518, allocations: 296 kB / 0.5478 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.5291, allocations: 7.093 MB / 0.5547 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.5292, allocations: 51.56 kB / 0.5548 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.5295, allocations: 131.9 kB / 0.5549 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001418/0.5309, allocations: 0.9939 MB / 0.5559 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.5411, allocations: 5.236 MB / 0.561 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03594/0.5771, allocations: 27.55 MB / 0.5879 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.5796, allocations: 0.7308 MB / 0.5886 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.5799, allocations: 222.8 kB / 0.5888 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.5799, allocations: 12.3 kB / 0.5888 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.58, allocations: 46.5 kB / 0.5889 GB, free: 12.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.825e-06/0.58, allocations: 0 / 0.5889 GB, free: 12.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.007122/0.5871, allocations: 2.034 MB / 0.5908 GB, free: 10.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.5873, allocations: 239.3 kB / 0.5911 GB, free: 10.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008264/0.5956, allocations: 4.772 MB / 0.5957 GB, free: 5.426 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/0.5957, allocations: 29.7 kB / 0.5958 GB, free: 5.391 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002345/0.5981, allocations: 2.714 MB / 0.5984 GB, free: 2.645 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.5983, allocations: 202.1 kB / 0.5986 GB, free: 2.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.5987, allocations: 362 kB / 0.5989 GB, free: 2.086 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5989, allocations: 305.1 kB / 0.5992 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.6003, allocations: 0.9133 MB / 0.6001 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.6033, allocations: 3.623 MB / 0.6037 GB, free: 11.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/0.608, allocations: 4.802 MB / 0.6084 GB, free: 5.719 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.759e-05/0.608, allocations: 31.94 kB / 0.6084 GB, free: 5.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.008065/0.6161, allocations: 4.402 MB / 0.6127 GB, free: 1.277 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.6162, allocations: 44 kB / 0.6127 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.739e-05/0.6163, allocations: 96 kB / 0.6128 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.6164, allocations: 128 kB / 0.6129 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.6188, allocations: 0.9402 MB / 0.6139 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001591/0.6189, allocations: 187.4 kB / 0.614 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/0.623, allocations: 0.5765 MB / 0.6146 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/0.6234, allocations: 252 kB / 0.6148 GB, free: 15.06 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.002627/0.626, allocations: 1.637 MB / 0.6164 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009499/0.6269, allocations: 375.2 kB / 0.6168 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/0.6277, allocations: 384.4 kB / 0.6172 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6277, allocations: 4 kB / 0.6172 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.6277, allocations: 0 / 0.6172 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6277, allocations: 7.984 kB / 0.6172 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/0.6342, allocations: 4.767 MB / 0.6218 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.6343, allocations: 12 kB / 0.6218 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.6346, allocations: 115.8 kB / 0.622 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/0.6346, allocations: 16 kB / 0.622 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.6346, allocations: 28.14 kB / 0.622 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.137e-05/0.6347, allocations: 27.88 kB / 0.622 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/0.6347, allocations: 19.94 kB / 0.622 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.636, allocations: 1.229 MB / 0.6232 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/0.6369, allocations: 0.4884 MB / 0.6237 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.6373, allocations: 31.98 kB / 0.6237 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.6382, allocations: 39.98 kB / 0.6238 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.6383, allocations: 83.56 kB / 0.6239 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.6383, allocations: 36 kB / 0.6239 GB, free: 5.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004467/0.6428, allocations: 3.138 MB / 0.627 GB, free: 2.133 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6428, allocations: 0 / 0.627 GB, free: 2.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004089/0.6469, allocations: 0.8806 MB / 0.6278 GB, free: 1.25 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.0002629/0.6472, allocations: 146.9 kB / 0.628 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2215/0.8687, allocations: 2.09 MB / 0.63 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.452e-05/0.8688, allocations: 0 / 0.63 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.8692, allocations: 272.8 kB / 0.6303 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/0.8803, allocations: 0.6009 MB / 0.6309 GB, free: 144.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.8928, allocations: 8.938 MB / 0.6396 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002947/0.8958, allocations: 2.872 MB / 0.6424 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003312/0.8991, allocations: 1.159 MB / 0.6435 GB, free: 139 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.8996, allocations: 207.8 kB / 0.6437 GB, free: 139 MB / 494.1 MB Notification: Performance of SimCode: time 1.653e-06/0.8996, allocations: 0 / 0.6437 GB, free: 139 MB / 494.1 MB Notification: Performance of Templates: time 0.06527/0.9649, allocations: 28.75 MB / 0.6718 GB, free: 134.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: