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.009342/0.009342, allocations: 100.9 kB / 15.73 MB, free: 6 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.001457/0.001457, allocations: 188.9 kB / 16.67 MB, free: 5.934 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.586/1.586, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.3301/0.3301, allocations: 37.99 MB / 307.9 MB, free: 9.98 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.001514/0.001514, allocations: 67.91 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3234, allocations: 56.48 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009272/0.3327, allocations: 9.171 MB / 498.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006702/0.3395, allocations: 2.695 MB / 0.4896 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.3408, allocations: 48.62 kB / 0.4896 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.3435, allocations: 1.311 MB / 0.4909 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.345, allocations: 0.5374 MB / 0.4914 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.346, allocations: 417.7 kB / 0.4918 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.3476, allocations: 1.257 MB / 0.4931 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.3491, allocations: 1.281 MB / 0.4943 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008551/0.3499, allocations: 0.6069 MB / 0.4949 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.3511, allocations: 0.8371 MB / 0.4957 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.3513, allocations: 126.7 kB / 0.4958 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.3525, allocations: 0.587 MB / 0.4964 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008927/0.3534, allocations: 0.8064 MB / 0.4972 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009769/0.3544, allocations: 0.9268 MB / 0.4981 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.358, allocations: 2.86 MB / 0.5009 GB, free: 5.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.3581, allocations: 4.953 kB / 0.5009 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3581, allocations: 0 / 0.5009 GB, free: 5.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.568e-05/0.3581, allocations: 3.938 kB / 0.5009 GB, free: 5.848 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.004492/0.3626, allocations: 2.423 MB / 0.5033 GB, free: 4.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3627, allocations: 13.08 kB / 0.5033 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.3638, allocations: 280.4 kB / 0.5036 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.3652, allocations: 0.8895 MB / 0.5044 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/0.3653, allocations: 103.8 kB / 0.5045 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/0.3656, allocations: 153.2 kB / 0.5047 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00805/0.3737, allocations: 4.913 MB / 0.5095 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-05/0.3738, allocations: 13.22 kB / 0.5095 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.3739, allocations: 74.48 kB / 0.5096 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/0.3755, allocations: 0.9972 MB / 0.5105 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008532/0.384, allocations: 3.82 MB / 0.5143 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03138/0.4154, allocations: 16.52 MB / 0.5304 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008441/0.4239, allocations: 1.263 MB / 0.5316 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.4261, allocations: 0.7969 MB / 0.5324 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.4371, allocations: 4.274 MB / 0.5366 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.99e-05/0.4372, allocations: 42.88 kB / 0.5366 GB, free: 6.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 5.751e-06/0.4372, allocations: 0 / 0.5366 GB, free: 6.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.01317/0.4504, allocations: 1.979 MB / 0.5385 GB, free: 4.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.4506, allocations: 110.8 kB / 0.5386 GB, free: 4.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004671/0.4553, allocations: 1.611 MB / 0.5402 GB, free: 2.613 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.643e-05/0.4554, allocations: 37.7 kB / 0.5403 GB, free: 2.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.4572, allocations: 1.436 MB / 0.5417 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.4575, allocations: 202.6 kB / 0.5419 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.4587, allocations: 480.2 kB / 0.5423 GB, free: 452 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.4589, allocations: 358 kB / 0.5427 GB, free: 88 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.4607, allocations: 0.5745 MB / 0.5432 GB, free: 15.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/0.464, allocations: 2.089 MB / 0.5453 GB, free: 12.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005711/0.4698, allocations: 2.901 MB / 0.5481 GB, free: 8.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.303e-05/0.4698, allocations: 16 kB / 0.5481 GB, free: 8.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.007959/0.4778, allocations: 2.568 MB / 0.5506 GB, free: 6.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.318e-05/0.4779, allocations: 31.94 kB / 0.5506 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.4781, allocations: 52 kB / 0.5507 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.4782, allocations: 72 kB / 0.5508 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/0.4813, allocations: 0.5497 MB / 0.5513 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001489/0.4815, allocations: 108.1 kB / 0.5514 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.4848, allocations: 345.5 kB / 0.5517 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.4852, allocations: 144 kB / 0.5519 GB, free: 5.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.00173/0.4869, allocations: 0.8556 MB / 0.5527 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.4872, allocations: 143 kB / 0.5528 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.4875, allocations: 157.4 kB / 0.553 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4876, allocations: 7.938 kB / 0.553 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4876, allocations: 11.92 kB / 0.553 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4876, allocations: 0 / 0.553 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.4928, allocations: 3.057 MB / 0.556 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.4928, allocations: 8 kB / 0.556 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.4932, allocations: 107.8 kB / 0.5561 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.4932, allocations: 16 kB / 0.5561 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.4933, allocations: 20 kB / 0.5561 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.192e-05/0.4933, allocations: 23.92 kB / 0.5562 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.4933, allocations: 15.88 kB / 0.5562 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4948, allocations: 1.006 MB / 0.5572 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.4952, allocations: 228 kB / 0.5574 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.4955, allocations: 31.98 kB / 0.5574 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.4962, allocations: 27.92 kB / 0.5574 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.4963, allocations: 71.73 kB / 0.5575 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.4963, allocations: 31.98 kB / 0.5575 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.4983, allocations: 0.9863 MB / 0.5585 GB, free: 13.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4984, allocations: 0 / 0.5585 GB, free: 13.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002748/0.5011, allocations: 0.4985 MB / 0.559 GB, free: 13.44 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.0002707/0.5014, allocations: 139.1 kB / 0.5591 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.5044, allocations: 1.398 MB / 0.5605 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.5044, allocations: 0 / 0.5605 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.5048, allocations: 274.5 kB / 0.5607 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.5065, allocations: 182.2 kB / 0.5609 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008855/0.5153, allocations: 3.64 MB / 0.5645 GB, free: 7.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/0.518, allocations: 1.702 MB / 0.5661 GB, free: 5.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001723/0.5197, allocations: 0.614 MB / 0.5667 GB, free: 5.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.5201, allocations: 99.44 kB / 0.5668 GB, free: 5.199 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5201, allocations: 0 / 0.5668 GB, free: 5.199 MB / 446.1 MB Notification: Performance of Templates: time 0.0247/0.5448, allocations: 11.45 MB / 0.578 GB, free: 9.766 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)