Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") [: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.003075/0.003075, allocations: 185.5 kB / 7.459 MB, free: 2.512 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.419/1.419, allocations: 194.2 MB / 202.1 MB, free: 8.75 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.001756/0.001757, allocations: 117.7 kB / 247.1 MB, free: 6.301 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.212/0.212, allocations: 39.95 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.097e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 54.87 MB / 447.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.4226, allocations: 94.5 MB / 0.5294 GB, free: 5.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.4228, allocations: 72.52 kB / 0.5295 GB, free: 5.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2115/0.6343, allocations: 80.17 MB / 0.6078 GB, free: 13.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000329/0.6347, allocations: 64 kB / 0.6079 GB, free: 13.65 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01619/0.6509, allocations: 3.708 MB / 0.6115 GB, free: 9.879 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.651, allocations: 12.03 kB / 0.6115 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02145/0.6724, allocations: 4.425 MB / 0.6158 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.6882, allocations: 5.298 MB / 0.621 GB, free: 80 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.6885, allocations: 116 kB / 0.6211 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/0.6909, allocations: 215.9 kB / 0.6213 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01375/0.7047, allocations: 7.055 MB / 0.6282 GB, free: 8.695 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02352/0.7283, allocations: 9.355 MB / 0.6373 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002243/0.7285, allocations: 27.72 kB / 0.6374 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/0.7306, allocations: 16 kB / 0.6374 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001841/0.7325, allocations: 1.226 MB / 0.6386 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2188/0.9513, allocations: 35.4 MB / 0.6731 GB, free: 159 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.9557, allocations: 4.184 MB / 0.6772 GB, free: 157.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.9582, allocations: 2.417 MB / 0.6796 GB, free: 157.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.9716, allocations: 10.72 MB / 0.6901 GB, free: 154 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.9717, allocations: 51.22 kB / 0.6901 GB, free: 153.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 4.92e-06/0.9717, allocations: 0 / 0.6901 GB, free: 153.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.0205/0.9922, allocations: 10.56 MB / 0.7004 GB, free: 153 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.9922, allocations: 63 kB / 0.7005 GB, free: 153 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/0.9967, allocations: 2.629 MB / 0.7031 GB, free: 152.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004448/0.9971, allocations: 25.7 kB / 0.7031 GB, free: 152.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001731/0.9989, allocations: 2.749 MB / 0.7058 GB, free: 151.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/1, allocations: 0.7034 MB / 0.7065 GB, free: 150.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006754/1.001, allocations: 0 / 0.7065 GB, free: 150.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004072/1.001, allocations: 0.549 MB / 0.707 GB, free: 150.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003287/1.004, allocations: 2.537 MB / 0.7095 GB, free: 150.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/1.009, allocations: 5.727 MB / 0.7151 GB, free: 145.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004396/1.013, allocations: 3.851 MB / 0.7188 GB, free: 144.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/1.013, allocations: 34.48 kB / 0.7189 GB, free: 144.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.05543/1.069, allocations: 14.66 MB / 0.7332 GB, free: 141.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.069, allocations: 4 kB / 0.7332 GB, free: 141.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03944/1.108, allocations: 8.935 MB / 0.7419 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04298/1.151, allocations: 6.777 MB / 0.7485 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004644/1.156, allocations: 1.254 MB / 0.7497 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/1.178, allocations: 14.05 MB / 0.7635 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004756/1.183, allocations: 247.8 kB / 0.7637 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.184, allocations: 336 kB / 0.764 GB, free: 116.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * 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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (681): * Single equations (assignments): 670 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.00149/1.186, allocations: 374.7 kB / 0.7644 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000577/1.186, allocations: 268.4 kB / 0.7646 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/1.187, allocations: 424.7 kB / 0.765 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006273/1.193, allocations: 3.954 MB / 0.7689 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/1.194, allocations: 3.906 kB / 0.7689 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.194, allocations: 11.97 kB / 0.7689 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.211, allocations: 10.18 MB / 0.7788 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.211, allocations: 0 / 0.7788 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.212, allocations: 275.6 kB / 0.7791 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00272/1.215, allocations: 0.8603 MB / 0.78 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/1.215, allocations: 11.98 kB / 0.78 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/1.221, allocations: 5.175 MB / 0.785 GB, free: 94.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006635/1.221, allocations: 1.356 MB / 0.7863 GB, free: 93.29 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009383/1.231, allocations: 6.834 MB / 0.793 GB, free: 86.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.232, allocations: 329.6 kB / 0.7933 GB, free: 86.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007749/1.233, allocations: 0 / 0.7933 GB, free: 86.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/1.234, allocations: 99.83 kB / 0.7934 GB, free: 85.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.234, allocations: 73.11 kB / 0.7935 GB, free: 85.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.235, allocations: 55.91 kB / 0.7935 GB, free: 85.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003001/1.238, allocations: 1.731 MB / 0.7952 GB, free: 84.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004779/1.242, allocations: 0.9896 MB / 0.7962 GB, free: 83.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * 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): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00046/1.243, allocations: 137.9 kB / 0.7963 GB, free: 82.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008879/1.252, allocations: 6.08 MB / 0.8023 GB, free: 76.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.252, allocations: 3.594 kB / 0.8023 GB, free: 76.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00263/1.254, allocations: 2.198 MB / 0.8044 GB, free: 74.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.256, allocations: 223.9 kB / 0.8046 GB, free: 74.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/1.273, allocations: 8.012 MB / 0.8125 GB, free: 66.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005016/1.278, allocations: 3.455 MB / 0.8158 GB, free: 62.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/1.278, allocations: 4 kB / 0.8158 GB, free: 62.95 MB / 474.7 MB Notification: Performance of Templates: time 0.06917/1.347, allocations: 45.73 MB / 0.8605 GB, free: 18.04 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)