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.00988/0.009881, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001731/0.001731, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.597/1.597, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.36/0.36, allocations: 39.95 MB / 309.8 MB, free: 9.492 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.002135/0.002135, allocations: 83.88 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3498, allocations: 56.87 MB / 492.7 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01146/0.3613, allocations: 10.22 MB / 0.4911 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008885/0.3702, allocations: 3.922 MB / 0.4949 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.3731, allocations: 54.62 kB / 0.495 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004999/0.3781, allocations: 2.324 MB / 0.4972 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006195/0.3843, allocations: 1.726 MB / 0.4989 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.387, allocations: 0.7068 MB / 0.4996 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007371/0.3944, allocations: 3.806 MB / 0.5033 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003818/0.3982, allocations: 2.981 MB / 0.5063 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.4021, allocations: 1.378 MB / 0.5076 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.4061, allocations: 1.868 MB / 0.5094 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.4072, allocations: 306 kB / 0.5097 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.4101, allocations: 1.178 MB / 0.5109 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.4123, allocations: 1.722 MB / 0.5125 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003178/0.4154, allocations: 2.022 MB / 0.5145 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008973/0.4244, allocations: 6.749 MB / 0.5211 GB, free: 7.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.4245, allocations: 4 kB / 0.5211 GB, free: 7.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4245, allocations: 0 / 0.5211 GB, free: 7.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002755/0.4248, allocations: 0 / 0.5211 GB, free: 7.273 MB / 398.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.01008/0.4349, allocations: 4.418 MB / 0.5254 GB, free: 2.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4349, allocations: 15.89 kB / 0.5254 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008432/0.4434, allocations: 2.062 MB / 0.5275 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006286/0.4497, allocations: 2.487 MB / 0.5299 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.4499, allocations: 205.6 kB / 0.5301 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008276/0.4507, allocations: 279.9 kB / 0.5304 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.4676, allocations: 9.291 MB / 0.5394 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.4678, allocations: 35.66 kB / 0.5395 GB, free: 3.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008653/0.4687, allocations: 135.9 kB / 0.5396 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003414/0.4721, allocations: 1.927 MB / 0.5415 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.4877, allocations: 8.168 MB / 0.5494 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04938/0.5371, allocations: 36.23 MB / 0.5848 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007492/0.5447, allocations: 3.678 MB / 0.5884 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/0.5472, allocations: 2.083 MB / 0.5904 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.5476, allocations: 336.2 kB / 0.5908 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.5477, allocations: 51.5 kB / 0.5908 GB, free: 13.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=156): time 6.673e-06/0.5477, allocations: 4 kB / 0.5908 GB, free: 13.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=177): time 0.03885/0.5865, allocations: 16.21 MB / 0.6067 GB, free: 13.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.5867, allocations: 171.2 kB / 0.6068 GB, free: 13.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005333/0.592, allocations: 3.646 MB / 0.6104 GB, free: 9.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004565/0.5925, allocations: 49.7 kB / 0.6104 GB, free: 9.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002037/0.5946, allocations: 2.799 MB / 0.6132 GB, free: 6.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009034/0.5955, allocations: 0.6827 MB / 0.6138 GB, free: 6.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.5971, allocations: 1.158 MB / 0.615 GB, free: 4.906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5972, allocations: 309.1 kB / 0.6152 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/0.6007, allocations: 2.287 MB / 0.6175 GB, free: 2.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005619/0.6063, allocations: 5.639 MB / 0.623 GB, free: 11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.6175, allocations: 8.544 MB / 0.6313 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/0.6177, allocations: 32 kB / 0.6314 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.2777/0.8954, allocations: 8.763 MB / 0.6399 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.8956, allocations: 59.25 kB / 0.64 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000294/0.8959, allocations: 117.6 kB / 0.6401 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/0.8999, allocations: 1.224 MB / 0.6413 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00507/0.905, allocations: 1.301 MB / 0.6426 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.9167, allocations: 7.703 MB / 0.6501 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005388/0.9221, allocations: 337.6 kB / 0.6504 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0014/0.9236, allocations: 341.2 kB / 0.6507 GB, free: 116 MB / 0.4981 GB 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.005141/0.9287, allocations: 1.968 MB / 0.6526 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/0.9301, allocations: 318.8 kB / 0.653 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008089/0.9382, allocations: 3.927 MB / 0.6568 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.626e-05/0.9383, allocations: 19.94 kB / 0.6568 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/0.9384, allocations: 8.969 kB / 0.6568 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.076e-05/0.9384, allocations: 12.8 kB / 0.6568 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/0.9588, allocations: 8.938 MB / 0.6656 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.9589, allocations: 0 / 0.6656 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.9602, allocations: 273.3 kB / 0.6658 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/0.9629, allocations: 1.055 MB / 0.6668 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/0.9632, allocations: 34 kB / 0.6669 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008008/0.9712, allocations: 7.259 MB / 0.674 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9712, allocations: 1.031 kB / 0.674 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009162/0.9804, allocations: 6.849 MB / 0.6807 GB, free: 99.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/0.9826, allocations: 0.6765 MB / 0.6813 GB, free: 99.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007316/0.9834, allocations: 27.75 kB / 0.6813 GB, free: 99.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.9848, allocations: 115.8 kB / 0.6815 GB, free: 99.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.9851, allocations: 104.7 kB / 0.6816 GB, free: 98.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.9852, allocations: 44 kB / 0.6816 GB, free: 98.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002951/0.9882, allocations: 2.278 MB / 0.6838 GB, free: 96.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9882, allocations: 0 / 0.6838 GB, free: 96.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005581/0.9938, allocations: 0.9683 MB / 0.6848 GB, free: 95.7 MB / 0.4981 GB 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.0005284/0.9943, allocations: 166.5 kB / 0.6849 GB, free: 95.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008143/1.002, allocations: 5.482 MB / 0.6903 GB, free: 90.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.003, allocations: 2.953 kB / 0.6903 GB, free: 90.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003116/1.006, allocations: 2.052 MB / 0.6923 GB, free: 87.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.009, allocations: 397 kB / 0.6927 GB, free: 87.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/1.024, allocations: 8.932 MB / 0.7014 GB, free: 78.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00301/1.027, allocations: 3.064 MB / 0.7044 GB, free: 75.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004194/1.031, allocations: 1.806 MB / 0.7061 GB, free: 73.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.032, allocations: 231.4 kB / 0.7064 GB, free: 73.54 MB / 0.4981 GB Notification: Performance of SimCode: time 1.273e-06/1.032, allocations: 3.938 kB / 0.7064 GB, free: 73.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.06356/1.096, allocations: 35.87 MB / 0.7414 GB, free: 37.8 MB / 0.4981 GB 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)