Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.01007/0.01007, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001754/0.001754, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.205/0.205, allocations: 39.96 MB / 309.9 MB, free: 4.039 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.001381/0.001381, allocations: 67.91 kB / 435.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1418, allocations: 56.88 MB / 492.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01234/0.1542, allocations: 9.171 MB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006543/0.1608, allocations: 2.717 MB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.1624, allocations: 39.94 kB / 0.4928 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.1654, allocations: 1.304 MB / 0.494 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.1669, allocations: 0.5441 MB / 0.4946 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1681, allocations: 419.1 kB / 0.495 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.1699, allocations: 1.25 MB / 0.4962 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.1717, allocations: 1.281 MB / 0.4974 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009727/0.1727, allocations: 0.6033 MB / 0.498 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.174, allocations: 0.8447 MB / 0.4989 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.1744, allocations: 128 kB / 0.499 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1755, allocations: 0.5811 MB / 0.4995 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008985/0.1764, allocations: 0.8064 MB / 0.5003 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.1777, allocations: 0.9394 MB / 0.5013 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.1812, allocations: 2.863 MB / 0.504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1812, allocations: 0 / 0.504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1812, allocations: 0 / 0.504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001197/0.1813, allocations: 0 / 0.504 GB, free: 11.16 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.004919/0.1863, allocations: 2.416 MB / 0.5064 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1863, allocations: 11.89 kB / 0.5064 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1873, allocations: 283.2 kB / 0.5067 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.1887, allocations: 0.8775 MB / 0.5075 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-05/0.1887, allocations: 111.1 kB / 0.5076 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.189, allocations: 148.1 kB / 0.5078 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008111/0.1971, allocations: 4.912 MB / 0.5126 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.1972, allocations: 15.88 kB / 0.5126 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.1973, allocations: 71.92 kB / 0.5127 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001664/0.199, allocations: 0.9989 MB / 0.5136 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2795/0.4785, allocations: 3.819 MB / 0.5174 GB, free: 30.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.5029, allocations: 16.51 MB / 0.5335 GB, free: 20.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.5073, allocations: 1.265 MB / 0.5347 GB, free: 19.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009472/0.5083, allocations: 0.7966 MB / 0.5355 GB, free: 19.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004842/0.5131, allocations: 4.27 MB / 0.5397 GB, free: 16.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.5132, allocations: 37.11 kB / 0.5397 GB, free: 16.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.5132, allocations: 2.344 kB / 0.5397 GB, free: 16.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.006211/0.5194, allocations: 1.977 MB / 0.5417 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.5195, allocations: 116.2 kB / 0.5418 GB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.5214, allocations: 1.61 MB / 0.5433 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.5214, allocations: 30.73 kB / 0.5434 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/0.5221, allocations: 1.447 MB / 0.5448 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.5223, allocations: 196.8 kB / 0.545 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004846/0.5228, allocations: 487.1 kB / 0.5454 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.5229, allocations: 357.7 kB / 0.5458 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.5235, allocations: 0.5727 MB / 0.5463 GB, free: 12.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.5247, allocations: 2.101 MB / 0.5484 GB, free: 10.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.5266, allocations: 2.886 MB / 0.5512 GB, free: 7.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.5266, allocations: 23.25 kB / 0.5512 GB, free: 7.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.002795/0.5294, allocations: 2.568 MB / 0.5537 GB, free: 5.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.5295, allocations: 28.94 kB / 0.5538 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/0.5295, allocations: 56 kB / 0.5538 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-05/0.5296, allocations: 75.94 kB / 0.5539 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.5309, allocations: 0.5536 MB / 0.5544 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.162e-05/0.5309, allocations: 103.6 kB / 0.5545 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.5323, allocations: 345.5 kB / 0.5549 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.5324, allocations: 144 kB / 0.555 GB, free: 3.781 MB / 398.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.0008678/0.5333, allocations: 0.8634 MB / 0.5558 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.5334, allocations: 143 kB / 0.556 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.5336, allocations: 157.4 kB / 0.5561 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5336, allocations: 4 kB / 0.5561 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5337, allocations: 4 kB / 0.5561 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5337, allocations: 7.922 kB / 0.5561 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.5371, allocations: 3.049 MB / 0.5591 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.5371, allocations: 12 kB / 0.5591 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.5374, allocations: 104.7 kB / 0.5592 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.5374, allocations: 12 kB / 0.5592 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.5375, allocations: 24 kB / 0.5593 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/0.5375, allocations: 23.86 kB / 0.5593 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.5375, allocations: 15.94 kB / 0.5593 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009681/0.5385, allocations: 1.009 MB / 0.5603 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5387, allocations: 228 kB / 0.5605 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5389, allocations: 23.94 kB / 0.5605 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.5393, allocations: 27.98 kB / 0.5606 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.5394, allocations: 63.7 kB / 0.5606 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.5395, allocations: 35.45 kB / 0.5606 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.5407, allocations: 0.998 MB / 0.5616 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.5407, allocations: 0 / 0.5616 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001704/0.5424, allocations: 0.4985 MB / 0.5621 GB, free: 12.12 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.0001695/0.5426, allocations: 126.9 kB / 0.5622 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.5444, allocations: 1.394 MB / 0.5636 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5444, allocations: 8.125 kB / 0.5636 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.5448, allocations: 269.8 kB / 0.5639 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/0.5457, allocations: 192.9 kB / 0.564 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.5507, allocations: 3.637 MB / 0.5676 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.5521, allocations: 1.71 MB / 0.5693 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001317/0.5535, allocations: 0.6178 MB / 0.5699 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.5537, allocations: 95.42 kB / 0.57 GB, free: 3.883 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5537, allocations: 0 / 0.57 GB, free: 3.883 MB / 414.1 MB Notification: Performance of Templates: time 0.02126/0.575, allocations: 11.45 MB / 0.5811 GB, free: 8.473 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)