Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00464/0.00464, allocations: 176.3 kB / 15.12 MB, free: 5.977 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.4/1.4, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.001698/0.001698, allocations: 116.5 kB / 255.6 MB, free: 10.15 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.2153/0.2153, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004453, allocations: 19.94 kB / 406.2 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1428, allocations: 54.88 MB / 461 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.6337, allocations: 97 MB / 0.545 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.634, allocations: 80.2 kB / 0.545 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2283/0.8624, allocations: 94.33 MB / 0.6371 GB, free: 6.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.8624, allocations: 4 kB / 0.6372 GB, free: 6.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002001/0.8626, allocations: 83.94 kB / 0.6372 GB, free: 6.238 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01849/0.8811, allocations: 4.387 MB / 0.6415 GB, free: 1.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.033e-05/0.8812, allocations: 12.03 kB / 0.6415 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/0.8983, allocations: 3.605 MB / 0.645 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/0.9152, allocations: 4.485 MB / 0.6494 GB, free: 9.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004753/0.9157, allocations: 344.8 kB / 0.6498 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00372/0.9194, allocations: 447.7 kB / 0.6502 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/0.948, allocations: 11.77 MB / 0.6617 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.9483, allocations: 35.66 kB / 0.6617 GB, free: 12.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006692/0.9489, allocations: 207.8 kB / 0.6619 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001851/0.9508, allocations: 1.329 MB / 0.6632 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/0.9749, allocations: 11.43 MB / 0.6744 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06942/1.044, allocations: 41.37 MB / 0.7148 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3592/1.404, allocations: 5.958 MB / 0.7206 GB, free: 117.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002375/1.406, allocations: 1.888 MB / 0.7224 GB, free: 116 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/1.406, allocations: 52.53 kB / 0.7225 GB, free: 116 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 1.002e-05/1.406, allocations: 0 / 0.7225 GB, free: 116 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.05237/1.459, allocations: 20.47 MB / 0.7425 GB, free: 114.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/1.459, allocations: 74.47 kB / 0.7425 GB, free: 114.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/1.464, allocations: 2.724 MB / 0.7452 GB, free: 113.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008661/1.465, allocations: 67.69 kB / 0.7453 GB, free: 113.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001977/1.467, allocations: 2.987 MB / 0.7482 GB, free: 112.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001803/1.468, allocations: 1.023 MB / 0.7492 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/1.469, allocations: 112.4 kB / 0.7493 GB, free: 111.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003608/1.469, allocations: 0.5642 MB / 0.7498 GB, free: 111.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/1.473, allocations: 2.836 MB / 0.7526 GB, free: 111.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005172/1.478, allocations: 5.994 MB / 0.7585 GB, free: 107.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005413/1.484, allocations: 4.11 MB / 0.7625 GB, free: 107.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.576e-05/1.484, allocations: 32.09 kB / 0.7625 GB, free: 107.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01609/1.5, allocations: 10.02 MB / 0.7723 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/1.5, allocations: 51.94 kB / 0.7723 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/1.5, allocations: 108.2 kB / 0.7725 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/1.504, allocations: 1.384 MB / 0.7738 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005695/1.509, allocations: 1.381 MB / 0.7752 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00937/1.519, allocations: 7.405 MB / 0.7824 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005758/1.525, allocations: 407.2 kB / 0.7828 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.526, allocations: 345.2 kB / 0.7831 GB, free: 100.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (717): * Single equations (assignments): 710 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005734/1.532, allocations: 2.294 MB / 0.7853 GB, free: 99.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009635/1.533, allocations: 303.9 kB / 0.7856 GB, free: 99.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.543, allocations: 6.62 MB / 0.7921 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.951e-05/1.543, allocations: 49.5 kB / 0.7921 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.543, allocations: 3.781 kB / 0.7921 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/1.543, allocations: 10.73 kB / 0.7922 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/1.568, allocations: 14.05 MB / 0.8059 GB, free: 89.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/1.568, allocations: 4 kB / 0.8059 GB, free: 89.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/1.57, allocations: 465.7 kB / 0.8063 GB, free: 88.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00368/1.574, allocations: 1.207 MB / 0.8075 GB, free: 88.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004083/1.574, allocations: 55.05 kB / 0.8076 GB, free: 88.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008563/1.583, allocations: 6.748 MB / 0.8141 GB, free: 82.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/1.583, allocations: 11.94 kB / 0.8142 GB, free: 82.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/1.6, allocations: 10.44 MB / 0.8244 GB, free: 72.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002916/1.603, allocations: 0.8166 MB / 0.8251 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.604, allocations: 44.94 kB / 0.8252 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.607, allocations: 212.5 kB / 0.8254 GB, free: 71.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/1.607, allocations: 163.9 kB / 0.8256 GB, free: 71.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.608, allocations: 76.75 kB / 0.8256 GB, free: 71.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004472/1.612, allocations: 1.874 MB / 0.8275 GB, free: 70.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.612, allocations: 0 / 0.8275 GB, free: 70.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007558/1.62, allocations: 1.137 MB / 0.8286 GB, free: 68.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/1.621, allocations: 198.2 kB / 0.8288 GB, free: 68.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0126/1.634, allocations: 6.925 MB / 0.8355 GB, free: 62.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/1.634, allocations: 0 / 0.8355 GB, free: 62.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004343/1.638, allocations: 2.76 MB / 0.8382 GB, free: 60.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/1.641, allocations: 359.5 kB / 0.8386 GB, free: 59.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.666, allocations: 13.39 MB / 0.8516 GB, free: 47.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006264/1.673, allocations: 3.675 MB / 0.8552 GB, free: 44.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006368/1.679, allocations: 2.198 MB / 0.8574 GB, free: 43.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.681, allocations: 242.1 kB / 0.8576 GB, free: 43.25 MB / 490.7 MB Notification: Performance of SimCode: time 2.756e-06/1.681, allocations: 0 / 0.8576 GB, free: 43.25 MB / 490.7 MB Notification: Performance of Templates: time 0.07419/1.755, allocations: 38.88 MB / 0.8956 GB, free: 7.656 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)