Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001539/0.00154, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.75/1.75, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001673/0.001673, allocations: 104.7 kB / 247.4 MB, free: 15.96 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.2005/0.2005, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.497e-05, allocations: 0 / 393.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.7705, allocations: 95.27 MB / 0.5307 GB, free: 31.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.7708, allocations: 73.95 kB / 0.5308 GB, free: 31.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2118/0.9826, allocations: 85.12 MB / 0.6139 GB, free: 172 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.9827, allocations: 0 / 0.6139 GB, free: 172 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001679/0.9829, allocations: 68 kB / 0.614 GB, free: 104 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01243/0.9953, allocations: 3.692 MB / 0.6176 GB, free: 12.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.9954, allocations: 12.03 kB / 0.6176 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/1.012, allocations: 3.652 MB / 0.6212 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/1.026, allocations: 4.935 MB / 0.626 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004504/1.026, allocations: 124 kB / 0.6261 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004047/1.03, allocations: 224 kB / 0.6263 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01577/1.046, allocations: 7.271 MB / 0.6334 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02507/1.071, allocations: 9.576 MB / 0.6428 GB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002175/1.071, allocations: 31.75 kB / 0.6428 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001989/1.073, allocations: 16 kB / 0.6428 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002271/1.076, allocations: 1.191 MB / 0.644 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05735/1.133, allocations: 34 MB / 0.6772 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005433/1.138, allocations: 4.049 MB / 0.6812 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/1.142, allocations: 2.119 MB / 0.6832 GB, free: 7.719 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.143, allocations: 1.327 MB / 0.6845 GB, free: 6.168 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/1.143, allocations: 52.56 kB / 0.6846 GB, free: 6.109 MB / 458.7 MB Notification: Performance of pre-optimization done (n=247): time 5.52e-06/1.143, allocations: 0 / 0.6846 GB, free: 6.109 MB / 458.7 MB Notification: Performance of matching and sorting (n=264): time 0.03314/1.176, allocations: 14.84 MB / 0.6991 GB, free: 7.156 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/1.176, allocations: 73.41 kB / 0.6991 GB, free: 7.074 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005235/1.182, allocations: 2.363 MB / 0.7014 GB, free: 4.699 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006072/1.182, allocations: 25.7 kB / 0.7015 GB, free: 4.668 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002678/1.185, allocations: 2.817 MB / 0.7042 GB, free: 1.809 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.186, allocations: 0.944 MB / 0.7051 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007283/1.187, allocations: 4 kB / 0.7051 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007179/1.188, allocations: 0.5623 MB / 0.7057 GB, free: 284 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2957/1.484, allocations: 2.356 MB / 0.708 GB, free: 120.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007638/1.491, allocations: 5.608 MB / 0.7135 GB, free: 116.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007369/1.499, allocations: 3.683 MB / 0.7171 GB, free: 116.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002118/1.499, allocations: 32.62 kB / 0.7171 GB, free: 116.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02298/1.522, allocations: 9.01 MB / 0.7259 GB, free: 116 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/1.522, allocations: 53 kB / 0.7259 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01174/1.534, allocations: 4.488 MB / 0.7303 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.544, allocations: 2.055 MB / 0.7323 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/1.549, allocations: 1.375 MB / 0.7337 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/1.555, allocations: 4.803 MB / 0.7384 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005125/1.56, allocations: 298.2 kB / 0.7386 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.562, allocations: 346.6 kB / 0.739 GB, free: 113.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (736): * Single equations (assignments): 724 * Array equations: 8 * 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.00108/1.563, allocations: 392.8 kB / 0.7394 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/1.564, allocations: 285.7 kB / 0.7396 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008979/1.572, allocations: 5.243 MB / 0.7447 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007585/1.58, allocations: 4.517 MB / 0.7492 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/1.58, allocations: 3.906 kB / 0.7492 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.622e-05/1.58, allocations: 11.06 kB / 0.7492 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/1.605, allocations: 13.55 MB / 0.7624 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/1.605, allocations: 11.62 kB / 0.7624 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.607, allocations: 432.8 kB / 0.7628 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/1.611, allocations: 1.177 MB / 0.764 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003574/1.611, allocations: 34.3 kB / 0.764 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/1.615, allocations: 4.342 MB / 0.7683 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006565/1.616, allocations: 1.408 MB / 0.7696 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/1.627, allocations: 8.756 MB / 0.7782 GB, free: 95.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008068/1.628, allocations: 340 kB / 0.7785 GB, free: 94.74 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003806/1.628, allocations: 19.28 kB / 0.7785 GB, free: 94.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.63, allocations: 160.5 kB / 0.7787 GB, free: 94.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/1.63, allocations: 175.8 kB / 0.7788 GB, free: 94.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.63, allocations: 82.75 kB / 0.7789 GB, free: 94.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002172/1.632, allocations: 1.556 MB / 0.7804 GB, free: 93.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.632, allocations: 0 / 0.7804 GB, free: 93.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00451/1.637, allocations: 0.9687 MB / 0.7814 GB, free: 92.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 195 * Array equations: 6 * 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.0004582/1.637, allocations: 162.8 kB / 0.7815 GB, free: 92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009103/1.646, allocations: 6.262 MB / 0.7877 GB, free: 86.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.646, allocations: 0 / 0.7877 GB, free: 86.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004112/1.651, allocations: 2.824 MB / 0.7904 GB, free: 83.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/1.652, allocations: 242.1 kB / 0.7906 GB, free: 83.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/1.667, allocations: 9.126 MB / 0.7996 GB, free: 75.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/1.67, allocations: 3.389 MB / 0.8029 GB, free: 72.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004813/1.675, allocations: 2.222 MB / 0.805 GB, free: 71.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007509/1.676, allocations: 222.2 kB / 0.8052 GB, free: 71.31 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/1.676, allocations: 0 / 0.8052 GB, free: 71.31 MB / 474.7 MB Notification: Performance of Templates: time 0.05192/1.728, allocations: 30.85 MB / 0.8354 GB, free: 42.83 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)