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.001297/0.001297, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 196.2 kB / 16.53 MB, free: 6.672 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.5/1.5, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.3707/0.3707, allocations: 39.94 MB / 309.7 MB, free: 9.301 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.001529/0.001529, allocations: 69.92 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1273, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01182/0.1392, allocations: 10.22 MB / 444.7 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008518/0.1478, allocations: 3.918 MB / 448.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.1503, allocations: 55.88 kB / 448.7 MB, free: 5.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004388/0.1547, allocations: 2.324 MB / 451 MB, free: 3.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.161, allocations: 1.72 MB / 452.7 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.1631, allocations: 0.7096 MB / 453.4 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2892/0.4522, allocations: 3.796 MB / 457.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003682/0.456, allocations: 3 MB / 460.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.4588, allocations: 1.368 MB / 461.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.4612, allocations: 1.856 MB / 463.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006547/0.4619, allocations: 306.2 kB / 463.8 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.4641, allocations: 1.182 MB / 464.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002107/0.4663, allocations: 1.713 MB / 466.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003969/0.4702, allocations: 2.024 MB / 468.7 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009137/0.4794, allocations: 6.521 MB / 475.2 MB, free: 32.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4795, allocations: 3.156 kB / 475.2 MB, free: 32.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4795, allocations: 0 / 475.2 MB, free: 32.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002886/0.4798, allocations: 0 / 475.2 MB, free: 32.61 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.01177/0.4916, allocations: 4.43 MB / 479.6 MB, free: 30.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4916, allocations: 13.08 kB / 479.6 MB, free: 30.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008758/0.5004, allocations: 2.058 MB / 481.7 MB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005906/0.5063, allocations: 2.446 MB / 484.1 MB, free: 28.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.5066, allocations: 208.8 kB / 484.3 MB, free: 28.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000879/0.5075, allocations: 279.7 kB / 484.6 MB, free: 28.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.5273, allocations: 9.288 MB / 493.9 MB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.5275, allocations: 40.98 kB / 493.9 MB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000487/0.528, allocations: 137 kB / 494.1 MB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00425/0.5323, allocations: 1.911 MB / 496 MB, free: 23.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.5541, allocations: 8.166 MB / 0.4923 GB, free: 21.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04808/0.6022, allocations: 36.41 MB / 0.5279 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008644/0.6109, allocations: 3.684 MB / 0.5315 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003383/0.6144, allocations: 2.072 MB / 0.5335 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.6149, allocations: 342.1 kB / 0.5339 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.042e-05/0.615, allocations: 47.56 kB / 0.5339 GB, free: 15.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 7.595e-06/0.615, allocations: 0 / 0.5339 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=177): time 0.04317/0.6582, allocations: 16.22 MB / 0.5497 GB, free: 14.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.6584, allocations: 179.1 kB / 0.5499 GB, free: 14.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006633/0.665, allocations: 3.646 MB / 0.5535 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006839/0.6658, allocations: 49.7 kB / 0.5535 GB, free: 10.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002652/0.6684, allocations: 2.796 MB / 0.5562 GB, free: 8.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001484/0.6699, allocations: 0.6902 MB / 0.5569 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/0.672, allocations: 1.15 MB / 0.558 GB, free: 6.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6722, allocations: 309 kB / 0.5583 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004009/0.6762, allocations: 2.291 MB / 0.5606 GB, free: 3.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01236/0.6886, allocations: 5.639 MB / 0.5661 GB, free: 12.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/0.7091, allocations: 8.548 MB / 0.5744 GB, free: 2.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/0.7093, allocations: 36 kB / 0.5745 GB, free: 2.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.03135/0.7407, allocations: 8.767 MB / 0.583 GB, free: 9.328 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.741, allocations: 55.94 kB / 0.5831 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004116/0.7415, allocations: 122.2 kB / 0.5832 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003643/0.7451, allocations: 1.222 MB / 0.5844 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005189/0.7503, allocations: 1.294 MB / 0.5857 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.7616, allocations: 7.7 MB / 0.5932 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006105/0.7677, allocations: 327.4 kB / 0.5935 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/0.7696, allocations: 340 kB / 0.5938 GB, free: 14.14 MB / 478.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.006909/0.7765, allocations: 1.977 MB / 0.5957 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002428/0.779, allocations: 319.8 kB / 0.596 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008958/0.788, allocations: 3.925 MB / 0.5999 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.353e-05/0.7881, allocations: 20 kB / 0.5999 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.7881, allocations: 8 kB / 0.5999 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/0.7881, allocations: 11.91 kB / 0.5999 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/0.8082, allocations: 9.044 MB / 0.6087 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.8082, allocations: 0 / 0.6087 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.8097, allocations: 275.6 kB / 0.609 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.8128, allocations: 1.058 MB / 0.61 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.8131, allocations: 28 kB / 0.6101 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/0.8238, allocations: 7.216 MB / 0.6171 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.8238, allocations: 2.156 kB / 0.6171 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2993/1.123, allocations: 6.842 MB / 0.6238 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/1.125, allocations: 0.6708 MB / 0.6245 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/1.126, allocations: 29.58 kB / 0.6245 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/1.128, allocations: 114.6 kB / 0.6246 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.128, allocations: 97.31 kB / 0.6247 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.128, allocations: 54.72 kB / 0.6247 GB, free: 143.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003726/1.132, allocations: 2.282 MB / 0.627 GB, free: 143.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.132, allocations: 0 / 0.627 GB, free: 143.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005734/1.138, allocations: 0.9671 MB / 0.6279 GB, free: 143.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.000524/1.138, allocations: 164.1 kB / 0.6281 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01136/1.15, allocations: 6.504 MB / 0.6344 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.15, allocations: 0 / 0.6344 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004376/1.154, allocations: 2.042 MB / 0.6364 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/1.158, allocations: 394.6 kB / 0.6368 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.179, allocations: 9.024 MB / 0.6456 GB, free: 137.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004294/1.183, allocations: 3.071 MB / 0.6486 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005624/1.189, allocations: 1.803 MB / 0.6504 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008134/1.19, allocations: 232.9 kB / 0.6506 GB, free: 136.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.004e-06/1.19, allocations: 3.5 kB / 0.6506 GB, free: 136.1 MB / 494.1 MB Notification: Performance of Templates: time 0.08324/1.273, allocations: 38.74 MB / 0.6884 GB, free: 117 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)