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.001158/0.001158, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001268/0.001268, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4072/0.4072, allocations: 38.03 MB / 308.4 MB, free: 10.54 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.0006579/0.000658, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1361, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2849/0.4211, allocations: 22.75 MB / 456.7 MB, free: 33.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.434, allocations: 5.444 MB / 462.1 MB, free: 33.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005631/0.4396, allocations: 101.3 kB / 462.2 MB, free: 33.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004215/0.4439, allocations: 1.076 MB / 463.3 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.4572, allocations: 3.149 MB / 466.4 MB, free: 32.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.4589, allocations: 303.3 kB / 466.7 MB, free: 32.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.4606, allocations: 0.7647 MB / 467.5 MB, free: 32.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.4629, allocations: 1.679 MB / 469.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.4637, allocations: 414.4 kB / 469.6 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/0.4646, allocations: 0.5521 MB / 470.1 MB, free: 32.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.4647, allocations: 63.41 kB / 470.2 MB, free: 32.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008963/0.4656, allocations: 427.8 kB / 470.6 MB, free: 32.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.4662, allocations: 0.6726 MB / 471.3 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.4665, allocations: 369.1 kB / 471.7 MB, free: 32.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.4682, allocations: 2.14 MB / 473.8 MB, free: 31.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4682, allocations: 0 / 473.8 MB, free: 31.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4682, allocations: 3.938 kB / 473.8 MB, free: 31.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.4683, allocations: 4 kB / 473.8 MB, free: 31.84 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.0039/0.4722, allocations: 2.139 MB / 475.9 MB, free: 30.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4722, allocations: 10.83 kB / 475.9 MB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.4734, allocations: 282.5 kB / 476.2 MB, free: 30.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.4747, allocations: 0.8668 MB / 477.1 MB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.4748, allocations: 111.9 kB / 477.2 MB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.4751, allocations: 140.5 kB / 477.3 MB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007351/0.4824, allocations: 4.987 MB / 482.3 MB, free: 29.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.4825, allocations: 11.55 kB / 482.3 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.4827, allocations: 70.41 kB / 482.4 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001431/0.4841, allocations: 0.9917 MB / 483.4 MB, free: 29.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007244/0.4913, allocations: 3.898 MB / 487.3 MB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.5146, allocations: 16.46 MB / 0.4919 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/0.5192, allocations: 1.281 MB / 0.4932 GB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007116/0.5264, allocations: 4.082 MB / 0.4972 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.5265, allocations: 45.48 kB / 0.4972 GB, free: 15.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.747e-06/0.5265, allocations: 0 / 0.4972 GB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.006951/0.5334, allocations: 1.775 MB / 0.499 GB, free: 15.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.5335, allocations: 108.1 kB / 0.4991 GB, free: 15.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/0.5371, allocations: 1.598 MB / 0.5006 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.5372, allocations: 34.7 kB / 0.5007 GB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.5383, allocations: 1.403 MB / 0.502 GB, free: 13.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.5385, allocations: 177.8 kB / 0.5022 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.5387, allocations: 49.75 kB / 0.5022 GB, free: 12.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.5389, allocations: 452.3 kB / 0.5027 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.54, allocations: 0.508 MB / 0.5032 GB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.5418, allocations: 2.044 MB / 0.5052 GB, free: 9.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.5435, allocations: 0.9625 MB / 0.5061 GB, free: 9.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-05/0.5436, allocations: 16.94 kB / 0.5061 GB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004714/0.5484, allocations: 2.441 MB / 0.5085 GB, free: 8.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/0.5484, allocations: 28 kB / 0.5085 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.453e-05/0.5485, allocations: 57.09 kB / 0.5086 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.444e-05/0.5486, allocations: 80.69 kB / 0.5087 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.5502, allocations: 0.5482 MB / 0.5092 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.654e-05/0.5503, allocations: 111.6 kB / 0.5093 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.5524, allocations: 335.8 kB / 0.5096 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.5526, allocations: 142.5 kB / 0.5098 GB, free: 7.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * 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 (295): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001644/0.5542, allocations: 0.8643 MB / 0.5106 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.5546, allocations: 135.4 kB / 0.5107 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.5549, allocations: 153.1 kB / 0.5109 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.555, allocations: 8.125 kB / 0.5109 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.555, allocations: 1.375 kB / 0.5109 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.555, allocations: 9.297 kB / 0.5109 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/0.5606, allocations: 3.277 MB / 0.5141 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.5606, allocations: 11.5 kB / 0.5141 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.5609, allocations: 105.9 kB / 0.5142 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/0.561, allocations: 21.48 kB / 0.5142 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.561, allocations: 27.81 kB / 0.5143 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/0.561, allocations: 22.52 kB / 0.5143 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.561, allocations: 18.12 kB / 0.5143 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.5622, allocations: 1.654 MB / 0.5159 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/0.5628, allocations: 229.2 kB / 0.5161 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.5631, allocations: 28.8 kB / 0.5162 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.5637, allocations: 27.7 kB / 0.5162 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.5638, allocations: 75.08 kB / 0.5163 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.5639, allocations: 28.97 kB / 0.5163 GB, free: 2.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001484/0.5654, allocations: 0.977 MB / 0.5172 GB, free: 2.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5654, allocations: 2.844 kB / 0.5172 GB, free: 2.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00264/0.568, allocations: 483.5 kB / 0.5177 GB, free: 1.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002326/0.5682, allocations: 143 kB / 0.5178 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.5704, allocations: 1.257 MB / 0.5191 GB, free: 252 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.5704, allocations: 4 kB / 0.5191 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.5707, allocations: 234.4 kB / 0.5193 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.5718, allocations: 175.4 kB / 0.5195 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/0.5806, allocations: 4.313 MB / 0.5237 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002887/0.5836, allocations: 1.753 MB / 0.5254 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001977/0.5856, allocations: 0.6139 MB / 0.526 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.5859, allocations: 103.4 kB / 0.5261 GB, free: 8.824 MB / 398.1 MB Notification: Performance of SimCode: time 1.041e-06/0.5859, allocations: 0 / 0.5261 GB, free: 8.824 MB / 398.1 MB Notification: Performance of Templates: time 0.02466/0.6106, allocations: 9.749 MB / 0.5356 GB, free: 15.14 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: