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.001152/0.001152, allocations: 102.2 kB / 15.06 MB, free: 1.098 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.0009824/0.0009825, allocations: 173.3 kB / 15.95 MB, free: 212 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.864/1.864, allocations: 205.4 MB / 222.1 MB, free: 5.902 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.3968/0.3968, allocations: 38.03 MB / 308.4 MB, free: 10.21 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.0006118/0.0006119, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1532, allocations: 57.51 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3672/0.5205, allocations: 39.69 MB / 473.6 MB, free: 31.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02418/0.5448, allocations: 9.867 MB / 483.5 MB, free: 26.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01139/0.5562, allocations: 194.8 kB / 483.7 MB, free: 26.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00821/0.5644, allocations: 1.951 MB / 485.6 MB, free: 25.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02206/0.5865, allocations: 5.755 MB / 491.4 MB, free: 22.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.5902, allocations: 0.5923 MB / 492 MB, free: 22.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.5959, allocations: 2.363 MB / 494.3 MB, free: 21.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00721/0.6031, allocations: 4.031 MB / 498.4 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.6064, allocations: 1.025 MB / 499.4 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/0.6094, allocations: 1.3 MB / 0.489 GB, free: 19.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.6106, allocations: 137.2 kB / 0.4891 GB, free: 19.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.6138, allocations: 0.9375 MB / 0.49 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002459/0.6163, allocations: 1.607 MB / 0.4916 GB, free: 18.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.6178, allocations: 0.8447 MB / 0.4924 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009934/0.6277, allocations: 5.475 MB / 0.4977 GB, free: 16.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6278, allocations: 0 / 0.4977 GB, free: 16.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6278, allocations: 0 / 0.4977 GB, free: 16.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003303/0.6281, allocations: 0 / 0.4977 GB, free: 16.76 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.01391/0.642, allocations: 4.075 MB / 0.5017 GB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.6421, allocations: 12.62 kB / 0.5017 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009985/0.6521, allocations: 2.317 MB / 0.504 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007368/0.6595, allocations: 2.72 MB / 0.5067 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.6597, allocations: 242.9 kB / 0.5069 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.661, allocations: 423.3 kB / 0.5073 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.6806, allocations: 10.25 MB / 0.5173 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.6807, allocations: 47.19 kB / 0.5173 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004542/0.6812, allocations: 152.8 kB / 0.5175 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002745/0.6839, allocations: 1.89 MB / 0.5193 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/0.7001, allocations: 8.685 MB / 0.5278 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06648/0.7666, allocations: 39.9 MB / 0.5668 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.7785, allocations: 3.855 MB / 0.5705 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01829/0.7968, allocations: 7.986 MB / 0.5783 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.982e-05/0.797, allocations: 59.5 kB / 0.5784 GB, free: 5.551 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 8.455e-06/0.797, allocations: 0 / 0.5784 GB, free: 5.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=169): time 0.04447/0.8415, allocations: 14.92 MB / 0.593 GB, free: 6.391 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001399/0.8429, allocations: 1.601 MB / 0.5945 GB, free: 4.613 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008627/0.8516, allocations: 4.153 MB / 0.5986 GB, free: 440 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005317/0.8521, allocations: 49.7 kB / 0.5986 GB, free: 384 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002847/0.855, allocations: 3.167 MB / 0.6017 GB, free: 13.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.8561, allocations: 0.6751 MB / 0.6024 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/0.8565, allocations: 124.2 kB / 0.6025 GB, free: 12.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003816/0.8569, allocations: 0.5624 MB / 0.6031 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.8603, allocations: 2.069 MB / 0.6051 GB, free: 9.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006198/0.8665, allocations: 5.865 MB / 0.6108 GB, free: 1.938 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005601/0.8721, allocations: 3.402 MB / 0.6141 GB, free: 14.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-05/0.8722, allocations: 36 kB / 0.6142 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02499/0.8972, allocations: 9.447 MB / 0.6234 GB, free: 5.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.8974, allocations: 64 kB / 0.6235 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01171/0.9092, allocations: 3.613 MB / 0.627 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2846/1.194, allocations: 2.289 MB / 0.6292 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004666/1.198, allocations: 1.408 MB / 0.6306 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00832/1.207, allocations: 6.651 MB / 0.6371 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.213, allocations: 407.9 kB / 0.6375 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00162/1.215, allocations: 377.4 kB / 0.6378 GB, free: 139.8 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.005405/1.22, allocations: 2.098 MB / 0.6399 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000896/1.221, allocations: 344.5 kB / 0.6402 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/1.227, allocations: 3.08 MB / 0.6432 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004405/1.232, allocations: 2.583 MB / 0.6457 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.232, allocations: 2.781 kB / 0.6458 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/1.232, allocations: 9.688 kB / 0.6458 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/1.25, allocations: 9.67 MB / 0.6552 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/1.251, allocations: 8.125 kB / 0.6552 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.252, allocations: 283.5 kB / 0.6555 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/1.255, allocations: 1.057 MB / 0.6565 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/1.255, allocations: 50.8 kB / 0.6566 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/1.26, allocations: 4.903 MB / 0.6614 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007586/1.26, allocations: 1.467 MB / 0.6628 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009755/1.27, allocations: 5.966 MB / 0.6686 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.272, allocations: 412.2 kB / 0.669 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004438/1.272, allocations: 37.64 kB / 0.669 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.274, allocations: 138.2 kB / 0.6692 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/1.274, allocations: 115.5 kB / 0.6693 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.274, allocations: 50.27 kB / 0.6693 GB, free: 126.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005099/1.279, allocations: 2.601 MB / 0.6719 GB, free: 126 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.279, allocations: 3.438 kB / 0.6719 GB, free: 126 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008917/1.288, allocations: 1.079 MB / 0.6729 GB, free: 125.8 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.0007529/1.289, allocations: 190.9 kB / 0.6731 GB, free: 125.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.301, allocations: 5.569 MB / 0.6785 GB, free: 123.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/1.301, allocations: 0 / 0.6785 GB, free: 123.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003759/1.304, allocations: 2.121 MB / 0.6806 GB, free: 122.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.308, allocations: 431.4 kB / 0.681 GB, free: 122.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.326, allocations: 11.32 MB / 0.6921 GB, free: 116.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/1.33, allocations: 3.342 MB / 0.6953 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004465/1.334, allocations: 1.917 MB / 0.6972 GB, free: 112.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/1.335, allocations: 251.4 kB / 0.6975 GB, free: 112.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.124e-06/1.335, allocations: 0 / 0.6975 GB, free: 112.1 MB / 494.1 MB Notification: Performance of Templates: time 0.06189/1.397, allocations: 37.03 MB / 0.7336 GB, free: 75.19 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: