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.001456/0.001456, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001843/0.001843, allocations: 192.6 kB / 16.14 MB, free: 6.652 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.646/1.646, allocations: 205.1 MB / 222 MB, free: 4.715 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.3547/0.3547, allocations: 39.94 MB / 309.3 MB, free: 9.621 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.001343/0.001343, allocations: 59.92 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1407, allocations: 56.89 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3123/0.453, allocations: 41.68 MB / 475.5 MB, free: 29.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02206/0.4752, allocations: 9.259 MB / 484.7 MB, free: 23.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009921/0.4852, allocations: 175.8 kB / 484.9 MB, free: 23.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.4893, allocations: 2.299 MB / 487.2 MB, free: 22.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004563/0.4939, allocations: 1.614 MB / 488.8 MB, free: 22.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.4953, allocations: 0.6518 MB / 489.5 MB, free: 21.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005113/0.5004, allocations: 5.458 MB / 494.9 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.5034, allocations: 2.91 MB / 497.8 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.5053, allocations: 1.192 MB / 499 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00357/0.5088, allocations: 1.981 MB / 0.4893 GB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009424/0.5098, allocations: 204.9 kB / 0.4895 GB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.5128, allocations: 1.145 MB / 0.4906 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002271/0.5151, allocations: 1.65 MB / 0.4922 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.5177, allocations: 1.939 MB / 0.4941 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.5296, allocations: 6.45 MB / 0.5004 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.5297, allocations: 0 / 0.5004 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5297, allocations: 0 / 0.5004 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004094/0.5301, allocations: 1.031 kB / 0.5004 GB, free: 13.68 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.0151/0.5452, allocations: 4.421 MB / 0.5047 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5453, allocations: 12.7 kB / 0.5047 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0086/0.5539, allocations: 2.063 MB / 0.5067 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005833/0.5598, allocations: 2.452 MB / 0.5091 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.56, allocations: 211 kB / 0.5093 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000764/0.5608, allocations: 278.9 kB / 0.5096 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.5756, allocations: 9.279 MB / 0.5187 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.5757, allocations: 47.58 kB / 0.5187 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003425/0.5761, allocations: 131.9 kB / 0.5188 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002761/0.5788, allocations: 1.919 MB / 0.5207 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.595, allocations: 8.164 MB / 0.5287 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05041/0.6455, allocations: 36.42 MB / 0.5642 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008172/0.6537, allocations: 3.67 MB / 0.5678 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003085/0.6568, allocations: 2.076 MB / 0.5699 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/0.6573, allocations: 340.1 kB / 0.5702 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.6574, allocations: 55.5 kB / 0.5702 GB, free: 11.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 5.861e-06/0.6574, allocations: 4 kB / 0.5702 GB, free: 11.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.04165/0.699, allocations: 16.2 MB / 0.5861 GB, free: 11.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6992, allocations: 171.2 kB / 0.5862 GB, free: 10.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/0.7047, allocations: 3.646 MB / 0.5898 GB, free: 7.348 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000429/0.7051, allocations: 53.7 kB / 0.5898 GB, free: 7.289 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001809/0.707, allocations: 2.803 MB / 0.5926 GB, free: 4.449 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008153/0.7078, allocations: 0.6787 MB / 0.5932 GB, free: 3.762 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.7093, allocations: 1.158 MB / 0.5944 GB, free: 2.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7094, allocations: 305.1 kB / 0.5947 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/0.7129, allocations: 2.295 MB / 0.5969 GB, free: 15.99 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006464/0.7194, allocations: 5.643 MB / 0.6024 GB, free: 8.676 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.7315, allocations: 8.547 MB / 0.6108 GB, free: 14.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.7317, allocations: 36 kB / 0.6108 GB, free: 14.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02144/0.7532, allocations: 8.752 MB / 0.6193 GB, free: 5.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.7533, allocations: 59.94 kB / 0.6194 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/0.7535, allocations: 116 kB / 0.6195 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.7565, allocations: 1.226 MB / 0.6207 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005386/0.7619, allocations: 1.302 MB / 0.622 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3155/1.077, allocations: 7.195 MB / 0.629 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006763/1.084, allocations: 329 kB / 0.6293 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/1.087, allocations: 346 kB / 0.6296 GB, free: 142.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.00587/1.093, allocations: 1.965 MB / 0.6316 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.094, allocations: 323.7 kB / 0.6319 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007074/1.101, allocations: 3.936 MB / 0.6357 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.403e-05/1.101, allocations: 22.44 kB / 0.6357 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/1.101, allocations: 3.062 kB / 0.6357 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/1.101, allocations: 14.36 kB / 0.6358 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/1.12, allocations: 9.026 MB / 0.6446 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.12, allocations: 3.422 kB / 0.6446 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/1.122, allocations: 272.4 kB / 0.6448 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/1.124, allocations: 1.059 MB / 0.6459 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002825/1.125, allocations: 32.52 kB / 0.6459 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009187/1.134, allocations: 6.721 MB / 0.6525 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.134, allocations: 0 / 0.6525 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.149, allocations: 6.841 MB / 0.6591 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/1.151, allocations: 0.6812 MB / 0.6598 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007212/1.152, allocations: 31.47 kB / 0.6598 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.153, allocations: 113.2 kB / 0.6599 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004772/1.154, allocations: 103.9 kB / 0.66 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/1.154, allocations: 46.31 kB / 0.6601 GB, free: 130.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006394/1.161, allocations: 2.281 MB / 0.6623 GB, free: 129.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.82e-07/1.161, allocations: 0 / 0.6623 GB, free: 129.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00925/1.17, allocations: 0.9762 MB / 0.6633 GB, free: 129.4 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.0009095/1.171, allocations: 161.2 kB / 0.6634 GB, free: 129.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.013/1.184, allocations: 5.465 MB / 0.6688 GB, free: 127.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.184, allocations: 3.25 kB / 0.6688 GB, free: 127.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004144/1.188, allocations: 2.038 MB / 0.6708 GB, free: 126.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/1.192, allocations: 364.8 kB / 0.6711 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.217, allocations: 10.85 MB / 0.6817 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/1.221, allocations: 3.062 MB / 0.6847 GB, free: 119.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004635/1.226, allocations: 1.809 MB / 0.6865 GB, free: 119.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008558/1.227, allocations: 231.1 kB / 0.6867 GB, free: 119.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/1.227, allocations: 0 / 0.6867 GB, free: 119.1 MB / 494.1 MB Notification: Performance of Templates: time 0.08112/1.308, allocations: 37.35 MB / 0.7231 GB, free: 83.41 MB / 494.1 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)