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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004264/0.004264, allocations: 173 kB / 7.448 MB, free: 2.508 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.459/1.459, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001807/0.001807, allocations: 116.4 kB / 217.7 MB, free: 8.145 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.1976/0.1976, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.054e-05/1.057e-05, allocations: 2.125 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.5273, allocations: 88.47 MB / 486.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5276, allocations: 69.59 kB / 486.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2397/0.7673, allocations: 83.83 MB / 0.5572 GB, free: 10.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002411/0.7676, allocations: 72 kB / 0.5573 GB, free: 10.57 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.01915/0.7868, allocations: 3.629 MB / 0.5608 GB, free: 6.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.7869, allocations: 8.031 kB / 0.5608 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/0.8046, allocations: 2.939 MB / 0.5637 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.8232, allocations: 4.973 MB / 0.5686 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/0.8237, allocations: 124 kB / 0.5687 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00348/0.8272, allocations: 220 kB / 0.5689 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01823/0.8455, allocations: 7.446 MB / 0.5762 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03175/0.8772, allocations: 9.745 MB / 0.5857 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003917/0.8777, allocations: 31.69 kB / 0.5857 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003453/0.8812, allocations: 16 kB / 0.5857 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.8835, allocations: 1.269 MB / 0.587 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2669/1.151, allocations: 34.45 MB / 0.6206 GB, free: 127.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/1.154, allocations: 2.726 MB / 0.6233 GB, free: 127.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/1.156, allocations: 2.249 MB / 0.6255 GB, free: 127.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/1.17, allocations: 9.568 MB / 0.6348 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.17, allocations: 45.03 kB / 0.6348 GB, free: 124.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=214): time 6.242e-06/1.17, allocations: 0 / 0.6348 GB, free: 124.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=239): time 0.03133/1.201, allocations: 15.47 MB / 0.65 GB, free: 123.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.201, allocations: 71.5 kB / 0.65 GB, free: 123.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004397/1.206, allocations: 2.599 MB / 0.6526 GB, free: 122.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006444/1.206, allocations: 25.7 kB / 0.6526 GB, free: 122.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.209, allocations: 2.796 MB / 0.6553 GB, free: 121.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001718/1.21, allocations: 0.8752 MB / 0.6562 GB, free: 120.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/1.211, allocations: 0 / 0.6562 GB, free: 120.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000434/1.211, allocations: 0.5692 MB / 0.6567 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003501/1.215, allocations: 2.529 MB / 0.6592 GB, free: 120.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/1.219, allocations: 5.783 MB / 0.6648 GB, free: 115 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005745/1.225, allocations: 3.901 MB / 0.6686 GB, free: 113.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.329e-05/1.225, allocations: 33.84 kB / 0.6687 GB, free: 113.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.01707/1.242, allocations: 8.579 MB / 0.6771 GB, free: 111.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/1.242, allocations: 5.375 kB / 0.6771 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008329/1.251, allocations: 3.984 MB / 0.681 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004379/1.255, allocations: 1.099 MB / 0.682 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006143/1.261, allocations: 1.358 MB / 0.6834 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/1.266, allocations: 3.845 MB / 0.6871 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006041/1.272, allocations: 224.6 kB / 0.6873 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.274, allocations: 351.1 kB / 0.6877 GB, free: 107.4 MB / 426.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 (744): * Single equations (assignments): 732 * 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.00251/1.276, allocations: 397.9 kB / 0.688 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.278, allocations: 284.2 kB / 0.6883 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.291, allocations: 5.03 MB / 0.6932 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008639/1.3, allocations: 4.498 MB / 0.6976 GB, free: 98.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.452e-05/1.3, allocations: 4 kB / 0.6976 GB, free: 98.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/1.3, allocations: 14.45 kB / 0.6976 GB, free: 98.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02824/1.328, allocations: 11.85 MB / 0.7092 GB, free: 89.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.328, allocations: 4 kB / 0.7092 GB, free: 89.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/1.33, allocations: 347.7 kB / 0.7095 GB, free: 88.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0041/1.335, allocations: 1.024 MB / 0.7105 GB, free: 88.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004797/1.335, allocations: 23.22 kB / 0.7106 GB, free: 88.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004298/1.339, allocations: 4.222 MB / 0.7147 GB, free: 84.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007868/1.34, allocations: 1.377 MB / 0.716 GB, free: 82.78 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01277/1.353, allocations: 7.94 MB / 0.7238 GB, free: 75.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.354, allocations: 344.3 kB / 0.7241 GB, free: 75.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009586/1.355, allocations: 15.42 kB / 0.7241 GB, free: 75.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.357, allocations: 94.2 kB / 0.7242 GB, free: 75.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/1.357, allocations: 110.5 kB / 0.7243 GB, free: 75.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/1.358, allocations: 63.64 kB / 0.7244 GB, free: 75.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004025/1.362, allocations: 1.719 MB / 0.7261 GB, free: 73.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006901/1.369, allocations: 0.9715 MB / 0.727 GB, free: 72.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (182): * Single equations (assignments): 172 * 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.000821/1.369, allocations: 152 kB / 0.7272 GB, free: 72.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01097/1.38, allocations: 6.464 MB / 0.7335 GB, free: 66.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.38, allocations: 112 / 0.7335 GB, free: 66.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004394/1.385, allocations: 2.741 MB / 0.7361 GB, free: 64.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.387, allocations: 234.7 kB / 0.7364 GB, free: 64.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/1.408, allocations: 8.904 MB / 0.7451 GB, free: 56.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004339/1.412, allocations: 3.653 MB / 0.7486 GB, free: 53.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/1.412, allocations: 4 kB / 0.7486 GB, free: 53.32 MB / 426.7 MB Notification: Performance of Templates: time 0.06756/1.48, allocations: 38.27 MB / 0.786 GB, free: 18.24 MB / 426.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)