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.009203/0.009203, allocations: 101.4 kB / 15.73 MB, free: 6.027 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.001661/0.001661, allocations: 193.3 kB / 16.67 MB, free: 5.957 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.87/1.87, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.4744/0.4744, allocations: 39.95 MB / 309.8 MB, free: 9.484 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.002028/0.002028, allocations: 67.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 56.88 MB / 492.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01614/0.4212, allocations: 11.45 MB / 0.4923 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.4335, allocations: 4.132 MB / 0.4963 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004218/0.4378, allocations: 68.38 kB / 0.4964 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006086/0.444, allocations: 2.594 MB / 0.4989 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007574/0.4516, allocations: 1.856 MB / 0.5007 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.4541, allocations: 0.7447 MB / 0.5015 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008045/0.4622, allocations: 4.262 MB / 0.5056 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004513/0.4667, allocations: 3.402 MB / 0.5089 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.47, allocations: 1.545 MB / 0.5104 GB, free: 224 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.4737, allocations: 2.054 MB / 0.5125 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009498/0.4746, allocations: 330.6 kB / 0.5128 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.4779, allocations: 1.25 MB / 0.514 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00225/0.4801, allocations: 1.998 MB / 0.5159 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.4827, allocations: 2.253 MB / 0.5181 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008232/0.491, allocations: 7.132 MB / 0.5251 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.491, allocations: 3.984 kB / 0.5251 GB, free: 3.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.491, allocations: 0 / 0.5251 GB, free: 3.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001685/0.4912, allocations: 4 kB / 0.5251 GB, free: 3.152 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.01126/0.5024, allocations: 4.807 MB / 0.5298 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5025, allocations: 11.89 kB / 0.5298 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/0.5093, allocations: 1.941 MB / 0.5317 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/0.5152, allocations: 2.507 MB / 0.5342 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.5154, allocations: 254.5 kB / 0.5344 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008868/0.5163, allocations: 411.4 kB / 0.5348 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/0.5351, allocations: 10.17 MB / 0.5447 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.5353, allocations: 47.59 kB / 0.5448 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000448/0.5357, allocations: 159.8 kB / 0.5449 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002859/0.5386, allocations: 1.881 MB / 0.5468 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.5573, allocations: 8.6 MB / 0.5552 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.061/0.6184, allocations: 39.58 MB / 0.5938 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009615/0.6281, allocations: 3.847 MB / 0.5976 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.6304, allocations: 1.621 MB / 0.5991 GB, free: 5.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.643, allocations: 7.907 MB / 0.6069 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.6431, allocations: 55.55 kB / 0.6069 GB, free: 12.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 4.369e-06/0.6431, allocations: 0 / 0.6069 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=169): time 0.03653/0.6796, allocations: 14.57 MB / 0.6212 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00141/0.6811, allocations: 1.683 MB / 0.6228 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005499/0.6866, allocations: 3.921 MB / 0.6266 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003363/0.6869, allocations: 53.64 kB / 0.6267 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002392/0.6893, allocations: 3.163 MB / 0.6298 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008652/0.6902, allocations: 0.6793 MB / 0.6304 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001551/0.6918, allocations: 1.253 MB / 0.6317 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6919, allocations: 305.1 kB / 0.6319 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/0.6949, allocations: 2.089 MB / 0.634 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.374/1.069, allocations: 5.909 MB / 0.6398 GB, free: 122 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/1.082, allocations: 8.629 MB / 0.6482 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003423/1.082, allocations: 38.94 kB / 0.6482 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.0317/1.114, allocations: 9.489 MB / 0.6575 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/1.114, allocations: 63.19 kB / 0.6575 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01182/1.126, allocations: 3.615 MB / 0.6611 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/1.137, allocations: 2.272 MB / 0.6633 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005511/1.142, allocations: 1.415 MB / 0.6647 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.152, allocations: 6.918 MB / 0.6714 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006081/1.159, allocations: 408.8 kB / 0.6718 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/1.16, allocations: 386.7 kB / 0.6722 GB, free: 106.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.004123/1.164, allocations: 2.092 MB / 0.6742 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007649/1.165, allocations: 341 kB / 0.6746 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005322/1.17, allocations: 3.069 MB / 0.6776 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004396/1.175, allocations: 2.588 MB / 0.6801 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.175, allocations: 3.938 kB / 0.6801 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/1.175, allocations: 11.84 kB / 0.6801 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/1.191, allocations: 9.66 MB / 0.6895 GB, free: 94.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/1.191, allocations: 4 kB / 0.6895 GB, free: 94.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.192, allocations: 279.5 kB / 0.6898 GB, free: 93.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/1.195, allocations: 1.071 MB / 0.6908 GB, free: 92.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/1.195, allocations: 47.95 kB / 0.6909 GB, free: 92.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/1.2, allocations: 5.117 MB / 0.6959 GB, free: 87.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008359/1.201, allocations: 1.546 MB / 0.6974 GB, free: 85.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007872/1.209, allocations: 5.5 MB / 0.7028 GB, free: 80.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.21, allocations: 400.5 kB / 0.7032 GB, free: 79.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/1.211, allocations: 39.94 kB / 0.7032 GB, free: 79.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.212, allocations: 134.6 kB / 0.7033 GB, free: 79.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/1.212, allocations: 116.7 kB / 0.7034 GB, free: 79.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.212, allocations: 51.98 kB / 0.7035 GB, free: 79.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003381/1.216, allocations: 2.427 MB / 0.7058 GB, free: 77.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.216, allocations: 4 kB / 0.7059 GB, free: 77.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006217/1.222, allocations: 1.056 MB / 0.7069 GB, free: 76 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.000497/1.223, allocations: 169.8 kB / 0.707 GB, free: 75.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009242/1.232, allocations: 5.719 MB / 0.7126 GB, free: 70.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.232, allocations: 0 / 0.7126 GB, free: 70.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003523/1.235, allocations: 2.134 MB / 0.7147 GB, free: 67.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/1.238, allocations: 461.2 kB / 0.7152 GB, free: 67.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.255, allocations: 9.567 MB / 0.7245 GB, free: 57.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003114/1.258, allocations: 3.26 MB / 0.7277 GB, free: 54.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003979/1.262, allocations: 1.914 MB / 0.7295 GB, free: 52.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/1.263, allocations: 243.3 kB / 0.7298 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/1.263, allocations: 4 kB / 0.7298 GB, free: 52.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.06217/1.325, allocations: 35.39 MB / 0.7643 GB, free: 17.08 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)