Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") [: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.2+maint.om/package.mo): time 0.003639/0.003639, allocations: 187.7 kB / 7.462 MB, free: 2.52 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.119/1.119, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.001835/0.001835, allocations: 121.2 kB / 247.1 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1576/0.1576, allocations: 39.93 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.271e-06/6.301e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09332, allocations: 54.87 MB / 447.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.315/0.4083, allocations: 97.33 MB / 0.5322 GB, free: 3.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4086, allocations: 77.64 kB / 0.5323 GB, free: 3.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2392/0.6478, allocations: 91.76 MB / 0.6219 GB, free: 15.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.648, allocations: 84 kB / 0.622 GB, free: 15.24 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01644/0.6645, allocations: 4.388 MB / 0.6263 GB, free: 10.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.6645, allocations: 8.031 kB / 0.6263 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.6798, allocations: 2.883 MB / 0.6291 GB, free: 7.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.6945, allocations: 4.846 MB / 0.6338 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.6948, allocations: 152 kB / 0.634 GB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002746/0.6976, allocations: 271.9 kB / 0.6342 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01565/0.7132, allocations: 8.242 MB / 0.6423 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/0.7398, allocations: 10.74 MB / 0.6528 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.74, allocations: 31.72 kB / 0.6528 GB, free: 15.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/0.7412, allocations: 16 kB / 0.6528 GB, free: 15.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001828/0.743, allocations: 1.314 MB / 0.6541 GB, free: 13.74 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2458/0.9888, allocations: 36.2 MB / 0.6894 GB, free: 149.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/0.9925, allocations: 2.465 MB / 0.6919 GB, free: 149.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.995, allocations: 2.204 MB / 0.694 GB, free: 149.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/1.009, allocations: 9.512 MB / 0.7033 GB, free: 146.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.009, allocations: 46.06 kB / 0.7033 GB, free: 146.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 6.472e-06/1.009, allocations: 2.562 kB / 0.7033 GB, free: 146.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.02502/1.034, allocations: 10.79 MB / 0.7139 GB, free: 145.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/1.034, allocations: 71.75 kB / 0.7139 GB, free: 145.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005874/1.04, allocations: 2.765 MB / 0.7167 GB, free: 144.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006639/1.041, allocations: 25.7 kB / 0.7167 GB, free: 144.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002345/1.043, allocations: 3.153 MB / 0.7198 GB, free: 143.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001446/1.044, allocations: 0.8625 MB / 0.7206 GB, free: 142.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/1.045, allocations: 1.969 kB / 0.7206 GB, free: 142.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004419/1.045, allocations: 0.5736 MB / 0.7212 GB, free: 142.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004956/1.05, allocations: 2.377 MB / 0.7235 GB, free: 141.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007962/1.058, allocations: 5.874 MB / 0.7292 GB, free: 136.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008357/1.067, allocations: 3.816 MB / 0.7329 GB, free: 135.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/1.067, allocations: 35.03 kB / 0.733 GB, free: 135.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.02504/1.092, allocations: 8.244 MB / 0.741 GB, free: 133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.092, allocations: 3 kB / 0.741 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003266/1.092, allocations: 130.2 kB / 0.7412 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/1.096, allocations: 0.9431 MB / 0.7421 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00584/1.102, allocations: 1.435 MB / 0.7435 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/1.105, allocations: 2.361 MB / 0.7458 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/1.111, allocations: 174.1 kB / 0.7459 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/1.113, allocations: 376.7 kB / 0.7463 GB, free: 131.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (786): * Single equations (assignments): 777 * 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 prepare postOptimizeDAE: time 0.002092/1.115, allocations: 419.9 kB / 0.7467 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000915/1.116, allocations: 299.8 kB / 0.747 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009111/1.125, allocations: 4.53 MB / 0.7514 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.461e-05/1.125, allocations: 35.89 kB / 0.7515 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/1.125, allocations: 4 kB / 0.7515 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.125, allocations: 7.875 kB / 0.7515 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.144, allocations: 8.999 MB / 0.7603 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.144, allocations: 4 kB / 0.7603 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/1.146, allocations: 341 kB / 0.7606 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003173/1.149, allocations: 0.7593 MB / 0.7613 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/1.15, allocations: 22.62 kB / 0.7613 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.152, allocations: 2.133 MB / 0.7634 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.152, allocations: 3.375 kB / 0.7634 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01001/1.162, allocations: 6.879 MB / 0.7701 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008974/1.163, allocations: 340.7 kB / 0.7705 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007804/1.163, allocations: 11.72 kB / 0.7705 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.165, allocations: 60.98 kB / 0.7705 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/1.165, allocations: 98.11 kB / 0.7706 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.166, allocations: 63.92 kB / 0.7707 GB, free: 109.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003873/1.169, allocations: 1.823 MB / 0.7725 GB, free: 108.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005772/1.175, allocations: 0.9142 MB / 0.7734 GB, free: 107.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 177 * 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.0004827/1.176, allocations: 142.8 kB / 0.7735 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01062/1.186, allocations: 5.996 MB / 0.7794 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.186, allocations: 0 / 0.7794 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004365/1.191, allocations: 2.366 MB / 0.7817 GB, free: 99.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.193, allocations: 330.4 kB / 0.782 GB, free: 99.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.213, allocations: 9.206 MB / 0.791 GB, free: 91.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004633/1.218, allocations: 4.03 MB / 0.7949 GB, free: 88.14 MB / 474.7 MB Notification: Performance of SimCode: time 9.41e-07/1.218, allocations: 3.938 kB / 0.7949 GB, free: 88.14 MB / 474.7 MB Notification: Performance of Templates: time 0.067/1.285, allocations: 38.01 MB / 0.832 GB, free: 54.33 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)