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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.007602/0.007601, allocations: 174.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.579/1.579, allocations: 194.5 MB / 210.3 MB, free: 7.547 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001924/0.001924, allocations: 124.5 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1889/0.1889, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 15.64 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.4952, allocations: 99.55 MB / 0.5474 GB, free: 26.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4955, allocations: 78.95 kB / 0.5475 GB, free: 26.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1885/0.6841, allocations: 82.06 MB / 0.6276 GB, free: 1.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6841, allocations: 0 / 0.6276 GB, free: 1.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002066/0.6843, allocations: 83.98 kB / 0.6277 GB, free: 1.367 MB / 394.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.01413/0.6985, allocations: 4.171 MB / 0.6318 GB, free: 13.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.6986, allocations: 16.03 kB / 0.6318 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.7105, allocations: 2.326 MB / 0.6341 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/0.7269, allocations: 5.224 MB / 0.6392 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000446/0.7274, allocations: 320.3 kB / 0.6395 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/0.7297, allocations: 423.8 kB / 0.6399 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/0.7516, allocations: 10.39 MB / 0.65 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/0.7518, allocations: 67.41 kB / 0.6501 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007225/0.7525, allocations: 203.9 kB / 0.6503 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001429/0.754, allocations: 0.9945 MB / 0.6513 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.7713, allocations: 8.445 MB / 0.6595 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05606/0.8275, allocations: 48.31 MB / 0.7067 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008428/0.8359, allocations: 3.583 MB / 0.7102 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.8473, allocations: 6.989 MB / 0.717 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.8474, allocations: 47.5 kB / 0.7171 GB, free: 3.375 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 5.5e-06/0.8474, allocations: 0 / 0.7171 GB, free: 3.375 MB / 490.7 MB Notification: Performance of matching and sorting (n=155): time 0.2635/1.111, allocations: 14.05 MB / 0.7308 GB, free: 121.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001203/1.112, allocations: 1.602 MB / 0.7324 GB, free: 119.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008876/1.121, allocations: 3.479 MB / 0.7358 GB, free: 119.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005718/1.122, allocations: 48.89 kB / 0.7358 GB, free: 119.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002254/1.124, allocations: 3.139 MB / 0.7389 GB, free: 118 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009919/1.125, allocations: 0.6313 MB / 0.7395 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/1.125, allocations: 116.8 kB / 0.7396 GB, free: 117.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004724/1.126, allocations: 0.5582 MB / 0.7401 GB, free: 117.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/1.129, allocations: 2.005 MB / 0.7421 GB, free: 117.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/1.133, allocations: 5.781 MB / 0.7477 GB, free: 112.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/1.137, allocations: 3.329 MB / 0.751 GB, free: 112.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-05/1.137, allocations: 39.19 kB / 0.751 GB, free: 112.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01458/1.152, allocations: 8.326 MB / 0.7592 GB, free: 111.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/1.152, allocations: 64.84 kB / 0.7592 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004563/1.156, allocations: 2.538 MB / 0.7617 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/1.159, allocations: 1.135 MB / 0.7628 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/1.164, allocations: 1.387 MB / 0.7642 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/1.168, allocations: 4.743 MB / 0.7688 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/1.173, allocations: 387.7 kB / 0.7692 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.174, allocations: 375.5 kB / 0.7695 GB, free: 108.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 738 * 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.003658/1.178, allocations: 2.07 MB / 0.7715 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007216/1.178, allocations: 335.5 kB / 0.7719 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005313/1.184, allocations: 2.955 MB / 0.7748 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00408/1.188, allocations: 2.464 MB / 0.7772 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/1.188, allocations: 3.406 kB / 0.7772 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/1.188, allocations: 7.219 kB / 0.7772 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/1.204, allocations: 9.224 MB / 0.7862 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/1.204, allocations: 2.812 kB / 0.7862 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.205, allocations: 252.5 kB / 0.7864 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002774/1.208, allocations: 1.015 MB / 0.7874 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/1.208, allocations: 37.23 kB / 0.7874 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004563/1.213, allocations: 4.922 MB / 0.7923 GB, free: 98.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007164/1.214, allocations: 1.469 MB / 0.7937 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007363/1.221, allocations: 5.611 MB / 0.7992 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.222, allocations: 397.2 kB / 0.7995 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/1.223, allocations: 34.97 kB / 0.7996 GB, free: 94.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.224, allocations: 126.9 kB / 0.7997 GB, free: 94.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/1.225, allocations: 110.4 kB / 0.7998 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.225, allocations: 53.78 kB / 0.7999 GB, free: 94.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003919/1.229, allocations: 2.4 MB / 0.8022 GB, free: 93.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.229, allocations: 0 / 0.8022 GB, free: 93.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005946/1.235, allocations: 1.013 MB / 0.8032 GB, free: 92.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (124): * Single equations (assignments): 117 * 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.0004577/1.235, allocations: 170.8 kB / 0.8034 GB, free: 92.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008387/1.243, allocations: 5.419 MB / 0.8086 GB, free: 88.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.244, allocations: 0 / 0.8086 GB, free: 88.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003622/1.247, allocations: 2.12 MB / 0.8107 GB, free: 86.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.25, allocations: 410.6 kB / 0.8111 GB, free: 85.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.267, allocations: 11.01 MB / 0.8219 GB, free: 75.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003044/1.27, allocations: 3.292 MB / 0.8251 GB, free: 73.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004408/1.275, allocations: 1.885 MB / 0.8269 GB, free: 72.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/1.275, allocations: 241.5 kB / 0.8271 GB, free: 71.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/1.275, allocations: 0 / 0.8271 GB, free: 71.9 MB / 490.7 MB Notification: Performance of Templates: time 0.05712/1.332, allocations: 33.23 MB / 0.8596 GB, free: 45.05 MB / 490.7 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)