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.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001737/0.001737, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.828/1.828, allocations: 205.1 MB / 222 MB, free: 4.746 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.4208/0.4208, allocations: 37.97 MB / 307.3 MB, free: 10.07 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.001904/0.001904, allocations: 67.91 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1307, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2879/0.4186, allocations: 26.62 MB / 457.6 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.4327, allocations: 5.542 MB / 463.2 MB, free: 34.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006642/0.4394, allocations: 101.7 kB / 463.3 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.4422, allocations: 1.304 MB / 464.6 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.4438, allocations: 0.508 MB / 465.1 MB, free: 34.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009699/0.4448, allocations: 380.5 kB / 465.5 MB, free: 33.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.4467, allocations: 1.958 MB / 467.4 MB, free: 33.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.4483, allocations: 1.273 MB / 468.7 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.4492, allocations: 0.5573 MB / 469.3 MB, free: 32.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.4504, allocations: 0.8909 MB / 470.1 MB, free: 32.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.4507, allocations: 104.2 kB / 470.2 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.4519, allocations: 0.6104 MB / 470.9 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.4526, allocations: 0.7935 MB / 471.6 MB, free: 32.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006662/0.4533, allocations: 0.9057 MB / 472.6 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.4556, allocations: 2.72 MB / 475.3 MB, free: 30.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4557, allocations: 2.875 kB / 475.3 MB, free: 30.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4557, allocations: 0 / 475.3 MB, free: 30.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.68e-05/0.4557, allocations: 0 / 475.3 MB, free: 30.51 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.004597/0.4603, allocations: 2.378 MB / 477.7 MB, free: 29.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4604, allocations: 9.312 kB / 477.7 MB, free: 29.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/0.4614, allocations: 267.3 kB / 477.9 MB, free: 29.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.4627, allocations: 0.8721 MB / 478.8 MB, free: 28.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.4628, allocations: 105.2 kB / 478.9 MB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.463, allocations: 154.2 kB / 479.1 MB, free: 28.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007371/0.4704, allocations: 4.922 MB / 484 MB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.4705, allocations: 13.72 kB / 484 MB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.4706, allocations: 68.06 kB / 484.1 MB, free: 26.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/0.4721, allocations: 1.003 MB / 485.1 MB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007758/0.4799, allocations: 3.814 MB / 488.9 MB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/0.5024, allocations: 16.57 MB / 0.4936 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/0.5071, allocations: 1.263 MB / 0.4948 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.5084, allocations: 0.7973 MB / 0.4956 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00636/0.5148, allocations: 4.266 MB / 0.4998 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.5149, allocations: 48.58 kB / 0.4998 GB, free: 11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 4.428e-06/0.5149, allocations: 0 / 0.4998 GB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.007001/0.5219, allocations: 1.969 MB / 0.5017 GB, free: 10.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.522, allocations: 112.5 kB / 0.5018 GB, free: 10.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.5245, allocations: 1.609 MB / 0.5034 GB, free: 9.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.5246, allocations: 34.83 kB / 0.5035 GB, free: 9.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/0.5254, allocations: 1.382 MB / 0.5048 GB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.5255, allocations: 200 kB / 0.505 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005365/0.5261, allocations: 473.8 kB / 0.5054 GB, free: 8.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5262, allocations: 358 kB / 0.5058 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.527, allocations: 0.5748 MB / 0.5063 GB, free: 7.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.5286, allocations: 2.095 MB / 0.5084 GB, free: 5.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.5313, allocations: 2.891 MB / 0.5112 GB, free: 2.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/0.5314, allocations: 15.12 kB / 0.5112 GB, free: 2.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.003727/0.5351, allocations: 2.561 MB / 0.5137 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.5352, allocations: 28.56 kB / 0.5138 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-05/0.5353, allocations: 62.44 kB / 0.5138 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.886e-05/0.5353, allocations: 72.53 kB / 0.5139 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.5368, allocations: 0.5482 MB / 0.5144 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.511e-05/0.5369, allocations: 109.3 kB / 0.5145 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.5387, allocations: 331.9 kB / 0.5148 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.5389, allocations: 144.5 kB / 0.515 GB, free: 0.6875 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.001216/0.5401, allocations: 0.8641 MB / 0.5158 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.5404, allocations: 134.2 kB / 0.516 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.5406, allocations: 165.3 kB / 0.5161 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.5407, allocations: 4 kB / 0.5161 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.5407, allocations: 0 / 0.5161 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.5407, allocations: 3.984 kB / 0.5161 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004705/0.5454, allocations: 3.045 MB / 0.5191 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.5454, allocations: 8 kB / 0.5191 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.5458, allocations: 108 kB / 0.5192 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/0.5458, allocations: 12 kB / 0.5192 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.5458, allocations: 24 kB / 0.5192 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/0.5458, allocations: 19.92 kB / 0.5193 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/0.5459, allocations: 19.88 kB / 0.5193 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.547, allocations: 1.009 MB / 0.5203 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.5474, allocations: 223.2 kB / 0.5205 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.5475, allocations: 28.86 kB / 0.5205 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.548, allocations: 23.94 kB / 0.5205 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.5481, allocations: 79.62 kB / 0.5206 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.5482, allocations: 28 kB / 0.5206 GB, free: 10.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001299/0.5495, allocations: 0.9863 MB / 0.5216 GB, free: 9.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5495, allocations: 0 / 0.5216 GB, free: 9.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002262/0.5517, allocations: 494.1 kB / 0.5221 GB, free: 9.199 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.0002075/0.552, allocations: 138.9 kB / 0.5222 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.5542, allocations: 1.375 MB / 0.5235 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5542, allocations: 0 / 0.5235 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.5545, allocations: 277.8 kB / 0.5238 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5557, allocations: 172.9 kB / 0.524 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00693/0.5626, allocations: 4.523 MB / 0.5284 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.5644, allocations: 1.702 MB / 0.53 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0017/0.5661, allocations: 0.6218 MB / 0.5307 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.5663, allocations: 95.44 kB / 0.5307 GB, free: 112 kB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5663, allocations: 0 / 0.5307 GB, free: 112 kB / 398.1 MB Notification: Performance of Templates: time 0.02297/0.5893, allocations: 10.46 MB / 0.541 GB, free: 5.734 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)