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.001482/0.001482, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001386/0.001386, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.814/1.814, allocations: 205.1 MB / 222.1 MB, free: 4.766 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.3821/0.3821, allocations: 39.92 MB / 309.4 MB, free: 9.223 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.001424/0.001424, allocations: 75.89 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.158, allocations: 56.87 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3823/0.5404, allocations: 46.4 MB / 480.4 MB, free: 26.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02532/0.5658, allocations: 9.901 MB / 490.3 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01421/0.58, allocations: 206.1 kB / 490.5 MB, free: 19.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005318/0.5855, allocations: 2.48 MB / 493 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.5917, allocations: 1.744 MB / 494.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.5943, allocations: 0.6819 MB / 495.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008012/0.6023, allocations: 4.294 MB / 499.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006118/0.6084, allocations: 3.609 MB / 0.4915 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/0.6128, allocations: 1.577 MB / 0.493 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005171/0.618, allocations: 2.286 MB / 0.4953 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001879/0.6199, allocations: 330 kB / 0.4956 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005116/0.625, allocations: 1.26 MB / 0.4968 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004111/0.6291, allocations: 2.005 MB / 0.4988 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00473/0.6339, allocations: 2.271 MB / 0.501 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.6462, allocations: 6.957 MB / 0.5078 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6462, allocations: 0 / 0.5078 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6462, allocations: 0 / 0.5078 GB, free: 7.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003636/0.6466, allocations: 3.938 kB / 0.5078 GB, free: 7.949 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.01535/0.6619, allocations: 4.821 MB / 0.5125 GB, free: 4.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.662, allocations: 14.52 kB / 0.5125 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007748/0.6698, allocations: 1.938 MB / 0.5144 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006042/0.6758, allocations: 2.455 MB / 0.5168 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.6761, allocations: 247.6 kB / 0.517 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.6775, allocations: 415.3 kB / 0.5174 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/0.7013, allocations: 10.16 MB / 0.5274 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.7015, allocations: 51.52 kB / 0.5274 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006087/0.7021, allocations: 151.9 kB / 0.5275 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002908/0.705, allocations: 1.884 MB / 0.5294 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.7246, allocations: 8.6 MB / 0.5378 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06151/0.7862, allocations: 39.75 MB / 0.5766 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009196/0.7954, allocations: 3.85 MB / 0.5804 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.7978, allocations: 1.608 MB / 0.5819 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01245/0.8102, allocations: 7.916 MB / 0.5897 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.8103, allocations: 43.56 kB / 0.5897 GB, free: 6.855 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.34e-06/0.8103, allocations: 0 / 0.5897 GB, free: 6.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.04152/0.8519, allocations: 14.59 MB / 0.604 GB, free: 8.086 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00143/0.8533, allocations: 1.683 MB / 0.6056 GB, free: 6.219 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006635/0.86, allocations: 3.921 MB / 0.6094 GB, free: 2.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000674/0.8607, allocations: 49.7 kB / 0.6095 GB, free: 2.262 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.8634, allocations: 3.167 MB / 0.6126 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001336/0.8647, allocations: 0.6752 MB / 0.6132 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002028/0.8668, allocations: 1.257 MB / 0.6145 GB, free: 13.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8669, allocations: 301.1 kB / 0.6147 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/0.8703, allocations: 2.089 MB / 0.6168 GB, free: 10.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006298/0.8767, allocations: 5.909 MB / 0.6226 GB, free: 2.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3589/1.236, allocations: 8.632 MB / 0.631 GB, free: 138.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.236, allocations: 41.12 kB / 0.631 GB, free: 138.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02463/1.26, allocations: 9.491 MB / 0.6403 GB, free: 136.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.261, allocations: 64.53 kB / 0.6404 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01058/1.271, allocations: 3.612 MB / 0.6439 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/1.282, allocations: 2.271 MB / 0.6461 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/1.287, allocations: 1.422 MB / 0.6475 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009585/1.297, allocations: 6.915 MB / 0.6542 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006722/1.304, allocations: 401.6 kB / 0.6546 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/1.306, allocations: 385.9 kB / 0.655 GB, free: 131 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.006144/1.312, allocations: 2.097 MB / 0.657 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.313, allocations: 342.6 kB / 0.6574 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007579/1.32, allocations: 3.077 MB / 0.6604 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006423/1.327, allocations: 2.587 MB / 0.6629 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/1.327, allocations: 3.281 kB / 0.6629 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/1.327, allocations: 7.844 kB / 0.6629 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/1.348, allocations: 9.68 MB / 0.6724 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/1.348, allocations: 4.125 kB / 0.6724 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.35, allocations: 281.6 kB / 0.6726 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/1.352, allocations: 1.072 MB / 0.6737 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/1.353, allocations: 50.84 kB / 0.6737 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/1.357, allocations: 5.118 MB / 0.6787 GB, free: 120.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008112/1.358, allocations: 1.542 MB / 0.6802 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008229/1.366, allocations: 5.51 MB / 0.6856 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.368, allocations: 396.3 kB / 0.686 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000563/1.369, allocations: 45.42 kB / 0.686 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.37, allocations: 132.1 kB / 0.6862 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/1.37, allocations: 114.4 kB / 0.6863 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.37, allocations: 54.2 kB / 0.6863 GB, free: 116.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003729/1.374, allocations: 2.423 MB / 0.6887 GB, free: 115.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.374, allocations: 0 / 0.6887 GB, free: 115.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007157/1.381, allocations: 1.062 MB / 0.6897 GB, free: 114.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 (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.0005646/1.382, allocations: 177.3 kB / 0.6899 GB, free: 114.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01087/1.393, allocations: 6.376 MB / 0.6961 GB, free: 108.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.393, allocations: 4 kB / 0.6961 GB, free: 108.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003678/1.397, allocations: 2.135 MB / 0.6982 GB, free: 106 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/1.4, allocations: 461.6 kB / 0.6987 GB, free: 105.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.421, allocations: 11.67 MB / 0.71 GB, free: 93.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003309/1.424, allocations: 3.257 MB / 0.7132 GB, free: 90.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004627/1.429, allocations: 1.914 MB / 0.7151 GB, free: 88.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000781/1.43, allocations: 243.4 kB / 0.7153 GB, free: 88.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.653e-06/1.43, allocations: 0 / 0.7153 GB, free: 88.42 MB / 494.1 MB Notification: Performance of Templates: time 0.06735/1.497, allocations: 38.96 MB / 0.7534 GB, free: 49.56 MB / 494.1 MB 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)