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.01019/0.01019, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.00187/0.00187, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.787/1.787, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.4179/0.4179, allocations: 39.95 MB / 309.8 MB, free: 9.605 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.001479/0.001479, allocations: 63.91 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.396, allocations: 56.88 MB / 492.6 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01535/0.4114, allocations: 14.74 MB / 0.4955 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.4255, allocations: 4.673 MB / 0.5001 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005429/0.4309, allocations: 99.91 kB / 0.5002 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006471/0.4375, allocations: 3.114 MB / 0.5032 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00706/0.4446, allocations: 2.068 MB / 0.5052 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.4476, allocations: 1.015 MB / 0.5062 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.4595, allocations: 6.363 MB / 0.5124 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007065/0.4666, allocations: 3.647 MB / 0.516 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.4712, allocations: 1.83 MB / 0.5178 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005018/0.4762, allocations: 2.653 MB / 0.5204 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.478, allocations: 360 kB / 0.5207 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.4812, allocations: 0.9208 MB / 0.5216 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003436/0.4847, allocations: 2.334 MB / 0.5239 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005994/0.4907, allocations: 2.285 MB / 0.5261 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.5042, allocations: 6.748 MB / 0.5327 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5043, allocations: 0 / 0.5327 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.5043, allocations: 0 / 0.5327 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002798/0.5046, allocations: 0 / 0.5327 GB, free: 11.37 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.01535/0.52, allocations: 5.213 MB / 0.5378 GB, free: 6.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.52, allocations: 11.89 kB / 0.5378 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/0.5372, allocations: 1.829 MB / 0.5396 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.5473, allocations: 4.484 MB / 0.544 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.5476, allocations: 217.5 kB / 0.5442 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007599/0.5483, allocations: 291.8 kB / 0.5444 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.5612, allocations: 7.035 MB / 0.5513 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/0.5614, allocations: 55.55 kB / 0.5514 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.5617, allocations: 135.9 kB / 0.5515 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001543/0.5633, allocations: 0.9977 MB / 0.5525 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.5738, allocations: 5.182 MB / 0.5575 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/0.6098, allocations: 27.5 MB / 0.5844 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.6122, allocations: 0.7347 MB / 0.5851 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.6125, allocations: 224.2 kB / 0.5853 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.6126, allocations: 12.3 kB / 0.5853 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.6126, allocations: 38.55 kB / 0.5854 GB, free: 3.898 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.265e-06/0.6126, allocations: 4 kB / 0.5854 GB, free: 3.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.007277/0.6199, allocations: 2.022 MB / 0.5874 GB, free: 1.859 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.6201, allocations: 243.3 kB / 0.5876 GB, free: 1.566 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007354/0.6274, allocations: 4.776 MB / 0.5922 GB, free: 12.79 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.6275, allocations: 37.64 kB / 0.5923 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002182/0.6297, allocations: 2.71 MB / 0.5949 GB, free: 10 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.63, allocations: 202 kB / 0.5951 GB, free: 9.801 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009579/0.6309, allocations: 0.805 MB / 0.5959 GB, free: 8.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6311, allocations: 301.1 kB / 0.5962 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.6324, allocations: 0.9094 MB / 0.5971 GB, free: 7.781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.6362, allocations: 3.631 MB / 0.6006 GB, free: 2.789 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005729/0.6419, allocations: 4.802 MB / 0.6053 GB, free: 12.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.512e-05/0.642, allocations: 31.94 kB / 0.6053 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.009312/0.6513, allocations: 4.393 MB / 0.6096 GB, free: 8.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/0.6514, allocations: 52.88 kB / 0.6097 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.153e-05/0.6515, allocations: 96 kB / 0.6098 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.6517, allocations: 124 kB / 0.6099 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/0.654, allocations: 0.9357 MB / 0.6108 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/0.6542, allocations: 191.2 kB / 0.611 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.6583, allocations: 0.5723 MB / 0.6116 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/0.6587, allocations: 248 kB / 0.6118 GB, free: 5.98 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.002968/0.6616, allocations: 1.637 MB / 0.6134 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008973/0.6625, allocations: 371.2 kB / 0.6137 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007545/0.6633, allocations: 384.5 kB / 0.6141 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6633, allocations: 4 kB / 0.6141 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.6633, allocations: 0 / 0.6141 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.6633, allocations: 4 kB / 0.6141 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007986/0.6713, allocations: 4.77 MB / 0.6188 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.6714, allocations: 12.19 kB / 0.6188 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.6717, allocations: 119.8 kB / 0.6189 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/0.6717, allocations: 16 kB / 0.6189 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.6718, allocations: 28 kB / 0.6189 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-05/0.6718, allocations: 27.92 kB / 0.619 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-05/0.6718, allocations: 19.88 kB / 0.619 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.6736, allocations: 1.247 MB / 0.6202 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.6748, allocations: 492 kB / 0.6207 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.6752, allocations: 31.98 kB / 0.6207 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/0.6761, allocations: 35.98 kB / 0.6207 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.6763, allocations: 87.56 kB / 0.6208 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.6763, allocations: 32.38 kB / 0.6209 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004866/0.6812, allocations: 3.138 MB / 0.6239 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6812, allocations: 4 kB / 0.6239 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004687/0.6859, allocations: 0.8806 MB / 0.6248 GB, free: 8.16 MB / 0.4981 GB 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.0003324/0.6862, allocations: 154.8 kB / 0.6249 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003767/0.69, allocations: 2.122 MB / 0.627 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.69, allocations: 4 kB / 0.627 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.6904, allocations: 266.4 kB / 0.6273 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/0.6939, allocations: 0.6352 MB / 0.6279 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3139/1.008, allocations: 7.335 MB / 0.635 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004705/1.013, allocations: 2.871 MB / 0.6378 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003944/1.017, allocations: 1.154 MB / 0.639 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/1.017, allocations: 205.5 kB / 0.6392 GB, free: 122 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.017, allocations: 0 / 0.6392 GB, free: 122 MB / 0.4981 GB Notification: Performance of Templates: time 0.1078/1.125, allocations: 26.77 MB / 0.6653 GB, free: 111.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.makefile (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)