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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.002047/0.002047, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.755/1.755, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001556/0.001556, allocations: 99.52 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1832/0.1832, allocations: 37.97 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.839e-05, allocations: 2.188 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08386, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4544, allocations: 87.77 MB / 486.5 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.4547, allocations: 81.7 kB / 486.6 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2457/0.7005, allocations: 94.98 MB / 0.5679 GB, free: 5.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7006, allocations: 0 / 0.5679 GB, free: 5.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004762/0.7011, allocations: 76 kB / 0.568 GB, free: 5.418 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01533/0.7164, allocations: 4.096 MB / 0.572 GB, free: 1.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.7165, allocations: 8.031 kB / 0.572 GB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02686/0.7434, allocations: 5.994 MB / 0.5779 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02084/0.7643, allocations: 8.951 MB / 0.5866 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.7645, allocations: 112 kB / 0.5867 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/0.7659, allocations: 223.6 kB / 0.5869 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00923/0.7751, allocations: 4.075 MB / 0.5909 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.7906, allocations: 5.843 MB / 0.5966 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003275/0.7909, allocations: 55.56 kB / 0.5967 GB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/0.7921, allocations: 19.95 kB / 0.5967 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/0.7934, allocations: 0.5913 MB / 0.5973 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2533/1.047, allocations: 27.15 MB / 0.6238 GB, free: 77.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/1.047, allocations: 327.5 kB / 0.6241 GB, free: 77.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/1.047, allocations: 153.8 kB / 0.6242 GB, free: 77.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/1.048, allocations: 5.953 kB / 0.6242 GB, free: 77.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/1.048, allocations: 47.59 kB / 0.6243 GB, free: 77.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.416e-06/1.048, allocations: 0 / 0.6243 GB, free: 77.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.005989/1.054, allocations: 1.482 MB / 0.6257 GB, free: 77.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/1.054, allocations: 239.8 kB / 0.626 GB, free: 77.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/1.06, allocations: 3.408 MB / 0.6293 GB, free: 77.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/1.06, allocations: 27.11 kB / 0.6293 GB, free: 77.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001851/1.062, allocations: 2.809 MB / 0.6321 GB, free: 76.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.062, allocations: 165.2 kB / 0.6322 GB, free: 76.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/1.062, allocations: 0 / 0.6322 GB, free: 76.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/1.062, allocations: 451.2 kB / 0.6326 GB, free: 75.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/1.063, allocations: 0.6682 MB / 0.6333 GB, free: 75.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/1.065, allocations: 3.236 MB / 0.6365 GB, free: 72.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/1.067, allocations: 1.426 MB / 0.6378 GB, free: 72.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.573e-05/1.067, allocations: 30.72 kB / 0.6379 GB, free: 72.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.005799/1.073, allocations: 3.328 MB / 0.6411 GB, free: 72.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.881e-05/1.073, allocations: 44.95 kB / 0.6412 GB, free: 72.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/1.073, allocations: 96.31 kB / 0.6413 GB, free: 72.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/1.073, allocations: 135 kB / 0.6414 GB, free: 72.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/1.075, allocations: 0.8602 MB / 0.6422 GB, free: 72.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001107/1.076, allocations: 183.5 kB / 0.6424 GB, free: 72.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/1.079, allocations: 0.5021 MB / 0.6429 GB, free: 72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/1.08, allocations: 228.9 kB / 0.6431 GB, free: 72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004179/1.08, allocations: 357.9 kB / 0.6435 GB, free: 71.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005485/1.081, allocations: 329 kB / 0.6438 GB, free: 71.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/1.082, allocations: 358.9 kB / 0.6441 GB, free: 71.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.082, allocations: 3.875 kB / 0.6441 GB, free: 71.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.082, allocations: 0 / 0.6441 GB, free: 71.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.082, allocations: 11.56 kB / 0.6441 GB, free: 71.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/1.087, allocations: 3.458 MB / 0.6475 GB, free: 70.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/1.087, allocations: 8.969 kB / 0.6475 GB, free: 70.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/1.087, allocations: 84.92 kB / 0.6476 GB, free: 70.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/1.087, allocations: 14.16 kB / 0.6476 GB, free: 70.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/1.087, allocations: 14.33 kB / 0.6476 GB, free: 70.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.087, allocations: 20.77 kB / 0.6476 GB, free: 70.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.087, allocations: 24.75 kB / 0.6477 GB, free: 70.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/1.088, allocations: 2.044 MB / 0.6497 GB, free: 68.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007463/1.089, allocations: 438.2 kB / 0.6501 GB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/1.089, allocations: 16.47 kB / 0.6501 GB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009827/1.09, allocations: 52.58 kB / 0.6501 GB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/1.09, allocations: 64.09 kB / 0.6502 GB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.09, allocations: 23.66 kB / 0.6502 GB, free: 68.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003111/1.093, allocations: 2.4 MB / 0.6526 GB, free: 67.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.093, allocations: 0 / 0.6526 GB, free: 67.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004598/1.098, allocations: 0.8292 MB / 0.6534 GB, free: 67.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000255/1.098, allocations: 132.5 kB / 0.6535 GB, free: 67.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002675/1.101, allocations: 1.568 MB / 0.655 GB, free: 67.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.101, allocations: 3.625 kB / 0.655 GB, free: 67.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/1.101, allocations: 157.9 kB / 0.6552 GB, free: 67.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/1.105, allocations: 0.5401 MB / 0.6557 GB, free: 67.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.115, allocations: 5.416 MB / 0.661 GB, free: 65.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/1.118, allocations: 2.938 MB / 0.6639 GB, free: 64.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0028/1.12, allocations: 1.085 MB / 0.6649 GB, free: 64.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/1.121, allocations: 182.2 kB / 0.6651 GB, free: 64.95 MB / 426.7 MB Notification: Performance of SimCode: time 9.21e-07/1.121, allocations: 0 / 0.6651 GB, free: 64.95 MB / 426.7 MB Notification: Performance of Templates: time 0.04075/1.161, allocations: 21.68 MB / 0.6863 GB, free: 63.81 MB / 426.7 MB 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)