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.001191/0.001191, allocations: 182.5 kB / 12.74 MB, free: 2.582 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.705/1.705, allocations: 194.3 MB / 207.5 MB, free: 3.441 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.00173/0.00173, allocations: 122.4 kB / 252.6 MB, free: 4.828 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.195/0.195, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.665e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5292, allocations: 96.92 MB / 0.5391 GB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.5295, allocations: 70.03 kB / 0.5392 GB, free: 10.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2496/0.7791, allocations: 94.43 MB / 0.6314 GB, free: 3.891 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7792, allocations: 0 / 0.6314 GB, free: 3.891 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001728/0.7794, allocations: 84 kB / 0.6315 GB, free: 3.809 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.0113/0.7907, allocations: 4.239 MB / 0.6356 GB, free: 15.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7907, allocations: 8.031 kB / 0.6356 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.8062, allocations: 3.612 MB / 0.6392 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.8181, allocations: 4.456 MB / 0.6435 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.8184, allocations: 352.7 kB / 0.6438 GB, free: 7.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.8205, allocations: 447.8 kB / 0.6443 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02476/0.8452, allocations: 11.64 MB / 0.6556 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.8454, allocations: 31.75 kB / 0.6557 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007713/0.8462, allocations: 203.9 kB / 0.6559 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.8479, allocations: 1.333 MB / 0.6572 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3736/1.221, allocations: 11.22 MB / 0.6681 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06159/1.283, allocations: 41.37 MB / 0.7085 GB, free: 90.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.293, allocations: 5.927 MB / 0.7143 GB, free: 88.55 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/1.297, allocations: 2.973 MB / 0.7172 GB, free: 87.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/1.298, allocations: 1.883 MB / 0.7191 GB, free: 85.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/1.298, allocations: 61.77 kB / 0.7191 GB, free: 85.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 5.72e-06/1.298, allocations: 3.875 kB / 0.7191 GB, free: 85.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.04155/1.34, allocations: 16.62 MB / 0.7353 GB, free: 80.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/1.34, allocations: 75.94 kB / 0.7354 GB, free: 80.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005907/1.346, allocations: 2.664 MB / 0.738 GB, free: 79.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006518/1.346, allocations: 61.33 kB / 0.7381 GB, free: 79.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002033/1.348, allocations: 2.993 MB / 0.741 GB, free: 77.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001445/1.35, allocations: 1.018 MB / 0.742 GB, free: 76.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000671/1.35, allocations: 116 kB / 0.7421 GB, free: 76.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000515/1.351, allocations: 0.5674 MB / 0.7427 GB, free: 76.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004089/1.355, allocations: 2.761 MB / 0.7454 GB, free: 75.19 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005422/1.361, allocations: 5.915 MB / 0.7511 GB, free: 70.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00547/1.366, allocations: 4.062 MB / 0.7551 GB, free: 68.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/1.366, allocations: 34 kB / 0.7551 GB, free: 68.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01878/1.385, allocations: 9.867 MB / 0.7648 GB, free: 62.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/1.385, allocations: 61.38 kB / 0.7648 GB, free: 62.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/1.385, allocations: 108 kB / 0.7649 GB, free: 62.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/1.389, allocations: 1.389 MB / 0.7663 GB, free: 61.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004922/1.394, allocations: 1.384 MB / 0.7676 GB, free: 60.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008468/1.402, allocations: 7.186 MB / 0.7747 GB, free: 53.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005872/1.408, allocations: 406.9 kB / 0.775 GB, free: 53.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.41, allocations: 344.2 kB / 0.7754 GB, free: 53.18 MB / 474.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 () * 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.002421/1.412, allocations: 0.5258 MB / 0.7759 GB, free: 52.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.413, allocations: 307.9 kB / 0.7762 GB, free: 52.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.425, allocations: 6.568 MB / 0.7826 GB, free: 47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.588e-05/1.425, allocations: 52.67 kB / 0.7826 GB, free: 46.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.425, allocations: 4 kB / 0.7826 GB, free: 46.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/1.425, allocations: 9.609 kB / 0.7827 GB, free: 46.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/1.45, allocations: 14 MB / 0.7963 GB, free: 35.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/1.45, allocations: 8 kB / 0.7963 GB, free: 35.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/1.453, allocations: 452.7 kB / 0.7968 GB, free: 34.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003252/1.456, allocations: 1.211 MB / 0.7979 GB, free: 34.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007413/1.457, allocations: 56.88 kB / 0.798 GB, free: 34.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007851/1.465, allocations: 6.516 MB / 0.8044 GB, free: 27.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.465, allocations: 15.92 kB / 0.8044 GB, free: 27.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.479, allocations: 10.37 MB / 0.8145 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/1.482, allocations: 0.8287 MB / 0.8153 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/1.483, allocations: 53.86 kB / 0.8154 GB, free: 16.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.486, allocations: 195.7 kB / 0.8156 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008219/1.487, allocations: 163.2 kB / 0.8157 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005439/1.487, allocations: 75.98 kB / 0.8158 GB, free: 15.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003734/1.491, allocations: 1.816 MB / 0.8176 GB, free: 13.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.491, allocations: 0 / 0.8176 GB, free: 13.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006061/1.497, allocations: 1.134 MB / 0.8187 GB, free: 12.76 MB / 474.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 () * 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.0007999/1.498, allocations: 199.9 kB / 0.8189 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009165/1.507, allocations: 6.82 MB / 0.8255 GB, free: 5.742 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.961e-05/1.507, allocations: 3.562 kB / 0.8255 GB, free: 5.742 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003222/1.511, allocations: 2.737 MB / 0.8282 GB, free: 2.996 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.513, allocations: 359.2 kB / 0.8285 GB, free: 2.656 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/1.533, allocations: 9.656 MB / 0.838 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006738/1.54, allocations: 3.683 MB / 0.8416 GB, free: 5.191 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006552/1.546, allocations: 2.194 MB / 0.8437 GB, free: 3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.547, allocations: 239.4 kB / 0.8439 GB, free: 2.766 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/1.547, allocations: 0 / 0.8439 GB, free: 2.766 MB / 490.7 MB Notification: Performance of Templates: time 0.3451/1.892, allocations: 38.87 MB / 0.8819 GB, free: 111.1 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)