Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005406/0.005406, allocations: 176 kB / 15.12 MB, free: 5.98 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.681/1.681, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.002054/0.002054, allocations: 124.6 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.2253/0.2253, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004069, allocations: 11.31 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.128, allocations: 54.87 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5053/0.6334, allocations: 99.54 MB / 0.5474 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.6338, allocations: 81.62 kB / 0.5475 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2016/0.8353, allocations: 80.5 MB / 0.6261 GB, free: 1.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.8354, allocations: 3.938 kB / 0.6261 GB, free: 1.164 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002156/0.8356, allocations: 68 kB / 0.6262 GB, free: 1.098 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01628/0.8519, allocations: 4.023 MB / 0.6301 GB, free: 13.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.852, allocations: 8.031 kB / 0.6301 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/0.8701, allocations: 4.284 MB / 0.6343 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.8846, allocations: 4.516 MB / 0.6387 GB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004174/0.885, allocations: 287.8 kB / 0.639 GB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/0.8877, allocations: 383.8 kB / 0.6394 GB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/0.9136, allocations: 9.625 MB / 0.6488 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/0.9139, allocations: 55.47 kB / 0.6488 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/0.9151, allocations: 183.9 kB / 0.649 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001412/0.9165, allocations: 0.9435 MB / 0.6499 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.9343, allocations: 8.128 MB / 0.6578 GB, free: 272 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05673/0.9911, allocations: 43.7 MB / 0.7005 GB, free: 3.184 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/0.9995, allocations: 3.686 MB / 0.7041 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005039/1, allocations: 340.2 kB / 0.7044 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/1, allocations: 59.48 kB / 0.7045 GB, free: 14.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=156): time 5.56e-06/1, allocations: 0 / 0.7045 GB, free: 14.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=177): time 0.3259/1.326, allocations: 15.22 MB / 0.7194 GB, free: 122.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.326, allocations: 180.8 kB / 0.7195 GB, free: 122.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00666/1.333, allocations: 3.203 MB / 0.7227 GB, free: 122.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006329/1.333, allocations: 53.58 kB / 0.7227 GB, free: 122.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002468/1.336, allocations: 2.823 MB / 0.7255 GB, free: 121.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/1.337, allocations: 0.6801 MB / 0.7261 GB, free: 121 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/1.337, allocations: 110.1 kB / 0.7262 GB, free: 121 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003528/1.338, allocations: 0.5401 MB / 0.7268 GB, free: 120.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/1.342, allocations: 2.122 MB / 0.7288 GB, free: 120.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005527/1.347, allocations: 5.435 MB / 0.7341 GB, free: 116.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00648/1.354, allocations: 3.348 MB / 0.7374 GB, free: 116.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001487/1.354, allocations: 34.72 kB / 0.7374 GB, free: 116.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01555/1.37, allocations: 8.122 MB / 0.7454 GB, free: 115.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.295e-05/1.37, allocations: 54.28 kB / 0.7454 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.37, allocations: 119.2 kB / 0.7455 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/1.372, allocations: 0.9293 MB / 0.7464 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004384/1.376, allocations: 1.274 MB / 0.7477 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/1.383, allocations: 6.269 MB / 0.7538 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006066/1.389, allocations: 319.1 kB / 0.7541 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002383/1.392, allocations: 337.6 kB / 0.7544 GB, free: 114.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 666 * Array equations: 3 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008404/1.4, allocations: 1.966 MB / 0.7564 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/1.402, allocations: 320.4 kB / 0.7567 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00633/1.408, allocations: 3.458 MB / 0.76 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/1.408, allocations: 17.45 kB / 0.7601 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.408, allocations: 6.562 kB / 0.7601 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/1.408, allocations: 7.781 kB / 0.7601 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/1.423, allocations: 8.501 MB / 0.7684 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/1.423, allocations: 0 / 0.7684 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.425, allocations: 286.5 kB / 0.7686 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/1.426, allocations: 0.7489 MB / 0.7694 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/1.427, allocations: 32.2 kB / 0.7694 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006726/1.433, allocations: 5.784 MB / 0.7751 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.433, allocations: 6.906 kB / 0.7751 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00838/1.442, allocations: 6.287 MB / 0.7812 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002157/1.444, allocations: 0.658 MB / 0.7818 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/1.444, allocations: 38.06 kB / 0.7819 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.446, allocations: 106.3 kB / 0.782 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/1.446, allocations: 95.05 kB / 0.7821 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.446, allocations: 43.56 kB / 0.7821 GB, free: 102.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003455/1.45, allocations: 2.249 MB / 0.7843 GB, free: 101.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.45, allocations: 3.625 kB / 0.7843 GB, free: 101.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005417/1.455, allocations: 0.9321 MB / 0.7852 GB, free: 101.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (137): * Single equations (assignments): 133 * Array equations: 3 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004853/1.456, allocations: 170.7 kB / 0.7854 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007575/1.463, allocations: 5.155 MB / 0.7904 GB, free: 99.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.463, allocations: 0 / 0.7904 GB, free: 99.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/1.466, allocations: 1.898 MB / 0.7923 GB, free: 98.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.468, allocations: 361.1 kB / 0.7926 GB, free: 98.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/1.485, allocations: 10.27 MB / 0.8027 GB, free: 91.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003411/1.489, allocations: 3.125 MB / 0.8057 GB, free: 89.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005289/1.494, allocations: 1.811 MB / 0.8075 GB, free: 88.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.495, allocations: 234.6 kB / 0.8077 GB, free: 87.84 MB / 490.7 MB Notification: Performance of SimCode: time 2.264e-06/1.495, allocations: 0 / 0.8077 GB, free: 87.84 MB / 490.7 MB Notification: Performance of Templates: time 0.06638/1.562, allocations: 34.46 MB / 0.8413 GB, free: 63.16 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1)