Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001545/0.001545, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00207/0.00207, allocations: 188.9 kB / 16.25 MB, free: 6.625 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.747/1.747, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3418/0.3418, allocations: 37.98 MB / 307.4 MB, free: 10.13 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.001444/0.001444, allocations: 74.61 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1434, allocations: 56.47 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3164/0.4598, allocations: 46.38 MB / 477.6 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02868/0.4886, allocations: 9.904 MB / 487.5 MB, free: 22.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0146/0.5033, allocations: 204.4 kB / 487.7 MB, free: 22.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005149/0.5085, allocations: 2.485 MB / 490.2 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006163/0.5147, allocations: 1.746 MB / 491.9 MB, free: 20.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.5166, allocations: 0.6791 MB / 492.6 MB, free: 20.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006133/0.5228, allocations: 4.296 MB / 496.9 MB, free: 18.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004738/0.5275, allocations: 3.601 MB / 0.4888 GB, free: 17.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.5311, allocations: 1.587 MB / 0.4903 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004492/0.5356, allocations: 2.278 MB / 0.4925 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.5369, allocations: 328.5 kB / 0.4929 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.5403, allocations: 1.269 MB / 0.4941 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002934/0.5433, allocations: 1.996 MB / 0.496 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005755/0.549, allocations: 2.282 MB / 0.4983 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.5643, allocations: 6.954 MB / 0.5051 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.5644, allocations: 0 / 0.5051 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5644, allocations: 5.156 kB / 0.5051 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004619/0.5649, allocations: 0 / 0.5051 GB, free: 10.81 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.0233/0.5882, allocations: 4.816 MB / 0.5098 GB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.5883, allocations: 16.89 kB / 0.5098 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00917/0.5975, allocations: 1.939 MB / 0.5117 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006534/0.604, allocations: 2.459 MB / 0.5141 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.6044, allocations: 245.9 kB / 0.5143 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/0.6065, allocations: 415.9 kB / 0.5147 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.6304, allocations: 10.17 MB / 0.5246 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001826/0.6307, allocations: 43.59 kB / 0.5247 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005499/0.6313, allocations: 155.9 kB / 0.5248 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003332/0.6346, allocations: 1.884 MB / 0.5267 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/0.6556, allocations: 8.592 MB / 0.5351 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06213/0.7178, allocations: 39.76 MB / 0.5739 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009965/0.7279, allocations: 3.852 MB / 0.5777 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.7305, allocations: 1.612 MB / 0.5792 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/0.7438, allocations: 7.908 MB / 0.5869 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.7439, allocations: 47.56 kB / 0.587 GB, free: 11.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 6.062e-06/0.744, allocations: 0 / 0.587 GB, free: 11.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.03856/0.7825, allocations: 14.59 MB / 0.6012 GB, free: 12.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001441/0.784, allocations: 1.683 MB / 0.6029 GB, free: 10.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006245/0.7903, allocations: 3.921 MB / 0.6067 GB, free: 6.473 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006515/0.791, allocations: 49.64 kB / 0.6068 GB, free: 6.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003013/0.794, allocations: 3.159 MB / 0.6098 GB, free: 3.211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.7953, allocations: 0.6828 MB / 0.6105 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00218/0.7975, allocations: 1.25 MB / 0.6117 GB, free: 1.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7976, allocations: 305.1 kB / 0.612 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.801, allocations: 2.085 MB / 0.6141 GB, free: 14.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006066/0.807, allocations: 5.912 MB / 0.6198 GB, free: 7.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2703/1.077, allocations: 8.638 MB / 0.6283 GB, free: 143.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/1.078, allocations: 37.84 kB / 0.6283 GB, free: 143.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02217/1.1, allocations: 9.482 MB / 0.6376 GB, free: 141.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/1.1, allocations: 65.25 kB / 0.6376 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01039/1.11, allocations: 3.609 MB / 0.6412 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.12, allocations: 2.28 MB / 0.6434 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004811/1.125, allocations: 1.417 MB / 0.6448 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008455/1.134, allocations: 6.917 MB / 0.6515 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005529/1.139, allocations: 404.1 kB / 0.6519 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009566/1.14, allocations: 385.8 kB / 0.6523 GB, free: 136.5 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 (770): * Single equations (assignments): 761 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004392/1.145, allocations: 2.1 MB / 0.6543 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007889/1.146, allocations: 341.1 kB / 0.6546 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/1.152, allocations: 3.075 MB / 0.6577 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00615/1.158, allocations: 2.593 MB / 0.6602 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/1.158, allocations: 4.125 kB / 0.6602 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.132e-05/1.158, allocations: 7.75 kB / 0.6602 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/1.179, allocations: 9.673 MB / 0.6696 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.179, allocations: 3.406 kB / 0.6696 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.18, allocations: 282.5 kB / 0.6699 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003189/1.183, allocations: 1.064 MB / 0.671 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/1.184, allocations: 49.08 kB / 0.671 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005233/1.189, allocations: 5.121 MB / 0.676 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00101/1.19, allocations: 1.543 MB / 0.6775 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008871/1.199, allocations: 5.507 MB / 0.6829 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/1.2, allocations: 402.4 kB / 0.6833 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004941/1.201, allocations: 40.14 kB / 0.6833 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.202, allocations: 133.5 kB / 0.6834 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/1.202, allocations: 109.5 kB / 0.6835 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.203, allocations: 66.53 kB / 0.6836 GB, free: 122.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003926/1.206, allocations: 2.432 MB / 0.686 GB, free: 121 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.206, allocations: 0 / 0.686 GB, free: 121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006659/1.213, allocations: 1.048 MB / 0.687 GB, free: 120.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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005397/1.214, allocations: 177.4 kB / 0.6872 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.224, allocations: 6.384 MB / 0.6934 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.224, allocations: 4 kB / 0.6934 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003361/1.228, allocations: 2.124 MB / 0.6955 GB, free: 112.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.231, allocations: 464.8 kB / 0.6959 GB, free: 112.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/1.249, allocations: 11.68 MB / 0.7073 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/1.252, allocations: 3.264 MB / 0.7105 GB, free: 97.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004281/1.256, allocations: 1.907 MB / 0.7124 GB, free: 95.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/1.257, allocations: 247.4 kB / 0.7126 GB, free: 94.86 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/1.257, allocations: 3.938 kB / 0.7126 GB, free: 94.85 MB / 494.1 MB Notification: Performance of Templates: time 0.0708/1.327, allocations: 38.96 MB / 0.7507 GB, free: 56 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)