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.0009309/0.0009305, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008338/0.008338, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.494/1.494, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3146/0.3146, allocations: 38.04 MB / 308.8 MB, free: 10.35 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.0005382/0.0005383, allocations: 16.66 kB / 377 MB, free: 14.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1164, allocations: 57.53 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2538/0.3702, allocations: 45.15 MB / 479.7 MB, free: 27.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.3889, allocations: 9.947 MB / 489.7 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009567/0.3985, allocations: 199.2 kB / 489.9 MB, free: 22.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.4003, allocations: 422.2 kB / 490.3 MB, free: 22.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.4046, allocations: 1.751 MB / 492 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.406, allocations: 0.6747 MB / 492.7 MB, free: 21.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005476/0.4115, allocations: 6.075 MB / 498.8 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005619/0.4172, allocations: 4.428 MB / 0.4914 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.4195, allocations: 1.144 MB / 0.4925 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.4224, allocations: 1.911 MB / 0.4944 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004405/0.4228, allocations: 140.1 kB / 0.4945 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.425, allocations: 1.122 MB / 0.4956 GB, free: 16.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001799/0.4268, allocations: 1.773 MB / 0.4974 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.4289, allocations: 2.019 MB / 0.4993 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.4396, allocations: 6.637 MB / 0.5058 GB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4396, allocations: 0 / 0.5058 GB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4396, allocations: 0 / 0.5058 GB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003958/0.44, allocations: 1.031 kB / 0.5058 GB, free: 12.23 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.01232/0.4523, allocations: 3.943 MB / 0.5097 GB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4524, allocations: 9.781 kB / 0.5097 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/0.4602, allocations: 1.996 MB / 0.5116 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005613/0.4658, allocations: 2.451 MB / 0.514 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.466, allocations: 247.2 kB / 0.5142 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009978/0.467, allocations: 405.9 kB / 0.5146 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.4833, allocations: 10.19 MB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.4835, allocations: 39.67 kB / 0.5246 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/0.4839, allocations: 159.8 kB / 0.5248 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/0.4866, allocations: 1.881 MB / 0.5266 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.5028, allocations: 8.607 MB / 0.535 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04804/0.5508, allocations: 39.76 MB / 0.5738 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009368/0.5602, allocations: 3.847 MB / 0.5776 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/0.5629, allocations: 1.611 MB / 0.5792 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/0.5752, allocations: 7.915 MB / 0.5869 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.5753, allocations: 55.56 kB / 0.587 GB, free: 13.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 3.997e-06/0.5753, allocations: 0 / 0.587 GB, free: 13.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.03922/0.6145, allocations: 14.57 MB / 0.6012 GB, free: 14.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00148/0.6161, allocations: 1.596 MB / 0.6027 GB, free: 12.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006759/0.6228, allocations: 3.925 MB / 0.6066 GB, free: 9.043 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005486/0.6234, allocations: 45.7 kB / 0.6066 GB, free: 8.992 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.6258, allocations: 3.159 MB / 0.6097 GB, free: 5.785 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009797/0.6268, allocations: 0.6945 MB / 0.6104 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006761/0.6275, allocations: 0.5154 MB / 0.6109 GB, free: 4.559 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.6276, allocations: 309.1 kB / 0.6112 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/0.6311, allocations: 2.085 MB / 0.6132 GB, free: 2.164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005745/0.6369, allocations: 5.909 MB / 0.619 GB, free: 10.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2771/0.914, allocations: 8.633 MB / 0.6274 GB, free: 142.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/0.9142, allocations: 38.41 kB / 0.6275 GB, free: 142.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.03324/0.9475, allocations: 9.484 MB / 0.6367 GB, free: 141.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.9477, allocations: 62.66 kB / 0.6368 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01503/0.9627, allocations: 3.608 MB / 0.6403 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/0.973, allocations: 2.275 MB / 0.6425 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004436/0.9775, allocations: 1.417 MB / 0.6439 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007786/0.9853, allocations: 6.379 MB / 0.6501 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005538/0.9908, allocations: 402.7 kB / 0.6505 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/0.9923, allocations: 382.7 kB / 0.6509 GB, free: 137 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.004594/0.9969, allocations: 2.098 MB / 0.6529 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007403/0.9976, allocations: 341.6 kB / 0.6533 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006581/1.004, allocations: 3.077 MB / 0.6563 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005309/1.01, allocations: 2.593 MB / 0.6588 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/1.01, allocations: 3.641 kB / 0.6588 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-05/1.01, allocations: 13.64 kB / 0.6588 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.029, allocations: 9.661 MB / 0.6682 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-05/1.029, allocations: 7.812 kB / 0.6683 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.03, allocations: 287 kB / 0.6685 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003019/1.033, allocations: 1.059 MB / 0.6696 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/1.034, allocations: 49.06 kB / 0.6696 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/1.038, allocations: 4.82 MB / 0.6743 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006668/1.039, allocations: 1.458 MB / 0.6757 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007414/1.046, allocations: 5.504 MB / 0.6811 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.047, allocations: 408.1 kB / 0.6815 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/1.048, allocations: 38.84 kB / 0.6815 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.049, allocations: 140.5 kB / 0.6817 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/1.049, allocations: 116.2 kB / 0.6818 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.05, allocations: 53.92 kB / 0.6818 GB, free: 123.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003528/1.053, allocations: 2.431 MB / 0.6842 GB, free: 122.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.053, allocations: 0 / 0.6842 GB, free: 122.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004617/1.058, allocations: 1.059 MB / 0.6852 GB, free: 122.2 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.0003586/1.058, allocations: 170.6 kB / 0.6854 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008034/1.066, allocations: 5.681 MB / 0.691 GB, free: 118.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.066, allocations: 0 / 0.691 GB, free: 118.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003324/1.07, allocations: 2.122 MB / 0.693 GB, free: 116 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/1.074, allocations: 439.9 kB / 0.6934 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.091, allocations: 11.84 MB / 0.705 GB, free: 103.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/1.094, allocations: 3.256 MB / 0.7082 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004135/1.098, allocations: 1.903 MB / 0.7101 GB, free: 98.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006087/1.099, allocations: 247.4 kB / 0.7103 GB, free: 98.19 MB / 494.1 MB Notification: Performance of SimCode: time 2.064e-06/1.099, allocations: 3.938 kB / 0.7103 GB, free: 98.18 MB / 494.1 MB Notification: Performance of Templates: time 0.05997/1.159, allocations: 37.02 MB / 0.7464 GB, free: 61.27 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: