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.001002/0.001001, allocations: 92 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.0008764/0.0008765, allocations: 172.7 kB / 15.95 MB, free: 208 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.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3004/0.3004, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0005724/0.0005726, allocations: 23.98 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 57.52 MB / 434 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2238/0.3443, allocations: 42.01 MB / 476 MB, free: 31.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02009/0.3644, allocations: 9.472 MB / 485.4 MB, free: 25.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008342/0.3728, allocations: 199.2 kB / 485.6 MB, free: 25.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005868/0.3787, allocations: 2.151 MB / 487.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01499/0.3938, allocations: 6.486 MB / 494.3 MB, free: 21.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.3965, allocations: 0.6107 MB / 494.9 MB, free: 21.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005445/0.402, allocations: 4.83 MB / 499.7 MB, free: 19.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006798/0.4088, allocations: 4.051 MB / 0.492 GB, free: 18.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.4118, allocations: 1.261 MB / 0.4932 GB, free: 17.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/0.4155, allocations: 1.885 MB / 0.495 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.4167, allocations: 141.8 kB / 0.4952 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.4207, allocations: 0.9558 MB / 0.4961 GB, free: 16.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003398/0.4241, allocations: 1.734 MB / 0.4978 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.4265, allocations: 0.8444 MB / 0.4986 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007535/0.4341, allocations: 5.452 MB / 0.5039 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4341, allocations: 4 kB / 0.5039 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4341, allocations: 0 / 0.5039 GB, free: 13.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003068/0.4344, allocations: 0 / 0.5039 GB, free: 13.43 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.0106/0.445, allocations: 3.994 MB / 0.5078 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4451, allocations: 9.375 kB / 0.5079 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00802/0.4531, allocations: 1.995 MB / 0.5098 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/0.4601, allocations: 2.405 MB / 0.5122 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/0.4605, allocations: 246 kB / 0.5124 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.4626, allocations: 412.2 kB / 0.5128 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/0.4854, allocations: 10.15 MB / 0.5227 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/0.4857, allocations: 43.69 kB / 0.5227 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001554/0.4872, allocations: 151.9 kB / 0.5229 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00299/0.4902, allocations: 1.881 MB / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/0.51, allocations: 8.572 MB / 0.5331 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05701/0.5671, allocations: 39.75 MB / 0.5719 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009461/0.5766, allocations: 3.842 MB / 0.5757 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002797/0.5795, allocations: 1.604 MB / 0.5772 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/0.5922, allocations: 7.912 MB / 0.585 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.5923, allocations: 55.48 kB / 0.585 GB, free: 15.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.821e-06/0.5924, allocations: 0 / 0.585 GB, free: 15.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.04076/0.6331, allocations: 14.55 MB / 0.5992 GB, free: 440 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001665/0.6348, allocations: 1.585 MB / 0.6008 GB, free: 14.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008461/0.6433, allocations: 3.909 MB / 0.6046 GB, free: 10.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005045/0.6439, allocations: 53.69 kB / 0.6046 GB, free: 10.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002743/0.6466, allocations: 3.155 MB / 0.6077 GB, free: 7.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.6477, allocations: 0.679 MB / 0.6084 GB, free: 6.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007485/0.6485, allocations: 128 kB / 0.6085 GB, free: 6.707 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0006056/0.6491, allocations: 0.5664 MB / 0.6091 GB, free: 6.133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/0.6532, allocations: 2.066 MB / 0.6111 GB, free: 4.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006847/0.6601, allocations: 5.885 MB / 0.6168 GB, free: 12.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005958/0.6661, allocations: 3.413 MB / 0.6202 GB, free: 8.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/0.6663, allocations: 40 kB / 0.6202 GB, free: 8.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.2433/0.9096, allocations: 9.427 MB / 0.6294 GB, free: 138 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.9097, allocations: 71.56 kB / 0.6295 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008953/0.9187, allocations: 3.594 MB / 0.633 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008288/0.927, allocations: 2.287 MB / 0.6352 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/0.931, allocations: 1.422 MB / 0.6366 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007549/0.9386, allocations: 6.377 MB / 0.6428 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005312/0.944, allocations: 403.7 kB / 0.6432 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/0.9451, allocations: 381.3 kB / 0.6436 GB, free: 135.4 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 (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.004741/0.9498, allocations: 2.103 MB / 0.6456 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007283/0.9506, allocations: 340.5 kB / 0.646 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005244/0.9558, allocations: 3.076 MB / 0.649 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004018/0.9599, allocations: 2.578 MB / 0.6515 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.9599, allocations: 7.047 kB / 0.6515 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.9599, allocations: 10.06 kB / 0.6515 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.9766, allocations: 9.659 MB / 0.6609 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/0.9767, allocations: 8.422 kB / 0.6609 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.978, allocations: 279 kB / 0.6612 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/0.9815, allocations: 1.06 MB / 0.6622 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/0.9819, allocations: 48.02 kB / 0.6623 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/0.9868, allocations: 4.81 MB / 0.667 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007211/0.9875, allocations: 1.459 MB / 0.6684 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00888/0.9964, allocations: 5.492 MB / 0.6738 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.9976, allocations: 403.8 kB / 0.6741 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004878/0.9981, allocations: 37.5 kB / 0.6742 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.9994, allocations: 134.2 kB / 0.6743 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.9997, allocations: 120 kB / 0.6744 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.9998, allocations: 56.44 kB / 0.6745 GB, free: 123 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003944/1.004, allocations: 2.406 MB / 0.6768 GB, free: 122.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.004, allocations: 0 / 0.6768 GB, free: 122.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006541/1.01, allocations: 1.056 MB / 0.6779 GB, free: 122.1 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.0004903/1.011, allocations: 166.1 kB / 0.678 GB, free: 122 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008235/1.019, allocations: 5.662 MB / 0.6835 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.019, allocations: 0 / 0.6835 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003295/1.022, allocations: 2.119 MB / 0.6856 GB, free: 119.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.025, allocations: 440.8 kB / 0.686 GB, free: 119 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.041, allocations: 11.38 MB / 0.6971 GB, free: 111.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/1.044, allocations: 3.254 MB / 0.7003 GB, free: 109.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003975/1.048, allocations: 1.907 MB / 0.7022 GB, free: 107.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/1.049, allocations: 251.4 kB / 0.7024 GB, free: 107.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/1.049, allocations: 0 / 0.7024 GB, free: 107.4 MB / 494.1 MB Notification: Performance of Templates: time 0.055/1.104, allocations: 36.28 MB / 0.7379 GB, free: 71.18 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: