Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009804/0.009804, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001535/0.001535, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1928/0.1928, allocations: 38 MB / 307.9 MB, free: 5.988 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.1. 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.00248/0.00248, allocations: 69.78 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1529, allocations: 56.47 MB / 489.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01107/0.1641, allocations: 9.167 MB / 498.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005694/0.1698, allocations: 2.705 MB / 0.4896 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009306/0.1708, allocations: 39.94 kB / 0.4896 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.1733, allocations: 1.324 MB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.1745, allocations: 0.5675 MB / 0.4915 GB, free: 8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.1754, allocations: 423.1 kB / 0.4919 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.1768, allocations: 1.242 MB / 0.4931 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.1782, allocations: 1.285 MB / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007708/0.1789, allocations: 0.6071 MB / 0.4949 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009903/0.1799, allocations: 0.8447 MB / 0.4958 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.1801, allocations: 128 kB / 0.4959 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008118/0.181, allocations: 0.5772 MB / 0.4965 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006913/0.1817, allocations: 0.8142 MB / 0.4972 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008005/0.1825, allocations: 0.9239 MB / 0.4981 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.1851, allocations: 2.845 MB / 0.5009 GB, free: 14.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1851, allocations: 4 kB / 0.5009 GB, free: 14.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1851, allocations: 0 / 0.5009 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.427e-05/0.1852, allocations: 0 / 0.5009 GB, free: 14.25 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.003962/0.1892, allocations: 2.376 MB / 0.5033 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1892, allocations: 11.89 kB / 0.5033 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/0.1902, allocations: 265.8 kB / 0.5035 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.1915, allocations: 0.8848 MB / 0.5044 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/0.1916, allocations: 103.1 kB / 0.5045 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.1919, allocations: 152 kB / 0.5046 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007102/0.199, allocations: 4.912 MB / 0.5094 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.199, allocations: 15.88 kB / 0.5094 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.1992, allocations: 67.94 kB / 0.5095 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/0.2007, allocations: 1.003 MB / 0.5105 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007234/0.208, allocations: 3.819 MB / 0.5142 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2394/0.4474, allocations: 16.47 MB / 0.5303 GB, free: 45.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/0.4516, allocations: 1.258 MB / 0.5315 GB, free: 45.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.4527, allocations: 0.7993 MB / 0.5323 GB, free: 45.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005473/0.4581, allocations: 4.278 MB / 0.5365 GB, free: 43.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4582, allocations: 42.27 kB / 0.5365 GB, free: 43.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.4582, allocations: 0 / 0.5365 GB, free: 43.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.006759/0.465, allocations: 1.969 MB / 0.5384 GB, free: 42.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.4651, allocations: 115.7 kB / 0.5386 GB, free: 42.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.4674, allocations: 1.598 MB / 0.5401 GB, free: 42.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.4674, allocations: 36.78 kB / 0.5402 GB, free: 42.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.4685, allocations: 1.384 MB / 0.5415 GB, free: 40.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4687, allocations: 190.7 kB / 0.5417 GB, free: 40.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006469/0.4693, allocations: 480.4 kB / 0.5421 GB, free: 40.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4695, allocations: 354.8 kB / 0.5425 GB, free: 40.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008333/0.4703, allocations: 0.5749 MB / 0.543 GB, free: 40.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.4718, allocations: 2.094 MB / 0.5451 GB, free: 37.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.4744, allocations: 2.897 MB / 0.5479 GB, free: 35.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.261e-05/0.4744, allocations: 15.92 kB / 0.5479 GB, free: 35.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.003945/0.4784, allocations: 2.563 MB / 0.5504 GB, free: 34.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.4784, allocations: 28.12 kB / 0.5505 GB, free: 34.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.448e-05/0.4785, allocations: 59.14 kB / 0.5505 GB, free: 34.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.898e-05/0.4786, allocations: 70.94 kB / 0.5506 GB, free: 34.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.48, allocations: 0.5488 MB / 0.5511 GB, free: 34.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.612e-05/0.4801, allocations: 106.6 kB / 0.5512 GB, free: 34.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.4817, allocations: 338.4 kB / 0.5515 GB, free: 33.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.4819, allocations: 144.4 kB / 0.5517 GB, free: 33.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 33 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.4829, allocations: 0.8626 MB / 0.5525 GB, free: 33.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.4831, allocations: 132.9 kB / 0.5527 GB, free: 33.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.4833, allocations: 159.2 kB / 0.5528 GB, free: 33.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4834, allocations: 8.719 kB / 0.5528 GB, free: 33.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.4834, allocations: 5.219 kB / 0.5528 GB, free: 33.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4834, allocations: 5.031 kB / 0.5528 GB, free: 33.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.4871, allocations: 3.055 MB / 0.5558 GB, free: 31.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4871, allocations: 7.75 kB / 0.5558 GB, free: 31.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.4874, allocations: 109.9 kB / 0.5559 GB, free: 31.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.4875, allocations: 11.75 kB / 0.5559 GB, free: 31.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.4875, allocations: 23.69 kB / 0.556 GB, free: 31.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.4875, allocations: 19.55 kB / 0.556 GB, free: 31.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.4875, allocations: 19.62 kB / 0.556 GB, free: 31.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007591/0.4883, allocations: 0.9922 MB / 0.557 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.4885, allocations: 228.3 kB / 0.5572 GB, free: 30.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.4887, allocations: 21.75 kB / 0.5572 GB, free: 30.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.4891, allocations: 26.2 kB / 0.5572 GB, free: 30.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.4892, allocations: 75.23 kB / 0.5573 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.4892, allocations: 26.06 kB / 0.5573 GB, free: 30.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001035/0.4903, allocations: 0.9906 MB / 0.5583 GB, free: 30.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4903, allocations: 0 / 0.5583 GB, free: 30.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00179/0.4921, allocations: 499.9 kB / 0.5588 GB, free: 30.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.4922, allocations: 137.7 kB / 0.5589 GB, free: 30.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.4939, allocations: 1.39 MB / 0.5603 GB, free: 29.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.4939, allocations: 1.031 kB / 0.5603 GB, free: 29.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.4942, allocations: 279.3 kB / 0.5605 GB, free: 29.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008777/0.4951, allocations: 183.5 kB / 0.5607 GB, free: 29.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.4991, allocations: 3.589 MB / 0.5642 GB, free: 27.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.5002, allocations: 1.701 MB / 0.5659 GB, free: 25.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001099/0.5013, allocations: 0.6149 MB / 0.5665 GB, free: 25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.5015, allocations: 99.44 kB / 0.5666 GB, free: 24.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5015, allocations: 0 / 0.5666 GB, free: 24.91 MB / 414.1 MB Notification: Performance of Templates: time 0.01713/0.5186, allocations: 11.46 MB / 0.5777 GB, free: 13.5 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)