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.008327/0.008328, allocations: 103 kB / 15.73 MB, free: 6.035 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.00157/0.001571, allocations: 201.5 kB / 16.68 MB, free: 5.957 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.725/1.725, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.4398/0.4398, allocations: 39.94 MB / 309.8 MB, free: 9.648 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.002352/0.002352, allocations: 67.91 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4309, allocations: 56.88 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.0108/0.4417, allocations: 9.179 MB / 0.4901 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.4497, allocations: 2.696 MB / 0.4927 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.4523, allocations: 41.06 kB / 0.4927 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.4553, allocations: 1.317 MB / 0.494 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.4576, allocations: 0.5396 MB / 0.4946 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.4592, allocations: 414.7 kB / 0.495 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.4619, allocations: 1.257 MB / 0.4962 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.4637, allocations: 1.284 MB / 0.4974 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.4647, allocations: 0.6099 MB / 0.498 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.4659, allocations: 0.8458 MB / 0.4989 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.4662, allocations: 126.9 kB / 0.499 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.4675, allocations: 0.5848 MB / 0.4996 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009157/0.4685, allocations: 0.8088 MB / 0.5003 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.4695, allocations: 0.9292 MB / 0.5012 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004714/0.4742, allocations: 2.843 MB / 0.504 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.4743, allocations: 0 / 0.504 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4743, allocations: 0 / 0.504 GB, free: 4.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001142/0.4744, allocations: 1.219 kB / 0.504 GB, free: 4.473 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.006965/0.4814, allocations: 2.363 MB / 0.5063 GB, free: 2.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4814, allocations: 17.36 kB / 0.5064 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.4826, allocations: 270 kB / 0.5066 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.4844, allocations: 0.883 MB / 0.5075 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.577e-05/0.4845, allocations: 102.9 kB / 0.5076 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/0.4849, allocations: 157.6 kB / 0.5077 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.4953, allocations: 4.917 MB / 0.5125 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.4954, allocations: 12.59 kB / 0.5125 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.4956, allocations: 66.19 kB / 0.5126 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/0.4977, allocations: 1.002 MB / 0.5136 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009505/0.5072, allocations: 3.819 MB / 0.5173 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02605/0.5333, allocations: 16.48 MB / 0.5334 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/0.5379, allocations: 1.259 MB / 0.5346 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.5389, allocations: 0.8008 MB / 0.5354 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007236/0.5462, allocations: 4.273 MB / 0.5396 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.5463, allocations: 38.89 kB / 0.5396 GB, free: 3.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.5463, allocations: 0 / 0.5396 GB, free: 3.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.006762/0.553, allocations: 1.966 MB / 0.5415 GB, free: 1.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.5531, allocations: 122.9 kB / 0.5417 GB, free: 1.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.5555, allocations: 1.603 MB / 0.5432 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.5556, allocations: 33.7 kB / 0.5433 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009678/0.5566, allocations: 1.379 MB / 0.5446 GB, free: 14.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.5568, allocations: 197.7 kB / 0.5448 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/0.5575, allocations: 475.8 kB / 0.5452 GB, free: 13.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5577, allocations: 357.9 kB / 0.5456 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008866/0.5586, allocations: 0.5706 MB / 0.5461 GB, free: 12.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.5609, allocations: 2.097 MB / 0.5482 GB, free: 9.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004352/0.5652, allocations: 2.901 MB / 0.551 GB, free: 5.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.9e-05/0.5653, allocations: 16 kB / 0.551 GB, free: 5.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004765/0.5701, allocations: 2.56 MB / 0.5535 GB, free: 3.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.5701, allocations: 35.88 kB / 0.5536 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.363e-05/0.5702, allocations: 56 kB / 0.5536 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.5703, allocations: 68 kB / 0.5537 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.5719, allocations: 0.5459 MB / 0.5542 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.432e-05/0.572, allocations: 107.6 kB / 0.5543 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.5739, allocations: 332.5 kB / 0.5546 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.5741, allocations: 147.9 kB / 0.5548 GB, free: 2.113 MB / 430.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.001814/0.576, allocations: 0.8636 MB / 0.5556 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.5762, allocations: 138.2 kB / 0.5558 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.5765, allocations: 161.4 kB / 0.5559 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.5765, allocations: 4 kB / 0.5559 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.5766, allocations: 4 kB / 0.5559 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5766, allocations: 7.984 kB / 0.5559 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/0.582, allocations: 3.045 MB / 0.5589 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.582, allocations: 12 kB / 0.5589 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.5824, allocations: 99.83 kB / 0.559 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.316e-05/0.5824, allocations: 16 kB / 0.559 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.5824, allocations: 20 kB / 0.559 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.978e-05/0.5825, allocations: 23.92 kB / 0.5591 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/0.5825, allocations: 19.88 kB / 0.5591 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.5837, allocations: 1.001 MB / 0.5601 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.584, allocations: 223.2 kB / 0.5603 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.5842, allocations: 24 kB / 0.5603 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.5847, allocations: 35.92 kB / 0.5603 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.5848, allocations: 63.7 kB / 0.5604 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.5848, allocations: 28 kB / 0.5604 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001417/0.5862, allocations: 0.9902 MB / 0.5614 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5863, allocations: 0 / 0.5614 GB, free: 10.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002526/0.5888, allocations: 494.1 kB / 0.5619 GB, free: 10.48 MB / 446.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.0002871/0.5891, allocations: 142.9 kB / 0.562 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.5914, allocations: 1.389 MB / 0.5633 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.5915, allocations: 0 / 0.5633 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.5918, allocations: 278.5 kB / 0.5636 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.5929, allocations: 174.3 kB / 0.5638 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/0.5995, allocations: 3.598 MB / 0.5673 GB, free: 4.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.6011, allocations: 1.71 MB / 0.569 GB, free: 3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001536/0.6027, allocations: 0.614 MB / 0.5696 GB, free: 2.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.6029, allocations: 95.42 kB / 0.5697 GB, free: 2.285 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6029, allocations: 0 / 0.5697 GB, free: 2.285 MB / 446.1 MB Notification: Performance of Templates: time 0.0248/0.6277, allocations: 11.39 MB / 0.5808 GB, free: 6.914 MB / 462.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)