Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 99 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.001299/0.001299, 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.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3092/0.3092, allocations: 39.99 MB / 310.4 MB, free: 9.684 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.0008653/0.0008656, allocations: 20 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.147, allocations: 57.96 MB / 436.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2862/0.4333, allocations: 39.69 MB / 476.5 MB, free: 30.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02559/0.4589, allocations: 9.856 MB / 486.3 MB, free: 23.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01229/0.4713, allocations: 202 kB / 486.5 MB, free: 23.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007662/0.4789, allocations: 1.957 MB / 488.5 MB, free: 22.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02147/0.5005, allocations: 5.751 MB / 494.2 MB, free: 20.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.5039, allocations: 0.5856 MB / 494.8 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005924/0.5099, allocations: 2.374 MB / 497.2 MB, free: 18.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006323/0.5162, allocations: 4.028 MB / 0.4895 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.5184, allocations: 1.027 MB / 0.4905 GB, free: 16.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.5207, allocations: 1.295 MB / 0.4917 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005502/0.5212, allocations: 136.7 kB / 0.4918 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.5237, allocations: 0.9351 MB / 0.4928 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001984/0.5257, allocations: 1.613 MB / 0.4943 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.5268, allocations: 0.8406 MB / 0.4952 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009155/0.5359, allocations: 5.475 MB / 0.5005 GB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.536, allocations: 3.938 kB / 0.5005 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.536, allocations: 1.219 kB / 0.5005 GB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003194/0.5363, allocations: 0 / 0.5005 GB, free: 14.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01234/0.5487, allocations: 4.073 MB / 0.5045 GB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.5487, allocations: 9.125 kB / 0.5045 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009992/0.5587, allocations: 2.312 MB / 0.5068 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008555/0.5673, allocations: 2.723 MB / 0.5094 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003605/0.5677, allocations: 246.9 kB / 0.5096 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002077/0.5698, allocations: 418.5 kB / 0.51 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02325/0.5931, allocations: 10.25 MB / 0.5201 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.5933, allocations: 51.53 kB / 0.5201 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005271/0.5938, allocations: 151.9 kB / 0.5203 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002892/0.5967, allocations: 1.881 MB / 0.5221 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.617, allocations: 8.693 MB / 0.5306 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05977/0.6768, allocations: 39.91 MB / 0.5695 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.6869, allocations: 3.863 MB / 0.5733 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01391/0.7009, allocations: 7.978 MB / 0.5811 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.701, allocations: 55.56 kB / 0.5812 GB, free: 1.145 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 5.049e-06/0.701, allocations: 3.938 kB / 0.5812 GB, free: 1.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=169): time 0.04148/0.7425, allocations: 14.92 MB / 0.5957 GB, free: 1.988 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001454/0.744, allocations: 1.604 MB / 0.5973 GB, free: 212 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007903/0.7519, allocations: 4.153 MB / 0.6014 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007696/0.7527, allocations: 45.7 kB / 0.6014 GB, free: 11.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003524/0.7562, allocations: 3.167 MB / 0.6045 GB, free: 8.758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.7576, allocations: 0.6789 MB / 0.6052 GB, free: 8.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.7579, allocations: 120.2 kB / 0.6053 GB, free: 7.953 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004463/0.7584, allocations: 0.5663 MB / 0.6058 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003907/0.7623, allocations: 2.077 MB / 0.6079 GB, free: 5.297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006885/0.7692, allocations: 5.861 MB / 0.6136 GB, free: 13.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006365/0.7756, allocations: 3.411 MB / 0.6169 GB, free: 10.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.7758, allocations: 43.94 kB / 0.617 GB, free: 10.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02809/0.8039, allocations: 9.429 MB / 0.6262 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.8041, allocations: 66.81 kB / 0.6262 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2865/1.091, allocations: 3.619 MB / 0.6298 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/1.101, allocations: 2.285 MB / 0.632 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004895/1.106, allocations: 1.415 MB / 0.6334 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008685/1.114, allocations: 6.643 MB / 0.6399 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006161/1.121, allocations: 403.2 kB / 0.6402 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/1.122, allocations: 379.5 kB / 0.6406 GB, free: 137.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 753 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005755/1.128, allocations: 2.1 MB / 0.6427 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.129, allocations: 349.2 kB / 0.643 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006967/1.136, allocations: 3.075 MB / 0.646 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004772/1.141, allocations: 2.583 MB / 0.6485 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.141, allocations: 6.125 kB / 0.6485 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/1.141, allocations: 10.8 kB / 0.6485 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/1.16, allocations: 9.666 MB / 0.658 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.16, allocations: 4.531 kB / 0.658 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.161, allocations: 281.5 kB / 0.6582 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003379/1.165, allocations: 1.065 MB / 0.6593 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/1.165, allocations: 46.95 kB / 0.6593 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/1.17, allocations: 4.901 MB / 0.6641 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007731/1.171, allocations: 1.462 MB / 0.6655 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009564/1.18, allocations: 5.954 MB / 0.6714 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.181, allocations: 418.3 kB / 0.6718 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/1.182, allocations: 38.8 kB / 0.6718 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.183, allocations: 133.3 kB / 0.6719 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/1.184, allocations: 118.8 kB / 0.672 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.184, allocations: 59.67 kB / 0.6721 GB, free: 124 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005049/1.189, allocations: 2.603 MB / 0.6746 GB, free: 123.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.189, allocations: 0 / 0.6746 GB, free: 123.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006784/1.196, allocations: 1.074 MB / 0.6757 GB, free: 122.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (136): * Single equations (assignments): 129 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005892/1.196, allocations: 194 kB / 0.6759 GB, free: 122.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00964/1.206, allocations: 5.571 MB / 0.6813 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.206, allocations: 0 / 0.6813 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003814/1.21, allocations: 2.12 MB / 0.6834 GB, free: 119.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.212, allocations: 424.8 kB / 0.6838 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.234, allocations: 11.33 MB / 0.6948 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003627/1.237, allocations: 3.347 MB / 0.6981 GB, free: 107.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004782/1.242, allocations: 1.916 MB / 0.7 GB, free: 105.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/1.243, allocations: 247.4 kB / 0.7002 GB, free: 105.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.793e-06/1.243, allocations: 4 kB / 0.7002 GB, free: 105.2 MB / 494.1 MB Notification: Performance of Templates: time 0.06456/1.308, allocations: 37.03 MB / 0.7364 GB, free: 68.24 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) Environment - environmentSimulation: