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.001992/0.001992, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001815/0.001815, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3702/0.3702, allocations: 40 MB / 310.4 MB, free: 9.758 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.0005499/0.00055, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1365, allocations: 57.96 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.277/0.4135, allocations: 60.5 MB / 497.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02963/0.4432, allocations: 13.94 MB / 0.4992 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01738/0.4606, allocations: 308.1 kB / 0.4995 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01157/0.4722, allocations: 3.014 MB / 0.5025 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02897/0.5012, allocations: 8.839 MB / 0.5111 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004857/0.5061, allocations: 0.9165 MB / 0.512 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0421/0.5482, allocations: 27.02 MB / 0.5384 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007466/0.5557, allocations: 4.211 MB / 0.5425 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.5592, allocations: 1.254 MB / 0.5437 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.563, allocations: 1.839 MB / 0.5455 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.5642, allocations: 140 kB / 0.5456 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.5665, allocations: 0.6126 MB / 0.5462 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003114/0.5696, allocations: 1.913 MB / 0.5481 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.5715, allocations: 0.8078 MB / 0.5489 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006941/0.5785, allocations: 5.451 MB / 0.5542 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5785, allocations: 0 / 0.5542 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5786, allocations: 0 / 0.5542 GB, free: 15.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002722/0.5788, allocations: 4 kB / 0.5542 GB, free: 15.23 MB / 430.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.5918, allocations: 4.682 MB / 0.5588 GB, free: 10.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.5919, allocations: 12.03 kB / 0.5588 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1018/0.6937, allocations: 9.967 MB / 0.5685 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/0.7065, allocations: 5.292 MB / 0.5737 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.7068, allocations: 211 kB / 0.5739 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.7081, allocations: 287.6 kB / 0.5742 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.7241, allocations: 6.984 MB / 0.581 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/0.7243, allocations: 55.55 kB / 0.5811 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/0.7248, allocations: 131.9 kB / 0.5812 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001543/0.7264, allocations: 1.009 MB / 0.5822 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.7402, allocations: 5.01 MB / 0.5871 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03827/0.7785, allocations: 27.59 MB / 0.614 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.7812, allocations: 0.7309 MB / 0.6147 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.7813, allocations: 16.38 kB / 0.6147 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.7813, allocations: 50.48 kB / 0.6148 GB, free: 15.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.544e-06/0.7813, allocations: 0 / 0.6148 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.008524/0.7899, allocations: 2.247 MB / 0.617 GB, free: 13.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.7901, allocations: 239.3 kB / 0.6172 GB, free: 13.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/0.8005, allocations: 5.401 MB / 0.6225 GB, free: 7.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.8006, allocations: 34.08 kB / 0.6225 GB, free: 7.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00252/0.8032, allocations: 2.766 MB / 0.6252 GB, free: 4.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.8035, allocations: 198.1 kB / 0.6254 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.8036, allocations: 75.94 kB / 0.6255 GB, free: 4.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003089/0.8039, allocations: 457.3 kB / 0.6259 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.8053, allocations: 0.7759 MB / 0.6267 GB, free: 3.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2355/1.041, allocations: 3.385 MB / 0.63 GB, free: 142.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/1.044, allocations: 1.544 MB / 0.6315 GB, free: 142.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.04e-05/1.044, allocations: 26.72 kB / 0.6315 GB, free: 142.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006848/1.05, allocations: 4.026 MB / 0.6354 GB, free: 141.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/1.051, allocations: 47.48 kB / 0.6355 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.52e-05/1.051, allocations: 95.06 kB / 0.6356 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/1.051, allocations: 136.6 kB / 0.6357 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/1.053, allocations: 0.857 MB / 0.6365 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001064/1.053, allocations: 179.4 kB / 0.6367 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003655/1.057, allocations: 0.5653 MB / 0.6373 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/1.057, allocations: 233.6 kB / 0.6375 GB, free: 141.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * 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 (449): * Single equations (assignments): 449 * 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.002722/1.06, allocations: 1.633 MB / 0.6391 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/1.061, allocations: 388.1 kB / 0.6394 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/1.061, allocations: 398.6 kB / 0.6398 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.061, allocations: 7.156 kB / 0.6398 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.061, allocations: 3.125 kB / 0.6398 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.061, allocations: 3.422 kB / 0.6398 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006989/1.068, allocations: 4.816 MB / 0.6445 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.068, allocations: 16.88 kB / 0.6446 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/1.069, allocations: 117 kB / 0.6447 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.08e-05/1.069, allocations: 21.5 kB / 0.6447 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/1.069, allocations: 26.94 kB / 0.6447 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.737e-05/1.069, allocations: 24.05 kB / 0.6447 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/1.069, allocations: 27.11 kB / 0.6448 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/1.071, allocations: 3.287 MB / 0.648 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.072, allocations: 0.5117 MB / 0.6485 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/1.072, allocations: 36.47 kB / 0.6485 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009561/1.073, allocations: 42.22 kB / 0.6485 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/1.073, allocations: 84.28 kB / 0.6486 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/1.073, allocations: 32.88 kB / 0.6487 GB, free: 135.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004859/1.078, allocations: 3.628 MB / 0.6522 GB, free: 134.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/1.078, allocations: 0 / 0.6522 GB, free: 134.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003936/1.082, allocations: 0.8653 MB / 0.653 GB, free: 134.1 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 (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.0003158/1.083, allocations: 171.4 kB / 0.6532 GB, free: 134 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002819/1.085, allocations: 1.882 MB / 0.6551 GB, free: 133.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.085, allocations: 3.188 kB / 0.6551 GB, free: 133.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/1.086, allocations: 262.3 kB / 0.6553 GB, free: 133.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/1.089, allocations: 0.636 MB / 0.6559 GB, free: 133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.104, allocations: 8.399 MB / 0.6641 GB, free: 128.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004456/1.109, allocations: 2.955 MB / 0.667 GB, free: 127.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00382/1.113, allocations: 1.177 MB / 0.6682 GB, free: 127 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/1.113, allocations: 215.7 kB / 0.6684 GB, free: 127 MB / 494.1 MB Notification: Performance of SimCode: time 1.283e-06/1.113, allocations: 3.938 kB / 0.6684 GB, free: 127 MB / 494.1 MB Notification: Performance of Templates: time 0.06541/1.179, allocations: 29.41 MB / 0.6971 GB, free: 114.3 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: