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.01106/0.01106, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002424/0.002425, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.891/1.891, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.3502/0.3502, allocations: 38 MB / 307.9 MB, free: 10.06 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.001501/0.001501, allocations: 71.89 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 56.48 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009017/0.3575, allocations: 9.166 MB / 498.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006184/0.3637, allocations: 2.704 MB / 0.4896 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.3653, allocations: 40.5 kB / 0.4896 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.3678, allocations: 1.312 MB / 0.4909 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.3692, allocations: 0.5453 MB / 0.4914 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3703, allocations: 421.6 kB / 0.4918 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.372, allocations: 1.245 MB / 0.4931 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.3737, allocations: 1.287 MB / 0.4943 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.3746, allocations: 0.6031 MB / 0.4949 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.3757, allocations: 0.8416 MB / 0.4957 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.3759, allocations: 130.5 kB / 0.4959 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.377, allocations: 0.5766 MB / 0.4964 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008302/0.3779, allocations: 0.81 MB / 0.4972 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007503/0.3786, allocations: 0.9305 MB / 0.4981 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.3816, allocations: 2.842 MB / 0.5009 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3816, allocations: 1.094 kB / 0.5009 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3816, allocations: 0 / 0.5009 GB, free: 5.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.851e-05/0.3816, allocations: 7.922 kB / 0.5009 GB, free: 5.844 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.004251/0.3859, allocations: 2.368 MB / 0.5032 GB, free: 4.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.386, allocations: 16.89 kB / 0.5032 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.3872, allocations: 263.2 kB / 0.5035 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.3889, allocations: 0.8817 MB / 0.5043 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/0.389, allocations: 107.6 kB / 0.5044 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/0.3893, allocations: 149.3 kB / 0.5046 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00908/0.3984, allocations: 4.919 MB / 0.5094 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.3985, allocations: 8.188 kB / 0.5094 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.3987, allocations: 69.95 kB / 0.5095 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001956/0.4006, allocations: 0.9977 MB / 0.5104 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00906/0.4097, allocations: 3.822 MB / 0.5142 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02376/0.4335, allocations: 16.49 MB / 0.5303 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.4379, allocations: 1.266 MB / 0.5315 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.4389, allocations: 0.7969 MB / 0.5323 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006871/0.4458, allocations: 4.262 MB / 0.5365 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4459, allocations: 42.88 kB / 0.5365 GB, free: 6.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.4459, allocations: 0 / 0.5365 GB, free: 6.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.006697/0.4526, allocations: 1.974 MB / 0.5384 GB, free: 4.484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.4527, allocations: 114.7 kB / 0.5385 GB, free: 4.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.4557, allocations: 1.607 MB / 0.5401 GB, free: 2.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.4557, allocations: 29.7 kB / 0.5401 GB, free: 2.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.457, allocations: 1.387 MB / 0.5415 GB, free: 1.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.4573, allocations: 185.8 kB / 0.5417 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007333/0.458, allocations: 483.8 kB / 0.5421 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4582, allocations: 353.9 kB / 0.5425 GB, free: 276 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4592, allocations: 0.5785 MB / 0.543 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.4618, allocations: 2.085 MB / 0.5451 GB, free: 12.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/0.4656, allocations: 2.893 MB / 0.5479 GB, free: 9.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.065e-05/0.4656, allocations: 16 kB / 0.5479 GB, free: 9.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.005375/0.471, allocations: 2.567 MB / 0.5504 GB, free: 6.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.4711, allocations: 31.94 kB / 0.5504 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.4712, allocations: 56 kB / 0.5505 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.614e-05/0.4713, allocations: 72 kB / 0.5506 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.4731, allocations: 0.5503 MB / 0.5511 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001552/0.4732, allocations: 103.6 kB / 0.5512 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.4755, allocations: 340.4 kB / 0.5515 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.4757, allocations: 144 kB / 0.5517 GB, free: 5.305 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.001735/0.4775, allocations: 0.8595 MB / 0.5525 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.4778, allocations: 134.2 kB / 0.5526 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.4782, allocations: 157.4 kB / 0.5528 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4782, allocations: 8 kB / 0.5528 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4782, allocations: 4 kB / 0.5528 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4782, allocations: 3.984 kB / 0.5528 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/0.4839, allocations: 3.057 MB / 0.5558 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.4839, allocations: 12 kB / 0.5558 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.4842, allocations: 107.8 kB / 0.5559 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.4843, allocations: 12 kB / 0.5559 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.4843, allocations: 28 kB / 0.5559 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/0.4843, allocations: 16.5 kB / 0.5559 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.206e-05/0.4844, allocations: 23.81 kB / 0.556 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.4854, allocations: 0.9968 MB / 0.5569 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.4859, allocations: 223.3 kB / 0.5572 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.4862, allocations: 19.98 kB / 0.5572 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.4867, allocations: 31.92 kB / 0.5572 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.4868, allocations: 63.7 kB / 0.5573 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.4868, allocations: 28 kB / 0.5573 GB, free: 15.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.4881, allocations: 0.9902 MB / 0.5583 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4881, allocations: 4 kB / 0.5583 GB, free: 14.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002086/0.4902, allocations: 0.4902 MB / 0.5587 GB, free: 13.67 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.0002264/0.4904, allocations: 134.9 kB / 0.5589 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.4925, allocations: 1.394 MB / 0.5602 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4925, allocations: 4.875 kB / 0.5602 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.4929, allocations: 269.5 kB / 0.5605 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4939, allocations: 181.8 kB / 0.5607 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.4995, allocations: 3.582 MB / 0.5642 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.5009, allocations: 1.702 MB / 0.5658 GB, free: 6.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001332/0.5023, allocations: 0.6178 MB / 0.5664 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.5025, allocations: 99.42 kB / 0.5665 GB, free: 5.492 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5025, allocations: 4 kB / 0.5665 GB, free: 5.488 MB / 446.1 MB Notification: Performance of Templates: time 0.02184/0.5243, allocations: 11.39 MB / 0.5776 GB, free: 10.11 MB / 462.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)