Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00184/0.00184, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.5/1.5, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001679/0.001679, allocations: 114.7 kB / 223.2 MB, free: 4.047 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.1882/0.1882, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.648e-05/2.65e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09538, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.453, allocations: 89.2 MB / 494.9 MB, free: 18.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4533, allocations: 77.72 kB / 495 MB, free: 18.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2054/0.6587, allocations: 86.41 MB / 0.5678 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6587, allocations: 0 / 0.5678 GB, free: 3.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.6589, allocations: 79.92 kB / 0.5678 GB, free: 3.723 MB / 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.009675/0.6686, allocations: 3.69 MB / 0.5714 GB, free: 15.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6686, allocations: 12.03 kB / 0.5715 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.6847, allocations: 3.637 MB / 0.575 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.6976, allocations: 4.92 MB / 0.5798 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/0.698, allocations: 295.6 kB / 0.5801 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.7004, allocations: 395.8 kB / 0.5805 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.7225, allocations: 10.25 MB / 0.5905 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.7226, allocations: 43.69 kB / 0.5905 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006455/0.7233, allocations: 175.8 kB / 0.5907 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/0.725, allocations: 1.191 MB / 0.5919 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.7443, allocations: 10.01 MB / 0.6016 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2928/1.037, allocations: 36.45 MB / 0.6372 GB, free: 74.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007593/1.045, allocations: 4.366 MB / 0.6415 GB, free: 73.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/1.048, allocations: 2.162 MB / 0.6436 GB, free: 73.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.049, allocations: 1.324 MB / 0.6449 GB, free: 72.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.049, allocations: 53.67 kB / 0.6449 GB, free: 72.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 4.859e-06/1.049, allocations: 0 / 0.6449 GB, free: 72.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=261): time 0.03079/1.08, allocations: 14.3 MB / 0.6589 GB, free: 70.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009712/1.081, allocations: 1.531 MB / 0.6604 GB, free: 69.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/1.085, allocations: 2.439 MB / 0.6628 GB, free: 69.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004129/1.085, allocations: 53.83 kB / 0.6628 GB, free: 69.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.086, allocations: 2.734 MB / 0.6655 GB, free: 67.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.087, allocations: 0.9623 MB / 0.6664 GB, free: 67.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/1.088, allocations: 108.3 kB / 0.6665 GB, free: 67.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002574/1.088, allocations: 0.5444 MB / 0.6671 GB, free: 66.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002674/1.091, allocations: 2.37 MB / 0.6694 GB, free: 66.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/1.095, allocations: 5.381 MB / 0.6746 GB, free: 63.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/1.099, allocations: 3.604 MB / 0.6782 GB, free: 62.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-05/1.099, allocations: 29.72 kB / 0.6782 GB, free: 62.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01336/1.112, allocations: 8.686 MB / 0.6867 GB, free: 59.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/1.113, allocations: 48.09 kB / 0.6867 GB, free: 59.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007574/1.12, allocations: 3.857 MB / 0.6905 GB, free: 58.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004344/1.124, allocations: 1.251 MB / 0.6917 GB, free: 58.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004175/1.129, allocations: 1.289 MB / 0.693 GB, free: 58.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/1.132, allocations: 4.108 MB / 0.697 GB, free: 55.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004216/1.136, allocations: 396.5 kB / 0.6974 GB, free: 55.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008752/1.137, allocations: 324.7 kB / 0.6977 GB, free: 55.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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 (688): * Single equations (assignments): 676 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.138, allocations: 0.5191 MB / 0.6982 GB, free: 54.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/1.139, allocations: 274.6 kB / 0.6984 GB, free: 54.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009406/1.148, allocations: 5.337 MB / 0.7037 GB, free: 53.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007616/1.156, allocations: 4.598 MB / 0.7081 GB, free: 51.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.156, allocations: 0 / 0.7081 GB, free: 51.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/1.156, allocations: 14.3 kB / 0.7082 GB, free: 51.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02108/1.177, allocations: 14.6 MB / 0.7224 GB, free: 40.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.177, allocations: 13.08 kB / 0.7224 GB, free: 40.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.179, allocations: 424.9 kB / 0.7228 GB, free: 40.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003949/1.183, allocations: 1.191 MB / 0.724 GB, free: 39.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/1.183, allocations: 56.33 kB / 0.724 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/1.187, allocations: 4.454 MB / 0.7284 GB, free: 35.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006598/1.187, allocations: 1.465 MB / 0.7298 GB, free: 33.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/1.198, allocations: 8.773 MB / 0.7384 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/1.199, allocations: 339.6 kB / 0.7387 GB, free: 25.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/1.199, allocations: 61.36 kB / 0.7388 GB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.201, allocations: 190.2 kB / 0.739 GB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/1.201, allocations: 170.9 kB / 0.7391 GB, free: 25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.201, allocations: 79.64 kB / 0.7392 GB, free: 24.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001973/1.203, allocations: 1.659 MB / 0.7408 GB, free: 23.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.203, allocations: 1.312 kB / 0.7408 GB, free: 23.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003702/1.207, allocations: 1.059 MB / 0.7419 GB, free: 22.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (202): * Single equations (assignments): 192 * 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.0004075/1.207, allocations: 202.5 kB / 0.742 GB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007859/1.215, allocations: 6.352 MB / 0.7482 GB, free: 16.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.215, allocations: 2.625 kB / 0.7482 GB, free: 16.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/1.219, allocations: 2.866 MB / 0.751 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.221, allocations: 349.9 kB / 0.7514 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.234, allocations: 9.158 MB / 0.7603 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/1.237, allocations: 3.393 MB / 0.7636 GB, free: 2.621 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004465/1.242, allocations: 2.099 MB / 0.7657 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/1.242, allocations: 219.4 kB / 0.7659 GB, free: 312 kB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/1.242, allocations: 0 / 0.7659 GB, free: 312 kB / 426.7 MB Notification: Performance of Templates: time 0.2743/1.517, allocations: 32.27 MB / 0.7974 GB, free: 97.45 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)