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.01033/0.01033, allocations: 174.9 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.728/1.728, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001717/0.001717, allocations: 116.6 kB / 255.6 MB, free: 10.15 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.2295/0.2295, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 14.16 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.6, allocations: 96.03 MB / 0.544 GB, free: 27.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.6004, allocations: 82.12 kB / 0.5441 GB, free: 27.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2055/0.8059, allocations: 86.54 MB / 0.6286 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.806, allocations: 0 / 0.6286 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002171/0.8062, allocations: 68 kB / 0.6286 GB, free: 0.8008 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01516/0.8214, allocations: 3.853 MB / 0.6324 GB, free: 13.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.8215, allocations: 19.95 kB / 0.6324 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.8376, allocations: 3.648 MB / 0.636 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.8525, allocations: 4.955 MB / 0.6408 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005241/0.8531, allocations: 291.6 kB / 0.6411 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003454/0.8566, allocations: 391.7 kB / 0.6415 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02749/0.8841, allocations: 10.34 MB / 0.6516 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.8843, allocations: 35.7 kB / 0.6516 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006856/0.885, allocations: 175.9 kB / 0.6518 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001522/0.8865, allocations: 1.195 MB / 0.6529 GB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.9067, allocations: 10.14 MB / 0.6629 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06429/0.971, allocations: 36.47 MB / 0.6985 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008688/0.9797, allocations: 4.399 MB / 0.7028 GB, free: 3.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.9812, allocations: 1.319 MB / 0.7041 GB, free: 1.871 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.9813, allocations: 52.56 kB / 0.7041 GB, free: 1.812 MB / 474.7 MB Notification: Performance of pre-optimization done (n=245): time 5.46e-06/0.9813, allocations: 0 / 0.7041 GB, free: 1.812 MB / 474.7 MB Notification: Performance of matching and sorting (n=261): time 0.3279/1.309, allocations: 17.3 MB / 0.721 GB, free: 109.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001093/1.31, allocations: 1.545 MB / 0.7225 GB, free: 108.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/1.314, allocations: 2.465 MB / 0.7249 GB, free: 108.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000399/1.315, allocations: 58.8 kB / 0.725 GB, free: 108.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/1.316, allocations: 2.729 MB / 0.7276 GB, free: 106.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00097/1.317, allocations: 0.9608 MB / 0.7286 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/1.318, allocations: 107.5 kB / 0.7287 GB, free: 106.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002903/1.318, allocations: 0.5501 MB / 0.7292 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/1.321, allocations: 2.43 MB / 0.7316 GB, free: 105.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004422/1.325, allocations: 5.443 MB / 0.7369 GB, free: 102 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004825/1.33, allocations: 3.64 MB / 0.7405 GB, free: 102 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.176e-05/1.33, allocations: 32.88 kB / 0.7405 GB, free: 102 MB / 474.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01924/1.35, allocations: 9.461 MB / 0.7497 GB, free: 100.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/1.35, allocations: 49.78 kB / 0.7498 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01141/1.361, allocations: 4.596 MB / 0.7543 GB, free: 99.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009356/1.371, allocations: 2.058 MB / 0.7563 GB, free: 99.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005446/1.376, allocations: 1.29 MB / 0.7575 GB, free: 99.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007193/1.383, allocations: 5.147 MB / 0.7626 GB, free: 95.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005887/1.389, allocations: 408.3 kB / 0.7629 GB, free: 95.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/1.391, allocations: 325.8 kB / 0.7633 GB, free: 95.79 MB / 474.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 () * Number of clocked 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): 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.00708/1.398, allocations: 2.097 MB / 0.7653 GB, free: 94.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/1.4, allocations: 274.8 kB / 0.7656 GB, free: 94.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.413, allocations: 5.39 MB / 0.7708 GB, free: 92.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008071/1.421, allocations: 4.639 MB / 0.7754 GB, free: 91.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/1.421, allocations: 3.688 kB / 0.7754 GB, free: 91.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.801e-05/1.421, allocations: 9.844 kB / 0.7754 GB, free: 91.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0321/1.453, allocations: 14.64 MB / 0.7897 GB, free: 80.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/1.453, allocations: 8 kB / 0.7897 GB, free: 80.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.455, allocations: 431.9 kB / 0.7901 GB, free: 79.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/1.459, allocations: 1.189 MB / 0.7912 GB, free: 79.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004453/1.459, allocations: 59.59 kB / 0.7913 GB, free: 79.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/1.464, allocations: 4.535 MB / 0.7957 GB, free: 74.94 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007669/1.464, allocations: 1.481 MB / 0.7972 GB, free: 73.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.476, allocations: 8.844 MB / 0.8058 GB, free: 65.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.478, allocations: 340.6 kB / 0.8061 GB, free: 65.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005248/1.478, allocations: 55.42 kB / 0.8062 GB, free: 64.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.48, allocations: 192.6 kB / 0.8064 GB, free: 64.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.48, allocations: 172.5 kB / 0.8065 GB, free: 64.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.48, allocations: 79.55 kB / 0.8066 GB, free: 64.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00244/1.483, allocations: 1.683 MB / 0.8083 GB, free: 63.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.483, allocations: 0 / 0.8083 GB, free: 63.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006156/1.489, allocations: 1.068 MB / 0.8093 GB, free: 62.23 MB / 474.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 () * Number of clocked 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.0006027/1.489, allocations: 209.3 kB / 0.8095 GB, free: 62.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0103/1.5, allocations: 6.467 MB / 0.8158 GB, free: 56.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.5, allocations: 4 kB / 0.8158 GB, free: 56.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004523/1.504, allocations: 2.889 MB / 0.8186 GB, free: 53.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.507, allocations: 351 kB / 0.819 GB, free: 53.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/1.526, allocations: 12.55 MB / 0.8312 GB, free: 42.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003578/1.529, allocations: 3.39 MB / 0.8345 GB, free: 39.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004687/1.534, allocations: 2.104 MB / 0.8366 GB, free: 38.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/1.535, allocations: 225.4 kB / 0.8368 GB, free: 37.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/1.535, allocations: 4 kB / 0.8368 GB, free: 37.92 MB / 474.7 MB Notification: Performance of Templates: time 0.05936/1.594, allocations: 34.01 MB / 0.87 GB, free: 4.516 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)