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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009794/0.009794, allocations: 174.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.721/1.721, allocations: 194.5 MB / 210.3 MB, free: 7.547 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.001858/0.001859, allocations: 116.6 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2171/0.2171, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004338, allocations: 16.06 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.618, allocations: 95.33 MB / 0.5433 GB, free: 27.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.6184, allocations: 77.98 kB / 0.5434 GB, free: 27.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1943/0.8127, allocations: 82.63 MB / 0.6241 GB, free: 4.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.087e-06/0.8127, allocations: 0 / 0.6241 GB, free: 4.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001759/0.8129, allocations: 75.94 kB / 0.6242 GB, free: 4.793 MB / 394.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.01933/0.8323, allocations: 3.99 MB / 0.6281 GB, free: 1.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.8323, allocations: 12.02 kB / 0.6281 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02303/0.8554, allocations: 5.874 MB / 0.6338 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.8716, allocations: 5.316 MB / 0.639 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/0.8721, allocations: 287.2 kB / 0.6393 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002726/0.8748, allocations: 371.7 kB / 0.6396 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02829/0.9031, allocations: 10.42 MB / 0.6498 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/0.9033, allocations: 27.75 kB / 0.6498 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008289/0.9042, allocations: 167.9 kB / 0.65 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001646/0.9058, allocations: 1.156 MB / 0.6511 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/0.928, allocations: 10.1 MB / 0.661 GB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06006/0.9881, allocations: 37.33 MB / 0.6974 GB, free: 9.102 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.9994, allocations: 5.597 MB / 0.7029 GB, free: 3.277 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001729/1.001, allocations: 1.872 MB / 0.7047 GB, free: 1.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/1.001, allocations: 48.56 kB / 0.7048 GB, free: 1.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 4.989e-06/1.001, allocations: 0 / 0.7048 GB, free: 1.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=231): time 0.3169/1.318, allocations: 15.49 MB / 0.7199 GB, free: 113.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001055/1.319, allocations: 1.532 MB / 0.7214 GB, free: 112.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/1.324, allocations: 2.483 MB / 0.7238 GB, free: 112.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003884/1.324, allocations: 54.66 kB / 0.7239 GB, free: 112.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/1.326, allocations: 2.673 MB / 0.7265 GB, free: 110.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008323/1.326, allocations: 0.8465 MB / 0.7273 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/1.327, allocations: 109 kB / 0.7274 GB, free: 110.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/1.327, allocations: 0.5445 MB / 0.7279 GB, free: 110 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/1.33, allocations: 2.603 MB / 0.7305 GB, free: 110 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/1.335, allocations: 5.571 MB / 0.7359 GB, free: 106.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/1.339, allocations: 3.786 MB / 0.7396 GB, free: 106.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-05/1.339, allocations: 29.09 kB / 0.7397 GB, free: 106.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.05618/1.395, allocations: 18.95 MB / 0.7582 GB, free: 104 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/1.395, allocations: 53.5 kB / 0.7582 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03982/1.435, allocations: 12 MB / 0.7699 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04312/1.478, allocations: 10.31 MB / 0.78 GB, free: 98.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005314/1.484, allocations: 1.245 MB / 0.7812 GB, free: 97.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02639/1.51, allocations: 17.25 MB / 0.7981 GB, free: 79.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005736/1.516, allocations: 445.3 kB / 0.7985 GB, free: 79.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/1.518, allocations: 316 kB / 0.7988 GB, free: 78.81 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (649): * Single equations (assignments): 638 * 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.005835/1.524, allocations: 2.018 MB / 0.8008 GB, free: 76.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.525, allocations: 268.5 kB / 0.801 GB, free: 76.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009157/1.534, allocations: 5.104 MB / 0.806 GB, free: 71.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006475/1.54, allocations: 4.385 MB / 0.8103 GB, free: 67.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.54, allocations: 7.312 kB / 0.8103 GB, free: 67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.54, allocations: 7.969 kB / 0.8103 GB, free: 67 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/1.567, allocations: 12.98 MB / 0.823 GB, free: 53.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/1.567, allocations: 8 kB / 0.823 GB, free: 53.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/1.569, allocations: 407.3 kB / 0.8234 GB, free: 53.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002721/1.571, allocations: 0.9379 MB / 0.8243 GB, free: 52.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/1.572, allocations: 51.97 kB / 0.8243 GB, free: 52.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005351/1.577, allocations: 5.558 MB / 0.8298 GB, free: 46.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008329/1.578, allocations: 1.473 MB / 0.8312 GB, free: 45.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.59, allocations: 8.327 MB / 0.8393 GB, free: 36.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.591, allocations: 329.7 kB / 0.8397 GB, free: 36.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009406/1.592, allocations: 40 kB / 0.8397 GB, free: 36.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/1.594, allocations: 207.6 kB / 0.8399 GB, free: 35.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004249/1.595, allocations: 141.7 kB / 0.84 GB, free: 35.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.595, allocations: 67.98 kB / 0.8401 GB, free: 35.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00356/1.598, allocations: 1.697 MB / 0.8417 GB, free: 34.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.598, allocations: 0 / 0.8417 GB, free: 34.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006389/1.605, allocations: 1.109 MB / 0.8428 GB, free: 32.92 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * 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.0006966/1.606, allocations: 182.9 kB / 0.843 GB, free: 32.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01085/1.616, allocations: 6.54 MB / 0.8494 GB, free: 26.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.616, allocations: 4 kB / 0.8494 GB, free: 26.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003604/1.62, allocations: 2.521 MB / 0.8519 GB, free: 23.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/1.623, allocations: 332.2 kB / 0.8522 GB, free: 23.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.646, allocations: 11.73 MB / 0.8636 GB, free: 11.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006893/1.653, allocations: 3.242 MB / 0.8668 GB, free: 8.227 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006027/1.659, allocations: 2.052 MB / 0.8688 GB, free: 6.172 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.66, allocations: 211.4 kB / 0.869 GB, free: 5.965 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/1.66, allocations: 0 / 0.869 GB, free: 5.965 MB / 474.7 MB Notification: Performance of Templates: time 0.3312/1.992, allocations: 43.05 MB / 0.911 GB, free: 117.2 MB / 490.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)