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.001448/0.001448, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 198.3 kB / 16.54 MB, free: 6.391 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.787/1.787, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.3609/0.3609, allocations: 38 MB / 307.8 MB, free: 10.04 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.001605/0.001605, allocations: 71.91 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1427, allocations: 56.46 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01051/0.1533, allocations: 9.184 MB / 440.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006879/0.1602, allocations: 2.701 MB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.1622, allocations: 39.94 kB / 443.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.1652, allocations: 1.304 MB / 444.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.1666, allocations: 0.5479 MB / 445.5 MB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.1676, allocations: 415.1 kB / 445.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.1691, allocations: 1.246 MB / 447.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.1707, allocations: 1.285 MB / 448.4 MB, free: 5.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006589/0.1713, allocations: 0.6032 MB / 449 MB, free: 5.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.1724, allocations: 0.8448 MB / 449.9 MB, free: 4.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.1726, allocations: 127.9 kB / 450 MB, free: 4.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009458/0.1736, allocations: 0.5811 MB / 450.6 MB, free: 3.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000695/0.1743, allocations: 0.8103 MB / 451.4 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000788/0.1751, allocations: 0.9317 MB / 452.3 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2881/0.4632, allocations: 2.731 MB / 455 MB, free: 39.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4632, allocations: 0.6875 kB / 455 MB, free: 39.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4633, allocations: 0.7812 kB / 455 MB, free: 39.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001039/0.4634, allocations: 0 / 455 MB, free: 39.38 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.004798/0.4682, allocations: 2.388 MB / 457.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.4682, allocations: 16.17 kB / 457.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.4693, allocations: 262.7 kB / 457.7 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.4705, allocations: 0.8709 MB / 458.6 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.4706, allocations: 108.2 kB / 458.7 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.4709, allocations: 146.8 kB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007471/0.4783, allocations: 4.915 MB / 463.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.4784, allocations: 10 kB / 463.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.4786, allocations: 72.91 kB / 463.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/0.4802, allocations: 1.001 MB / 464.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007431/0.4876, allocations: 3.828 MB / 468.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.5054, allocations: 16.57 MB / 485.2 MB, free: 25.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.5093, allocations: 1.262 MB / 486.5 MB, free: 25.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.5101, allocations: 0.7979 MB / 487.3 MB, free: 25.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005726/0.5159, allocations: 4.273 MB / 491.5 MB, free: 22.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.5159, allocations: 38.61 kB / 491.6 MB, free: 22.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.5159, allocations: 4 kB / 491.6 MB, free: 22.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.00665/0.5226, allocations: 1.976 MB / 493.6 MB, free: 22.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.5227, allocations: 109.1 kB / 493.7 MB, free: 21.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.5254, allocations: 1.606 MB / 495.3 MB, free: 21.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.5255, allocations: 32.61 kB / 495.3 MB, free: 21.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009353/0.5264, allocations: 1.387 MB / 496.7 MB, free: 20.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.5266, allocations: 186.6 kB / 496.9 MB, free: 20.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006197/0.5272, allocations: 481.2 kB / 497.3 MB, free: 19.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5274, allocations: 355.1 kB / 497.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009079/0.5283, allocations: 0.5806 MB / 498.3 MB, free: 19.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.53, allocations: 2.097 MB / 0.4886 GB, free: 17.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.5332, allocations: 2.89 MB / 0.4915 GB, free: 14.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.94e-05/0.5333, allocations: 16.38 kB / 0.4915 GB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004176/0.5375, allocations: 2.559 MB / 0.494 GB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.5375, allocations: 28.19 kB / 0.494 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.16e-05/0.5376, allocations: 53.69 kB / 0.4941 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.5377, allocations: 80 kB / 0.4941 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.5394, allocations: 0.5479 MB / 0.4947 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001182/0.5395, allocations: 105.1 kB / 0.4948 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.5415, allocations: 334.6 kB / 0.4951 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.5417, allocations: 147.1 kB / 0.4952 GB, free: 13.63 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.001556/0.5433, allocations: 0.8651 MB / 0.4961 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.5436, allocations: 130.5 kB / 0.4962 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.5438, allocations: 158.7 kB / 0.4964 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5439, allocations: 6.609 kB / 0.4964 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/0.5439, allocations: 5.141 kB / 0.4964 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5439, allocations: 2.016 kB / 0.4964 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004861/0.5488, allocations: 3.054 MB / 0.4993 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.5488, allocations: 14.53 kB / 0.4994 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.5492, allocations: 102.8 kB / 0.4995 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.02e-05/0.5492, allocations: 17.45 kB / 0.4995 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.5492, allocations: 23.28 kB / 0.4995 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.992e-05/0.5493, allocations: 18.8 kB / 0.4995 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/0.5493, allocations: 18.72 kB / 0.4995 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.5505, allocations: 1.003 MB / 0.5005 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.5509, allocations: 218.9 kB / 0.5007 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.5511, allocations: 22.58 kB / 0.5007 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.5516, allocations: 25.92 kB / 0.5008 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5517, allocations: 72.39 kB / 0.5008 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.5518, allocations: 31.33 kB / 0.5009 GB, free: 10.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00175/0.5535, allocations: 0.9896 MB / 0.5018 GB, free: 10.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5535, allocations: 3 kB / 0.5018 GB, free: 10.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002686/0.5562, allocations: 499.1 kB / 0.5023 GB, free: 10.05 MB / 382.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.000188/0.5564, allocations: 129.5 kB / 0.5024 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.559, allocations: 1.423 MB / 0.5038 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.5591, allocations: 1.312 kB / 0.5038 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.5595, allocations: 271 kB / 0.5041 GB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.5607, allocations: 183.4 kB / 0.5043 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.5661, allocations: 3.637 MB / 0.5078 GB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.5674, allocations: 1.714 MB / 0.5095 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001625/0.5691, allocations: 0.6086 MB / 0.5101 GB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.5693, allocations: 101.6 kB / 0.5102 GB, free: 6.402 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5693, allocations: 0 / 0.5102 GB, free: 6.402 MB / 382.1 MB Notification: Performance of Templates: time 0.01853/0.5878, allocations: 10.87 MB / 0.5208 GB, free: 12.92 MB / 398.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)