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.007924/0.007924, allocations: 101 kB / 15.73 MB, free: 6.043 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.001676/0.001676, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3639/0.3639, allocations: 39.94 MB / 309.8 MB, free: 9.41 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.001603/0.001603, allocations: 72.22 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4578, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01385/0.4717, allocations: 10.22 MB / 0.4911 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.4822, allocations: 3.929 MB / 0.4949 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.4855, allocations: 54.62 kB / 0.495 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005326/0.4908, allocations: 2.327 MB / 0.4973 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.4976, allocations: 1.723 MB / 0.4989 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.4996, allocations: 0.7064 MB / 0.4996 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007203/0.5068, allocations: 3.812 MB / 0.5033 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005717/0.5126, allocations: 2.982 MB / 0.5063 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/0.5174, allocations: 1.369 MB / 0.5076 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004527/0.5219, allocations: 1.86 MB / 0.5094 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001895/0.5238, allocations: 305.5 kB / 0.5097 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0046/0.5285, allocations: 1.175 MB / 0.5109 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004561/0.533, allocations: 1.715 MB / 0.5125 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009278/0.5423, allocations: 2.025 MB / 0.5145 GB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.5544, allocations: 6.753 MB / 0.5211 GB, free: 7.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.5545, allocations: 4 kB / 0.5211 GB, free: 7.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5545, allocations: 0 / 0.5211 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003731/0.5549, allocations: 0 / 0.5211 GB, free: 7.281 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.01377/0.5687, allocations: 4.418 MB / 0.5254 GB, free: 2.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.5688, allocations: 15.88 kB / 0.5254 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008923/0.5777, allocations: 2.062 MB / 0.5274 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.5851, allocations: 2.483 MB / 0.5299 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.5853, allocations: 213.6 kB / 0.5301 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.5865, allocations: 279.9 kB / 0.5303 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.604, allocations: 9.287 MB / 0.5394 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.6042, allocations: 35.66 kB / 0.5394 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.6046, allocations: 135.9 kB / 0.5396 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003641/0.6083, allocations: 1.923 MB / 0.5415 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.6253, allocations: 8.168 MB / 0.5494 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05836/0.6837, allocations: 36.22 MB / 0.5848 GB, free: 4.223 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008837/0.6927, allocations: 3.686 MB / 0.5884 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003406/0.6961, allocations: 2.08 MB / 0.5904 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004836/0.6967, allocations: 332.2 kB / 0.5907 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.6967, allocations: 55.5 kB / 0.5908 GB, free: 13.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=156): time 4.959e-06/0.6968, allocations: 4 kB / 0.5908 GB, free: 13.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=177): time 0.04232/0.7391, allocations: 16.21 MB / 0.6066 GB, free: 13.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.7392, allocations: 171.2 kB / 0.6068 GB, free: 13.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00506/0.7443, allocations: 3.646 MB / 0.6104 GB, free: 9.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003859/0.7447, allocations: 53.7 kB / 0.6104 GB, free: 9.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/0.7467, allocations: 2.799 MB / 0.6131 GB, free: 6.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007394/0.7475, allocations: 0.6788 MB / 0.6138 GB, free: 6.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/0.7491, allocations: 1.162 MB / 0.6149 GB, free: 4.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.7492, allocations: 309.1 kB / 0.6152 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.7526, allocations: 2.287 MB / 0.6175 GB, free: 2.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005586/0.7582, allocations: 5.635 MB / 0.623 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/0.7697, allocations: 8.544 MB / 0.6313 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/0.77, allocations: 36 kB / 0.6314 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.3685/1.138, allocations: 8.76 MB / 0.6399 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.139, allocations: 59.41 kB / 0.64 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/1.139, allocations: 118.1 kB / 0.6401 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003336/1.142, allocations: 1.228 MB / 0.6413 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/1.147, allocations: 1.294 MB / 0.6425 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.158, allocations: 7.696 MB / 0.6501 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005336/1.163, allocations: 332.3 kB / 0.6504 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.165, allocations: 343.8 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.004938/1.17, allocations: 1.975 MB / 0.6526 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.171, allocations: 318.3 kB / 0.6529 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007689/1.178, allocations: 3.929 MB / 0.6568 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-05/1.178, allocations: 19.59 kB / 0.6568 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.178, allocations: 10.09 kB / 0.6568 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/1.179, allocations: 12.36 kB / 0.6568 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/1.196, allocations: 8.929 MB / 0.6655 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.196, allocations: 5.828 kB / 0.6655 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/1.197, allocations: 278.1 kB / 0.6658 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/1.2, allocations: 1.053 MB / 0.6668 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/1.2, allocations: 34.75 kB / 0.6669 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007794/1.208, allocations: 7.25 MB / 0.6739 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.208, allocations: 4 kB / 0.6739 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008784/1.216, allocations: 6.852 MB / 0.6806 GB, free: 99.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.218, allocations: 0.6726 MB / 0.6813 GB, free: 99.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004286/1.219, allocations: 31.94 kB / 0.6813 GB, free: 99.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.22, allocations: 111.8 kB / 0.6814 GB, free: 99.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/1.221, allocations: 100.8 kB / 0.6815 GB, free: 98.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.221, allocations: 48 kB / 0.6816 GB, free: 98.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002995/1.224, allocations: 2.28 MB / 0.6838 GB, free: 96.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.01e-07/1.224, allocations: 0 / 0.6838 GB, free: 96.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005613/1.229, allocations: 0.9769 MB / 0.6848 GB, free: 95.71 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.0005491/1.23, allocations: 157.6 kB / 0.6849 GB, free: 95.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009439/1.239, allocations: 5.482 MB / 0.6903 GB, free: 90.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.239, allocations: 0 / 0.6903 GB, free: 90.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003023/1.242, allocations: 2.056 MB / 0.6923 GB, free: 88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/1.245, allocations: 393 kB / 0.6926 GB, free: 87.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.26, allocations: 8.941 MB / 0.7014 GB, free: 78.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/1.262, allocations: 3.06 MB / 0.7044 GB, free: 75.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003649/1.266, allocations: 1.806 MB / 0.7061 GB, free: 73.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/1.267, allocations: 231.4 kB / 0.7063 GB, free: 73.55 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/1.267, allocations: 0 / 0.7063 GB, free: 73.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.06011/1.327, allocations: 35.99 MB / 0.7415 GB, free: 37.64 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)