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.001029/0.00103, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009047/0.009047, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.773/1.773, allocations: 205.4 MB / 222.5 MB, free: 5.801 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.4493/0.4493, allocations: 40 MB / 310.7 MB, free: 9.762 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.001001/0.001001, allocations: 16.56 kB / 379.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1503, allocations: 57.96 MB / 437.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.3009/0.4513, allocations: 25.78 MB / 463.2 MB, free: 34.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.4645, allocations: 5.492 MB / 468.7 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006262/0.4708, allocations: 99.91 kB / 468.8 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009108/0.4717, allocations: 201.9 kB / 469 MB, free: 33.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.4735, allocations: 0.5037 MB / 469.5 MB, free: 33.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.4746, allocations: 383 kB / 469.9 MB, free: 33.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.4768, allocations: 1.961 MB / 471.8 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/0.4792, allocations: 1.886 MB / 473.7 MB, free: 32.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.4798, allocations: 484.2 kB / 474.2 MB, free: 32.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009207/0.4808, allocations: 0.7845 MB / 475 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.4809, allocations: 64.91 kB / 475 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009582/0.4819, allocations: 0.5732 MB / 475.6 MB, free: 32.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006613/0.4825, allocations: 0.7513 MB / 476.3 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006437/0.4832, allocations: 0.8728 MB / 477.2 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.4855, allocations: 2.646 MB / 479.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4855, allocations: 0 / 479.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4855, allocations: 0 / 479.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.4855, allocations: 0 / 479.9 MB, free: 30.54 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.003986/0.4895, allocations: 2.018 MB / 481.9 MB, free: 29.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4896, allocations: 9.438 kB / 481.9 MB, free: 29.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.4906, allocations: 277.4 kB / 482.2 MB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.4917, allocations: 0.8629 MB / 483 MB, free: 28.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/0.4918, allocations: 112.1 kB / 483.1 MB, free: 28.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.4921, allocations: 153.2 kB / 483.3 MB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006898/0.499, allocations: 4.931 MB / 488.2 MB, free: 26.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.4991, allocations: 11 kB / 488.2 MB, free: 26.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.4992, allocations: 65.11 kB / 488.3 MB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001449/0.5007, allocations: 1.005 MB / 489.3 MB, free: 26.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008783/0.5095, allocations: 3.82 MB / 493.1 MB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02603/0.5356, allocations: 16.6 MB / 0.4978 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/0.5402, allocations: 1.266 MB / 0.499 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.5412, allocations: 0.7963 MB / 0.4998 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005782/0.547, allocations: 4.26 MB / 0.5039 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.5471, allocations: 38.36 kB / 0.504 GB, free: 11.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.246e-06/0.5471, allocations: 4 kB / 0.504 GB, free: 11.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.00686/0.554, allocations: 1.97 MB / 0.5059 GB, free: 10.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.554, allocations: 111.8 kB / 0.506 GB, free: 10.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/0.5567, allocations: 1.607 MB / 0.5076 GB, free: 9.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.5567, allocations: 35.73 kB / 0.5076 GB, free: 9.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/0.5576, allocations: 1.391 MB / 0.509 GB, free: 8.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.5578, allocations: 196 kB / 0.5092 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.558, allocations: 207.4 kB / 0.5094 GB, free: 8.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5582, allocations: 353.9 kB / 0.5097 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008681/0.559, allocations: 0.5724 MB / 0.5103 GB, free: 7.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.5606, allocations: 2.096 MB / 0.5123 GB, free: 5.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.5632, allocations: 2.892 MB / 0.5151 GB, free: 2.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.032e-05/0.5633, allocations: 16.41 kB / 0.5151 GB, free: 2.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.00368/0.567, allocations: 2.564 MB / 0.5176 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.567, allocations: 28.03 kB / 0.5177 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.463e-05/0.5671, allocations: 62.31 kB / 0.5177 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.16e-05/0.5672, allocations: 75.03 kB / 0.5178 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.5686, allocations: 0.5523 MB / 0.5183 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.96e-05/0.5687, allocations: 107.6 kB / 0.5184 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.5704, allocations: 328.5 kB / 0.5188 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.5705, allocations: 144 kB / 0.5189 GB, free: 15.91 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.001474/0.572, allocations: 0.8556 MB / 0.5197 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.5723, allocations: 138.2 kB / 0.5199 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.5726, allocations: 165.3 kB / 0.52 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5726, allocations: 4 kB / 0.52 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.5726, allocations: 0 / 0.52 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5726, allocations: 7.984 kB / 0.52 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.578, allocations: 3.044 MB / 0.523 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.578, allocations: 12.97 kB / 0.523 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.5784, allocations: 101.5 kB / 0.5231 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.331e-05/0.5784, allocations: 16 kB / 0.5231 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.5785, allocations: 27.98 kB / 0.5232 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.7e-05/0.5785, allocations: 19.94 kB / 0.5232 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/0.5785, allocations: 19.88 kB / 0.5232 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.5799, allocations: 0.9929 MB / 0.5242 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.5804, allocations: 235.2 kB / 0.5244 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.5805, allocations: 24 kB / 0.5244 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.581, allocations: 27.86 kB / 0.5244 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.5811, allocations: 71.7 kB / 0.5245 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.5812, allocations: 24 kB / 0.5245 GB, free: 9.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001834/0.583, allocations: 0.998 MB / 0.5255 GB, free: 8.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.583, allocations: 0 / 0.5255 GB, free: 8.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002402/0.5854, allocations: 497.9 kB / 0.526 GB, free: 8.281 MB / 398.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.0002427/0.5857, allocations: 134.9 kB / 0.5261 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.5884, allocations: 1.367 MB / 0.5274 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.5884, allocations: 7.938 kB / 0.5275 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.5888, allocations: 270.2 kB / 0.5277 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.5917, allocations: 189.2 kB / 0.5279 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/0.599, allocations: 4.543 MB / 0.5323 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/0.6011, allocations: 1.702 MB / 0.534 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00179/0.6029, allocations: 0.6217 MB / 0.5346 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.6031, allocations: 99.44 kB / 0.5347 GB, free: 15.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/0.6032, allocations: 0 / 0.5347 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Templates: time 0.02681/0.63, allocations: 10.39 MB / 0.5448 GB, free: 4.84 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: