Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.00614/0.006139, allocations: 174.8 kB / 7.447 MB, free: 2.512 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.507/1.507, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001854/0.001854, allocations: 124.4 kB / 217.7 MB, free: 8.148 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.189/0.189, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.686e-06, allocations: 1.625 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3386/0.4434, allocations: 90.61 MB / 488.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4437, allocations: 73.73 kB / 488.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2281/0.6717, allocations: 91.74 MB / 0.567 GB, free: 1.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001895/0.672, allocations: 86.34 kB / 0.5671 GB, free: 1.168 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01875/0.6907, allocations: 4.39 MB / 0.5714 GB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6908, allocations: 8.031 kB / 0.5714 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/0.7063, allocations: 2.883 MB / 0.5742 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.7217, allocations: 4.852 MB / 0.579 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.722, allocations: 152 kB / 0.5791 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002712/0.7248, allocations: 271.9 kB / 0.5794 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01752/0.7423, allocations: 8.236 MB / 0.5874 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0254/0.7678, allocations: 10.74 MB / 0.5979 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.7679, allocations: 35.66 kB / 0.5979 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008237/0.7688, allocations: 16 kB / 0.5979 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001722/0.7705, allocations: 1.313 MB / 0.5992 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1869/0.9574, allocations: 36.21 MB / 0.6346 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.9609, allocations: 2.461 MB / 0.637 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/0.9635, allocations: 2.209 MB / 0.6391 GB, free: 116.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/0.9788, allocations: 9.509 MB / 0.6484 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.9789, allocations: 52.97 kB / 0.6485 GB, free: 113.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=213): time 7.163e-06/0.9789, allocations: 0 / 0.6485 GB, free: 113.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=233): time 0.02225/1.001, allocations: 10.79 MB / 0.659 GB, free: 112.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/1.001, allocations: 73.81 kB / 0.6591 GB, free: 112.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/1.006, allocations: 2.767 MB / 0.6618 GB, free: 112.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005379/1.006, allocations: 25.7 kB / 0.6618 GB, free: 112.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.008, allocations: 3.15 MB / 0.6649 GB, free: 110.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.009, allocations: 0.8598 MB / 0.6657 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/1.009, allocations: 0 / 0.6657 GB, free: 109.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003712/1.01, allocations: 0.5752 MB / 0.6663 GB, free: 109.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003216/1.013, allocations: 2.376 MB / 0.6686 GB, free: 109.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004811/1.018, allocations: 5.875 MB / 0.6744 GB, free: 104.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005477/1.023, allocations: 3.812 MB / 0.6781 GB, free: 103.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.963e-05/1.023, allocations: 34.84 kB / 0.6781 GB, free: 103.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.01553/1.039, allocations: 8.252 MB / 0.6862 GB, free: 101 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.039, allocations: 7.531 kB / 0.6862 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/1.039, allocations: 129.4 kB / 0.6863 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003457/1.042, allocations: 0.9415 MB / 0.6872 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/1.048, allocations: 1.428 MB / 0.6886 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/1.051, allocations: 2.359 MB / 0.6909 GB, free: 99.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/1.057, allocations: 179 kB / 0.6911 GB, free: 99.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.059, allocations: 373.7 kB / 0.6914 GB, free: 99.23 MB / 426.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.002034/1.061, allocations: 418.8 kB / 0.6918 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006321/1.061, allocations: 302.4 kB / 0.6921 GB, free: 98.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008407/1.07, allocations: 4.53 MB / 0.6966 GB, free: 97.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.105e-05/1.07, allocations: 38.03 kB / 0.6966 GB, free: 97.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/1.07, allocations: 0 / 0.6966 GB, free: 97.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.252e-05/1.07, allocations: 13.22 kB / 0.6966 GB, free: 97.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/1.089, allocations: 8.99 MB / 0.7054 GB, free: 93.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.089, allocations: 4 kB / 0.7054 GB, free: 93.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/1.091, allocations: 341.1 kB / 0.7057 GB, free: 93.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.094, allocations: 0.7609 MB / 0.7065 GB, free: 93.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003001/1.095, allocations: 27.36 kB / 0.7065 GB, free: 93.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/1.097, allocations: 2.134 MB / 0.7086 GB, free: 91.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.097, allocations: 7.781 kB / 0.7086 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0103/1.107, allocations: 6.862 MB / 0.7153 GB, free: 85.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.108, allocations: 340.6 kB / 0.7156 GB, free: 84.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008402/1.109, allocations: 8 kB / 0.7156 GB, free: 84.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.111, allocations: 62.39 kB / 0.7157 GB, free: 84.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/1.111, allocations: 106.2 kB / 0.7158 GB, free: 84.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.111, allocations: 63.64 kB / 0.7158 GB, free: 84.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00285/1.114, allocations: 1.821 MB / 0.7176 GB, free: 82.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004435/1.118, allocations: 0.9115 MB / 0.7185 GB, free: 82.09 MB / 426.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.0004813/1.119, allocations: 155.8 kB / 0.7186 GB, free: 81.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008559/1.127, allocations: 5.995 MB / 0.7245 GB, free: 76.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.127, allocations: 0 / 0.7245 GB, free: 76.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003619/1.131, allocations: 2.363 MB / 0.7268 GB, free: 74.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/1.133, allocations: 326.5 kB / 0.7271 GB, free: 74.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.15, allocations: 9.218 MB / 0.7361 GB, free: 65.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004394/1.154, allocations: 4.026 MB / 0.7401 GB, free: 62.79 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/1.154, allocations: 0 / 0.7401 GB, free: 62.79 MB / 426.7 MB Notification: Performance of Templates: time 0.06171/1.216, allocations: 38 MB / 0.7772 GB, free: 33.41 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)