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.01331/0.01331, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001543/0.001543, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.756/1.756, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3697/0.3697, allocations: 39.95 MB / 309.8 MB, free: 9.363 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.001426/0.001426, allocations: 71.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3722, allocations: 56.87 MB / 492.6 MB, free: 19.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01453/0.3868, allocations: 11.45 MB / 0.4923 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.3983, allocations: 4.125 MB / 0.4963 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/0.4022, allocations: 68.16 kB / 0.4964 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005887/0.4082, allocations: 2.592 MB / 0.4989 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007068/0.4153, allocations: 1.868 MB / 0.5007 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.4177, allocations: 0.7365 MB / 0.5014 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007454/0.4252, allocations: 4.262 MB / 0.5056 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006101/0.4314, allocations: 3.402 MB / 0.5089 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004218/0.4356, allocations: 1.561 MB / 0.5105 GB, free: 448 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/0.4401, allocations: 2.039 MB / 0.5124 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.442, allocations: 330 kB / 0.5128 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/0.4468, allocations: 1.254 MB / 0.514 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003665/0.4505, allocations: 1.966 MB / 0.5159 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005571/0.4561, allocations: 2.256 MB / 0.5181 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.4707, allocations: 7.163 MB / 0.5251 GB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.4707, allocations: 0 / 0.5251 GB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4708, allocations: 0 / 0.5251 GB, free: 3.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005109/0.4713, allocations: 0 / 0.5251 GB, free: 3.297 MB / 398.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.01447/0.4858, allocations: 4.943 MB / 0.5299 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4858, allocations: 15.89 kB / 0.5299 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007707/0.4935, allocations: 1.967 MB / 0.5319 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005743/0.4993, allocations: 2.508 MB / 0.5343 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.4996, allocations: 246.6 kB / 0.5346 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.5013, allocations: 423.5 kB / 0.535 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/0.5211, allocations: 10.17 MB / 0.5449 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.5212, allocations: 47.62 kB / 0.5449 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004615/0.5217, allocations: 155.8 kB / 0.5451 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/0.5245, allocations: 1.881 MB / 0.5469 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.5432, allocations: 8.596 MB / 0.5553 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05066/0.5939, allocations: 39.66 MB / 0.594 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.6042, allocations: 3.851 MB / 0.5978 GB, free: 6.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.6072, allocations: 1.624 MB / 0.5994 GB, free: 4.988 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/0.6213, allocations: 7.924 MB / 0.6071 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.6214, allocations: 43.56 kB / 0.6072 GB, free: 12.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 4.368e-06/0.6214, allocations: 0 / 0.6072 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=169): time 0.04044/0.6618, allocations: 14.81 MB / 0.6216 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001396/0.6632, allocations: 1.687 MB / 0.6233 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005308/0.6686, allocations: 3.934 MB / 0.6271 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.6688, allocations: 53.64 kB / 0.6272 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00215/0.6709, allocations: 3.287 MB / 0.6304 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006334/0.6716, allocations: 0.7095 MB / 0.6311 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/0.673, allocations: 1.262 MB / 0.6323 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6732, allocations: 305.1 kB / 0.6326 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002929/0.6761, allocations: 2.093 MB / 0.6346 GB, free: 120 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2695/0.9456, allocations: 5.906 MB / 0.6404 GB, free: 121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.9582, allocations: 8.621 MB / 0.6488 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003655/0.9587, allocations: 43.56 kB / 0.6489 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02555/0.9842, allocations: 9.501 MB / 0.6581 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.9844, allocations: 69.14 kB / 0.6582 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01061/0.995, allocations: 3.601 MB / 0.6617 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.005, allocations: 2.267 MB / 0.6639 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/1.01, allocations: 1.424 MB / 0.6653 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009108/1.019, allocations: 6.924 MB / 0.6721 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005295/1.024, allocations: 405.8 kB / 0.6725 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008936/1.025, allocations: 378.9 kB / 0.6728 GB, free: 105.1 MB / 0.4981 GB 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.003021/1.028, allocations: 2.102 MB / 0.6749 GB, free: 103.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/1.029, allocations: 361.6 kB / 0.6752 GB, free: 103.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005178/1.034, allocations: 3.077 MB / 0.6782 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004124/1.038, allocations: 2.586 MB / 0.6808 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.038, allocations: 5.156 kB / 0.6808 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.038, allocations: 7.969 kB / 0.6808 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.052, allocations: 9.664 MB / 0.6902 GB, free: 92.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.052, allocations: 4 kB / 0.6902 GB, free: 92.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.053, allocations: 275.5 kB / 0.6905 GB, free: 92.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00278/1.056, allocations: 1.074 MB / 0.6915 GB, free: 91.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.056, allocations: 43.97 kB / 0.6916 GB, free: 91.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/1.06, allocations: 5.125 MB / 0.6966 GB, free: 85.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006682/1.061, allocations: 1.547 MB / 0.6981 GB, free: 84.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006918/1.068, allocations: 5.518 MB / 0.7035 GB, free: 78.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008805/1.068, allocations: 413.1 kB / 0.7039 GB, free: 78.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003768/1.069, allocations: 39.98 kB / 0.7039 GB, free: 78.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.07, allocations: 138.6 kB / 0.704 GB, free: 78.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/1.07, allocations: 119.2 kB / 0.7042 GB, free: 77.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.071, allocations: 51.97 kB / 0.7042 GB, free: 77.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002846/1.073, allocations: 2.427 MB / 0.7066 GB, free: 75.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.073, allocations: 0 / 0.7066 GB, free: 75.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005696/1.079, allocations: 1.058 MB / 0.7076 GB, free: 74.44 MB / 0.4981 GB 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.0004884/1.08, allocations: 173.2 kB / 0.7078 GB, free: 74.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009297/1.089, allocations: 5.723 MB / 0.7134 GB, free: 68.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.089, allocations: 4 kB / 0.7134 GB, free: 68.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003623/1.093, allocations: 2.125 MB / 0.7154 GB, free: 66.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/1.096, allocations: 467.7 kB / 0.7159 GB, free: 65.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.111, allocations: 9.722 MB / 0.7254 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/1.113, allocations: 3.257 MB / 0.7286 GB, free: 52.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003692/1.117, allocations: 1.917 MB / 0.7304 GB, free: 50.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/1.118, allocations: 239.4 kB / 0.7307 GB, free: 50.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/1.118, allocations: 0 / 0.7307 GB, free: 50.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.05921/1.177, allocations: 35.51 MB / 0.7653 GB, free: 15.19 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.makefile (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)