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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01156/0.01156, allocations: 170.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.343/0.343, allocations: 40.01 MB / 310.7 MB, free: 9.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006181/0.0006181, allocations: 19.98 kB / 379.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1443, allocations: 57.96 MB / 437.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2931/0.4374, allocations: 40.56 MB / 478 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02354/0.461, allocations: 9.181 MB / 487.1 MB, free: 23.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01163/0.4727, allocations: 172.2 kB / 487.3 MB, free: 23.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.4744, allocations: 394 kB / 487.7 MB, free: 23.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004354/0.4787, allocations: 1.631 MB / 489.3 MB, free: 22.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.4802, allocations: 0.6371 MB / 490 MB, free: 22.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006233/0.4864, allocations: 5.452 MB / 495.4 MB, free: 20.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00538/0.4918, allocations: 4.091 MB / 499.5 MB, free: 19.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.4938, allocations: 1.014 MB / 0.4888 GB, free: 18.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.4966, allocations: 1.758 MB / 0.4905 GB, free: 18.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004464/0.497, allocations: 129.8 kB / 0.4906 GB, free: 18.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.4993, allocations: 1.073 MB / 0.4917 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001934/0.5012, allocations: 1.541 MB / 0.4932 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.5032, allocations: 1.824 MB / 0.495 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009789/0.513, allocations: 6.279 MB / 0.5011 GB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5131, allocations: 1.594 kB / 0.5011 GB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5131, allocations: 0 / 0.5011 GB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003129/0.5134, allocations: 0 / 0.5011 GB, free: 14.56 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01208/0.5255, allocations: 3.622 MB / 0.5046 GB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.5255, allocations: 8.812 kB / 0.5046 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.5365, allocations: 2.111 MB / 0.5067 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00736/0.5439, allocations: 2.458 MB / 0.5091 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.5442, allocations: 209.6 kB / 0.5093 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001795/0.546, allocations: 280.5 kB / 0.5096 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/0.5638, allocations: 9.286 MB / 0.5186 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.564, allocations: 44.33 kB / 0.5187 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004103/0.5644, allocations: 132.7 kB / 0.5188 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003262/0.5676, allocations: 1.914 MB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/0.5844, allocations: 8.18 MB / 0.5287 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05479/0.6392, allocations: 36.45 MB / 0.5643 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008952/0.6482, allocations: 3.686 MB / 0.5679 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003692/0.652, allocations: 2.076 MB / 0.5699 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005855/0.6526, allocations: 336 kB / 0.5702 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.425e-05/0.6527, allocations: 55.55 kB / 0.5703 GB, free: 13.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 6.733e-06/0.6527, allocations: 4 kB / 0.5703 GB, free: 13.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.04207/0.6948, allocations: 16.17 MB / 0.5861 GB, free: 13.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.695, allocations: 179.2 kB / 0.5862 GB, free: 13.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/0.7012, allocations: 3.643 MB / 0.5898 GB, free: 9.582 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005631/0.7018, allocations: 53.7 kB / 0.5898 GB, free: 9.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002328/0.7042, allocations: 2.803 MB / 0.5926 GB, free: 6.684 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/0.7053, allocations: 0.6788 MB / 0.5932 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/0.706, allocations: 494.4 kB / 0.5937 GB, free: 5.504 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7061, allocations: 305.1 kB / 0.594 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/0.71, allocations: 2.295 MB / 0.5962 GB, free: 2.902 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00653/0.7166, allocations: 5.635 MB / 0.6017 GB, free: 11.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.7285, allocations: 8.553 MB / 0.6101 GB, free: 1.398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/0.7287, allocations: 32 kB / 0.6101 GB, free: 1.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01868/0.7474, allocations: 8.771 MB / 0.6187 GB, free: 8.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.7475, allocations: 56 kB / 0.6188 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/0.7476, allocations: 116 kB / 0.6189 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/0.7509, allocations: 1.218 MB / 0.6201 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005004/0.7559, allocations: 1.294 MB / 0.6213 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2928/1.049, allocations: 7.201 MB / 0.6283 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005988/1.055, allocations: 331 kB / 0.6287 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.056, allocations: 344.5 kB / 0.629 GB, free: 140.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (690): * Single equations (assignments): 686 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004952/1.061, allocations: 1.966 MB / 0.6309 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.062, allocations: 319.6 kB / 0.6312 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008042/1.07, allocations: 3.936 MB / 0.6351 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/1.07, allocations: 20.48 kB / 0.6351 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.07, allocations: 3.375 kB / 0.6351 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/1.07, allocations: 13.05 kB / 0.6351 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.087, allocations: 9.035 MB / 0.6439 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.087, allocations: 3.062 kB / 0.6439 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.088, allocations: 269 kB / 0.6442 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/1.091, allocations: 1.058 MB / 0.6452 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/1.091, allocations: 36.31 kB / 0.6452 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008588/1.1, allocations: 6.726 MB / 0.6518 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.1, allocations: 4.172 kB / 0.6518 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.111, allocations: 6.835 MB / 0.6585 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/1.113, allocations: 0.6842 MB / 0.6592 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/1.114, allocations: 30.17 kB / 0.6592 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.115, allocations: 116 kB / 0.6593 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003458/1.115, allocations: 101.5 kB / 0.6594 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.116, allocations: 52.94 kB / 0.6594 GB, free: 130.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006697/1.122, allocations: 2.274 MB / 0.6617 GB, free: 129.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.122, allocations: 0 / 0.6617 GB, free: 129.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009041/1.131, allocations: 0.9714 MB / 0.6626 GB, free: 129.8 MB / 494.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006951/1.132, allocations: 164.8 kB / 0.6628 GB, free: 129.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01143/1.144, allocations: 5.464 MB / 0.6681 GB, free: 127.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.144, allocations: 0 / 0.6681 GB, free: 127.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004495/1.148, allocations: 2.035 MB / 0.6701 GB, free: 126.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/1.152, allocations: 376.6 kB / 0.6705 GB, free: 126.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.171, allocations: 10.94 MB / 0.6811 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003316/1.174, allocations: 3.067 MB / 0.6841 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004378/1.178, allocations: 1.806 MB / 0.6859 GB, free: 119.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/1.179, allocations: 229.9 kB / 0.6861 GB, free: 119.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.014e-06/1.179, allocations: 0 / 0.6861 GB, free: 119.6 MB / 494.1 MB Notification: Performance of Templates: time 0.06887/1.248, allocations: 36.63 MB / 0.7219 GB, free: 85.18 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: