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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001646/0.001646, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.491/1.491, allocations: 170.6 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001675/0.001675, allocations: 107.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2375/0.2375, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.683e-05, allocations: 2.031 kB / 350 MB, free: 36.97 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5032, allocations: 92.07 MB / 490.8 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5035, allocations: 74.77 kB / 490.9 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1909/0.6945, allocations: 80.11 MB / 0.5576 GB, free: 292 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6945, allocations: 0 / 0.5576 GB, free: 292 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003443/0.6949, allocations: 84 kB / 0.5577 GB, free: 208 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01518/0.7101, allocations: 3.909 MB / 0.5615 GB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.7102, allocations: 8.031 kB / 0.5615 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.7219, allocations: 2.319 MB / 0.5638 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.7369, allocations: 5.183 MB / 0.5688 GB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.7373, allocations: 136 kB / 0.569 GB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/0.7393, allocations: 244 kB / 0.5692 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01303/0.7524, allocations: 6.002 MB / 0.575 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/0.7771, allocations: 9.292 MB / 0.5841 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003965/0.7776, allocations: 71.33 kB / 0.5842 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002217/0.7798, allocations: 32 kB / 0.5842 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/0.7818, allocations: 0.9946 MB / 0.5852 GB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3167/1.099, allocations: 47.47 MB / 0.6315 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/1.102, allocations: 2.508 MB / 0.634 GB, free: 67.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/1.104, allocations: 1.426 MB / 0.6354 GB, free: 67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/1.105, allocations: 354.6 kB / 0.6357 GB, free: 66.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.105, allocations: 56.12 kB / 0.6358 GB, free: 66.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=145): time 5.38e-06/1.105, allocations: 0 / 0.6358 GB, free: 66.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=163): time 0.02767/1.133, allocations: 12.95 MB / 0.6484 GB, free: 63.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.133, allocations: 152 kB / 0.6486 GB, free: 63.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/1.137, allocations: 3.067 MB / 0.6516 GB, free: 63.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002508/1.137, allocations: 29.36 kB / 0.6516 GB, free: 63.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.139, allocations: 3.188 MB / 0.6547 GB, free: 61.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000598/1.139, allocations: 0.6398 MB / 0.6553 GB, free: 61.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/1.14, allocations: 3.375 kB / 0.6553 GB, free: 61.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003014/1.14, allocations: 0.5689 MB / 0.6559 GB, free: 61.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/1.142, allocations: 1.924 MB / 0.6578 GB, free: 61.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00418/1.146, allocations: 5.83 MB / 0.6635 GB, free: 55.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00379/1.15, allocations: 3.327 MB / 0.6667 GB, free: 55.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.025e-05/1.15, allocations: 43.09 kB / 0.6668 GB, free: 55.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.0114/1.162, allocations: 7.565 MB / 0.6741 GB, free: 54.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/1.162, allocations: 71.59 kB / 0.6742 GB, free: 54.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003901/1.166, allocations: 2.424 MB / 0.6766 GB, free: 53.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/1.169, allocations: 1.04 MB / 0.6776 GB, free: 53.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0054/1.174, allocations: 1.466 MB / 0.679 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/1.178, allocations: 4.15 MB / 0.6831 GB, free: 50.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/1.183, allocations: 273.3 kB / 0.6833 GB, free: 50.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.184, allocations: 396.6 kB / 0.6837 GB, free: 50.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (785): * Single equations (assignments): 776 * 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 {1} * 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.001013/1.185, allocations: 460 kB / 0.6842 GB, free: 50.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000657/1.186, allocations: 322.2 kB / 0.6845 GB, free: 49.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/1.191, allocations: 2.873 MB / 0.6873 GB, free: 48.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00388/1.195, allocations: 2.422 MB / 0.6896 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.195, allocations: 4.906 kB / 0.6896 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.195, allocations: 9.422 kB / 0.6896 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/1.209, allocations: 8.794 MB / 0.6982 GB, free: 44.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.209, allocations: 6.125 kB / 0.6982 GB, free: 44.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/1.21, allocations: 263.9 kB / 0.6985 GB, free: 44.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/1.213, allocations: 0.9965 MB / 0.6995 GB, free: 44.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.213, allocations: 18.5 kB / 0.6995 GB, free: 44.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/1.218, allocations: 4.721 MB / 0.7041 GB, free: 41.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000646/1.218, allocations: 1.393 MB / 0.7055 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007129/1.225, allocations: 5.61 MB / 0.7109 GB, free: 36.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.227, allocations: 379.2 kB / 0.7113 GB, free: 35.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/1.227, allocations: 11.14 kB / 0.7113 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.228, allocations: 109.6 kB / 0.7114 GB, free: 35.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/1.229, allocations: 108.1 kB / 0.7115 GB, free: 35.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.229, allocations: 56.09 kB / 0.7116 GB, free: 35.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002903/1.232, allocations: 2.027 MB / 0.7135 GB, free: 33.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.232, allocations: 4 kB / 0.7135 GB, free: 33.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004915/1.237, allocations: 0.8912 MB / 0.7144 GB, free: 32.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 125 * 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.0004232/1.237, allocations: 147.7 kB / 0.7146 GB, free: 32.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007577/1.245, allocations: 5.086 MB / 0.7195 GB, free: 28.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.245, allocations: 0 / 0.7195 GB, free: 28.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003333/1.248, allocations: 2.095 MB / 0.7216 GB, free: 26.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/1.25, allocations: 351.1 kB / 0.7219 GB, free: 26.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.263, allocations: 7.774 MB / 0.7295 GB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/1.266, allocations: 3.3 MB / 0.7327 GB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004663/1.271, allocations: 1.991 MB / 0.7347 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/1.272, allocations: 237.4 kB / 0.7349 GB, free: 15.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/1.272, allocations: 0 / 0.7349 GB, free: 15.15 MB / 426.7 MB Notification: Performance of Templates: time 0.05537/1.327, allocations: 29.42 MB / 0.7636 GB, free: 6.266 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.makefile (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)