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.007914/0.007914, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001462/0.001462, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.638/1.638, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.3867/0.3867, allocations: 39.94 MB / 309.8 MB, free: 9.66 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.001532/0.001532, allocations: 71.89 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3716, allocations: 56.88 MB / 492.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009346/0.381, allocations: 9.175 MB / 0.4901 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006174/0.3872, allocations: 2.7 MB / 0.4927 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.3893, allocations: 39.69 kB / 0.4928 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.3923, allocations: 1.308 MB / 0.494 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.3942, allocations: 0.5415 MB / 0.4946 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.3953, allocations: 422.8 kB / 0.495 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.3972, allocations: 1.249 MB / 0.4962 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.3987, allocations: 1.279 MB / 0.4974 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009431/0.3996, allocations: 0.61 MB / 0.498 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.4008, allocations: 0.8453 MB / 0.4989 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.4011, allocations: 129.5 kB / 0.499 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.4025, allocations: 0.5819 MB / 0.4995 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.4037, allocations: 0.8088 MB / 0.5003 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.405, allocations: 0.9254 MB / 0.5012 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004846/0.4099, allocations: 2.847 MB / 0.504 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4099, allocations: 0 / 0.504 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4099, allocations: 3.938 kB / 0.504 GB, free: 4.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.184e-05/0.41, allocations: 0 / 0.504 GB, free: 4.422 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.005521/0.4155, allocations: 2.368 MB / 0.5063 GB, free: 2.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4156, allocations: 13.42 kB / 0.5063 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.4169, allocations: 265.8 kB / 0.5066 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.4188, allocations: 0.8817 MB / 0.5075 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.4189, allocations: 111.6 kB / 0.5076 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/0.4192, allocations: 149.4 kB / 0.5077 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009101/0.4283, allocations: 4.918 MB / 0.5125 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.4284, allocations: 12.28 kB / 0.5125 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.4286, allocations: 66.31 kB / 0.5126 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001888/0.4305, allocations: 1.005 MB / 0.5136 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008714/0.4392, allocations: 3.82 MB / 0.5173 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02229/0.4615, allocations: 16.47 MB / 0.5334 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004498/0.4661, allocations: 1.263 MB / 0.5346 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.4671, allocations: 0.8086 MB / 0.5354 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006735/0.4739, allocations: 4.273 MB / 0.5396 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.474, allocations: 38.89 kB / 0.5396 GB, free: 3.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.795e-06/0.474, allocations: 0 / 0.5396 GB, free: 3.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.007004/0.481, allocations: 1.974 MB / 0.5415 GB, free: 1.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.4811, allocations: 110.8 kB / 0.5417 GB, free: 1.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.4833, allocations: 1.607 MB / 0.5432 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.4834, allocations: 33.7 kB / 0.5433 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009741/0.4844, allocations: 1.379 MB / 0.5446 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.4846, allocations: 197.7 kB / 0.5448 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/0.4851, allocations: 479.8 kB / 0.5452 GB, free: 13.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4853, allocations: 353.9 kB / 0.5456 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/0.4861, allocations: 0.5745 MB / 0.5461 GB, free: 12.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.4879, allocations: 2.093 MB / 0.5482 GB, free: 9.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00326/0.4912, allocations: 2.893 MB / 0.551 GB, free: 5.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.743e-05/0.4912, allocations: 16 kB / 0.551 GB, free: 5.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004068/0.4953, allocations: 2.56 MB / 0.5535 GB, free: 3.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.4954, allocations: 36.5 kB / 0.5536 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.385e-05/0.4955, allocations: 55.94 kB / 0.5536 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.44e-05/0.4956, allocations: 72 kB / 0.5537 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.4971, allocations: 0.5464 MB / 0.5542 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.859e-05/0.4972, allocations: 107.6 kB / 0.5543 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.4991, allocations: 336.5 kB / 0.5546 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.4992, allocations: 147.9 kB / 0.5548 GB, free: 2.109 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.001509/0.5008, allocations: 0.8634 MB / 0.5556 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.501, allocations: 138.2 kB / 0.5558 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.5013, allocations: 161.4 kB / 0.5559 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5014, allocations: 11.94 kB / 0.5559 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5014, allocations: 0 / 0.5559 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5014, allocations: 3.984 kB / 0.5559 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.5063, allocations: 3.037 MB / 0.5589 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.5063, allocations: 8 kB / 0.5589 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.5066, allocations: 111.8 kB / 0.559 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.5067, allocations: 16 kB / 0.559 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.5067, allocations: 20 kB / 0.559 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-05/0.5067, allocations: 24.48 kB / 0.5591 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.5067, allocations: 15.88 kB / 0.5591 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.5079, allocations: 1.001 MB / 0.5601 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.5084, allocations: 223.2 kB / 0.5603 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.5085, allocations: 24 kB / 0.5603 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.509, allocations: 31.92 kB / 0.5603 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.5091, allocations: 67.64 kB / 0.5604 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.5091, allocations: 28 kB / 0.5604 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.5107, allocations: 0.9902 MB / 0.5614 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5107, allocations: 0 / 0.5614 GB, free: 10.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002668/0.5134, allocations: 498.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.0002801/0.5137, allocations: 131 kB / 0.562 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.516, allocations: 1.39 MB / 0.5633 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.516, allocations: 0.8125 kB / 0.5633 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.5164, allocations: 277.6 kB / 0.5636 GB, free: 8.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5174, allocations: 183.1 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.006356/0.5238, allocations: 3.594 MB / 0.5673 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.5256, allocations: 1.706 MB / 0.569 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001486/0.5271, allocations: 0.614 MB / 0.5696 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.5273, allocations: 103.4 kB / 0.5697 GB, free: 2.285 MB / 446.1 MB Notification: Performance of SimCode: time 1.001e-06/0.5273, allocations: 0 / 0.5697 GB, free: 2.285 MB / 446.1 MB Notification: Performance of Templates: time 0.02419/0.5515, allocations: 11.44 MB / 0.5808 GB, free: 6.855 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)