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.001161/0.001161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001319/0.001319, allocations: 198.7 kB / 16.26 MB, free: 6.621 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.653/1.653, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.3217/0.3217, allocations: 37.97 MB / 307.4 MB, free: 10.05 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.001528/0.001528, allocations: 70.62 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1417, allocations: 56.46 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2742/0.416, allocations: 26.63 MB / 457.8 MB, free: 34.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.4284, allocations: 5.501 MB / 463.3 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006626/0.4352, allocations: 100.2 kB / 463.4 MB, free: 34.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.438, allocations: 1.253 MB / 464.7 MB, free: 34.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.4398, allocations: 0.4981 MB / 465.2 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4409, allocations: 390.7 kB / 465.6 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.4424, allocations: 1.248 MB / 466.8 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.4438, allocations: 1.346 MB / 468.2 MB, free: 33.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.4444, allocations: 0.6177 MB / 468.8 MB, free: 32.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.4453, allocations: 0.9215 MB / 469.7 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.4455, allocations: 123.9 kB / 469.8 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008111/0.4463, allocations: 0.59 MB / 470.4 MB, free: 32.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000527/0.4469, allocations: 0.8215 MB / 471.2 MB, free: 32.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006321/0.4475, allocations: 0.9344 MB / 472.2 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.4495, allocations: 2.761 MB / 474.9 MB, free: 30.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4495, allocations: 0 / 474.9 MB, free: 30.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4496, allocations: 3.156 kB / 474.9 MB, free: 30.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.4496, allocations: 0.6562 kB / 474.9 MB, free: 30.61 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.003688/0.4533, allocations: 2.381 MB / 477.3 MB, free: 29.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4533, allocations: 13.33 kB / 477.3 MB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009908/0.4543, allocations: 265.4 kB / 477.6 MB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.4555, allocations: 0.8629 MB / 478.4 MB, free: 28.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.4556, allocations: 114 kB / 478.6 MB, free: 28.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.4558, allocations: 153 kB / 478.7 MB, free: 28.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.4628, allocations: 4.926 MB / 483.6 MB, free: 26.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.4628, allocations: 10.31 kB / 483.6 MB, free: 26.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.463, allocations: 64.73 kB / 483.7 MB, free: 26.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.4647, allocations: 0.9984 MB / 484.7 MB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008045/0.4727, allocations: 3.825 MB / 488.5 MB, free: 25.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/0.4967, allocations: 16.58 MB / 0.4933 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/0.5013, allocations: 1.26 MB / 0.4945 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.5025, allocations: 0.7996 MB / 0.4953 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006634/0.5092, allocations: 4.261 MB / 0.4994 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.5092, allocations: 41.94 kB / 0.4995 GB, free: 11.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.375e-06/0.5092, allocations: 0 / 0.4995 GB, free: 11.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.007134/0.5164, allocations: 1.97 MB / 0.5014 GB, free: 10.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.5165, allocations: 119.4 kB / 0.5015 GB, free: 10.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.5198, allocations: 1.603 MB / 0.5031 GB, free: 9.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.5198, allocations: 36.11 kB / 0.5031 GB, free: 9.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.5209, allocations: 1.381 MB / 0.5045 GB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.5212, allocations: 196.8 kB / 0.5046 GB, free: 8.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007717/0.522, allocations: 477.4 kB / 0.5051 GB, free: 8.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5222, allocations: 353.1 kB / 0.5054 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/0.5231, allocations: 0.5743 MB / 0.506 GB, free: 7.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.5248, allocations: 2.093 MB / 0.508 GB, free: 5.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/0.5279, allocations: 2.895 MB / 0.5109 GB, free: 2.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-05/0.528, allocations: 20.58 kB / 0.5109 GB, free: 2.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004937/0.5329, allocations: 2.562 MB / 0.5134 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/0.5331, allocations: 27.78 kB / 0.5134 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.5332, allocations: 59.34 kB / 0.5135 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001042/0.5333, allocations: 71.44 kB / 0.5135 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.5348, allocations: 0.5439 MB / 0.5141 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.89e-05/0.5349, allocations: 107.1 kB / 0.5142 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.537, allocations: 336.6 kB / 0.5145 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.5373, allocations: 148.1 kB / 0.5146 GB, free: 1.055 MB / 382.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.001482/0.5388, allocations: 0.8667 MB / 0.5155 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.5391, allocations: 134.1 kB / 0.5156 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.5394, allocations: 161.3 kB / 0.5158 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5394, allocations: 4 kB / 0.5158 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.5394, allocations: 0 / 0.5158 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5394, allocations: 4 kB / 0.5158 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005441/0.5449, allocations: 3.051 MB / 0.5188 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.5449, allocations: 16.03 kB / 0.5188 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.5453, allocations: 103.8 kB / 0.5189 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.5453, allocations: 12 kB / 0.5189 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.5453, allocations: 20 kB / 0.5189 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.711e-05/0.5454, allocations: 19.92 kB / 0.5189 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.5454, allocations: 23.81 kB / 0.5189 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.5465, allocations: 1.005 MB / 0.5199 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/0.5469, allocations: 223.2 kB / 0.5201 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.5472, allocations: 20 kB / 0.5202 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.5479, allocations: 39.86 kB / 0.5202 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.5479, allocations: 63.7 kB / 0.5203 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.548, allocations: 28 kB / 0.5203 GB, free: 11.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.5494, allocations: 0.9941 MB / 0.5213 GB, free: 10.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5494, allocations: 0 / 0.5213 GB, free: 10.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002289/0.5517, allocations: 494.1 kB / 0.5217 GB, free: 9.758 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.0002572/0.552, allocations: 130.9 kB / 0.5218 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.5547, allocations: 1.417 MB / 0.5232 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.5547, allocations: 7.938 kB / 0.5232 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.5551, allocations: 278.4 kB / 0.5235 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.5565, allocations: 173.4 kB / 0.5237 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/0.5656, allocations: 4.534 MB / 0.5281 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.5679, allocations: 1.71 MB / 0.5298 GB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001882/0.5698, allocations: 0.6155 MB / 0.5304 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.5701, allocations: 99.42 kB / 0.5305 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5702, allocations: 0 / 0.5305 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Templates: time 0.02622/0.5964, allocations: 10.86 MB / 0.5411 GB, free: 5.836 MB / 414.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)