Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") [: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.003253/0.003253, allocations: 174.8 kB / 7.451 MB, free: 2.504 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.289/1.289, 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.001886/0.001886, allocations: 116.9 kB / 217.7 MB, free: 8.137 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.1908/0.1908, allocations: 37.98 MB / 294.8 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.096e-05/1.1e-05, allocations: 1.469 kB / 349.5 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 48.71 MB / 398.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.4983, allocations: 90.42 MB / 488.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.4987, allocations: 75.78 kB / 488.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.234/0.7327, allocations: 88.24 MB / 0.5634 GB, free: 4.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003349/0.7331, allocations: 84 kB / 0.5635 GB, free: 4.652 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: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.02165/0.7548, allocations: 4.186 MB / 0.5676 GB, free: 416 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.7548, allocations: 8.031 kB / 0.5676 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/0.7714, allocations: 2.864 MB / 0.5704 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.7869, allocations: 4.738 MB / 0.575 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/0.7874, allocations: 148 kB / 0.5752 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003483/0.7909, allocations: 255.9 kB / 0.5754 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0189/0.8098, allocations: 8.117 MB / 0.5833 GB, free: 252 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03371/0.8435, allocations: 10.55 MB / 0.5936 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003917/0.844, allocations: 23.72 kB / 0.5937 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003824/0.8478, allocations: 16 kB / 0.5937 GB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002424/0.8503, allocations: 1.321 MB / 0.595 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2509/1.101, allocations: 35.84 MB / 0.63 GB, free: 121.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/1.105, allocations: 2.749 MB / 0.6326 GB, free: 121.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/1.107, allocations: 2.292 MB / 0.6349 GB, free: 121.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/1.12, allocations: 9.732 MB / 0.6444 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/1.12, allocations: 49.59 kB / 0.6444 GB, free: 118.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=213): time 5.43e-06/1.12, allocations: 0 / 0.6444 GB, free: 118.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=234): time 0.02486/1.145, allocations: 11.18 MB / 0.6554 GB, free: 117.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/1.145, allocations: 72.34 kB / 0.6554 GB, free: 117.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/1.15, allocations: 2.638 MB / 0.658 GB, free: 117.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003705/1.15, allocations: 25.7 kB / 0.658 GB, free: 117.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.152, allocations: 3.025 MB / 0.661 GB, free: 115.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009294/1.153, allocations: 0.8711 MB / 0.6618 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/1.153, allocations: 0 / 0.6618 GB, free: 115.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003083/1.153, allocations: 0.5658 MB / 0.6624 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/1.156, allocations: 2.359 MB / 0.6647 GB, free: 114.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004413/1.161, allocations: 5.745 MB / 0.6703 GB, free: 110.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005033/1.166, allocations: 3.767 MB / 0.674 GB, free: 109.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.094e-05/1.166, allocations: 37.09 kB / 0.674 GB, free: 109.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01819/1.184, allocations: 8.111 MB / 0.6819 GB, free: 106.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.184, allocations: 3.75 kB / 0.6819 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/1.184, allocations: 121.3 kB / 0.6821 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003499/1.188, allocations: 0.9063 MB / 0.6829 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.193, allocations: 1.4 MB / 0.6843 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/1.196, allocations: 2.35 MB / 0.6866 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005657/1.202, allocations: 176 kB / 0.6868 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/1.204, allocations: 370.7 kB / 0.6871 GB, free: 105.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (766): * Single equations (assignments): 757 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(2,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002459/1.206, allocations: 407.5 kB / 0.6875 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009516/1.207, allocations: 285 kB / 0.6878 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009627/1.217, allocations: 4.563 MB / 0.6922 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.332e-05/1.217, allocations: 37.47 kB / 0.6923 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/1.217, allocations: 7.438 kB / 0.6923 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/1.217, allocations: 7.078 kB / 0.6923 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/1.238, allocations: 8.84 MB / 0.7009 GB, free: 98.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.238, allocations: 0 / 0.7009 GB, free: 98.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/1.24, allocations: 358.7 kB / 0.7013 GB, free: 98.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/1.243, allocations: 0.5325 MB / 0.7018 GB, free: 98.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004409/1.243, allocations: 30 kB / 0.7018 GB, free: 98.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.245, allocations: 1.933 MB / 0.7037 GB, free: 96.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.245, allocations: 10.34 kB / 0.7037 GB, free: 96.39 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01073/1.256, allocations: 6.792 MB / 0.7103 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.257, allocations: 332.2 kB / 0.7107 GB, free: 89.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.258, allocations: 12 kB / 0.7107 GB, free: 89.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.261, allocations: 58.41 kB / 0.7107 GB, free: 89.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/1.261, allocations: 111.8 kB / 0.7108 GB, free: 89.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/1.261, allocations: 66.03 kB / 0.7109 GB, free: 89.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003974/1.265, allocations: 1.741 MB / 0.7126 GB, free: 88.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00787/1.273, allocations: 0.8881 MB / 0.7135 GB, free: 87.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008959/1.274, allocations: 148.6 kB / 0.7136 GB, free: 87.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009839/1.284, allocations: 5.91 MB / 0.7194 GB, free: 81.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.284, allocations: 0 / 0.7194 GB, free: 81.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.287, allocations: 2.266 MB / 0.7216 GB, free: 79.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.289, allocations: 277.4 kB / 0.7219 GB, free: 79.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/1.31, allocations: 8.967 MB / 0.7306 GB, free: 71.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006125/1.316, allocations: 3.899 MB / 0.7344 GB, free: 68.54 MB / 426.7 MB Notification: Performance of SimCode: time 2.144e-06/1.316, allocations: 0 / 0.7344 GB, free: 68.54 MB / 426.7 MB Notification: Performance of Templates: time 0.06471/1.38, allocations: 36.69 MB / 0.7702 GB, free: 40.81 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1)