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.0008313/0.0008316, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008488/0.0008492, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.2772/0.2772, allocations: 38.04 MB / 308.4 MB, free: 10.47 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.0005226/0.0005227, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1093, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2168/0.3261, allocations: 24.01 MB / 458 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009823/0.336, allocations: 5.237 MB / 463.2 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00312/0.3391, allocations: 107.4 kB / 463.3 MB, free: 32.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.3415, allocations: 1.045 MB / 464.4 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005709/0.3472, allocations: 3.01 MB / 467.4 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.3481, allocations: 330 kB / 467.7 MB, free: 31.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.3494, allocations: 1.575 MB / 469.3 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.3512, allocations: 1.701 MB / 471 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.3517, allocations: 496.2 kB / 471.5 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007215/0.3524, allocations: 0.78 MB / 472.2 MB, free: 31.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.882e-05/0.3525, allocations: 64.53 kB / 472.3 MB, free: 31.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.3532, allocations: 445.5 kB / 472.7 MB, free: 31.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.3536, allocations: 0.7243 MB / 473.5 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.3538, allocations: 370.1 kB / 473.8 MB, free: 31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3552, allocations: 2.138 MB / 476 MB, free: 30.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3552, allocations: 1.422 kB / 476 MB, free: 30.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3552, allocations: 0 / 476 MB, free: 30.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.3552, allocations: 0 / 476 MB, free: 30.83 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.002839/0.3581, allocations: 2.041 MB / 478 MB, free: 29.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3581, allocations: 13.56 kB / 478 MB, free: 29.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/0.3589, allocations: 268.8 kB / 478.3 MB, free: 29.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009656/0.3599, allocations: 0.8531 MB / 479.1 MB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.36, allocations: 107.6 kB / 479.2 MB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.3602, allocations: 150.7 kB / 479.4 MB, free: 29.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006304/0.3665, allocations: 4.913 MB / 484.3 MB, free: 28.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.3666, allocations: 11.03 kB / 484.3 MB, free: 28.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.3667, allocations: 79.84 kB / 484.4 MB, free: 28.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/0.3681, allocations: 0.9986 MB / 485.4 MB, free: 28.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007351/0.3754, allocations: 3.804 MB / 489.2 MB, free: 28.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.3944, allocations: 16.58 MB / 0.4939 GB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/0.3984, allocations: 1.26 MB / 0.4951 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/0.3993, allocations: 0.8042 MB / 0.4959 GB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004572/0.4038, allocations: 4.266 MB / 0.5001 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.4039, allocations: 50.03 kB / 0.5001 GB, free: 14.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.4039, allocations: 0 / 0.5001 GB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.005829/0.4097, allocations: 1.963 MB / 0.5021 GB, free: 13.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.4098, allocations: 111.1 kB / 0.5022 GB, free: 13.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.4116, allocations: 1.598 MB / 0.5037 GB, free: 12.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.4116, allocations: 32.36 kB / 0.5038 GB, free: 12.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/0.4122, allocations: 1.385 MB / 0.5051 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.4123, allocations: 189.1 kB / 0.5053 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.4124, allocations: 45.41 kB / 0.5053 GB, free: 11.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4125, allocations: 455.5 kB / 0.5058 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.4132, allocations: 0.5682 MB / 0.5063 GB, free: 10.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.4144, allocations: 2.082 MB / 0.5084 GB, free: 7.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.4155, allocations: 1.02 MB / 0.5094 GB, free: 7.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/0.4155, allocations: 16.09 kB / 0.5094 GB, free: 7.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.003005/0.4185, allocations: 2.551 MB / 0.5119 GB, free: 6.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4186, allocations: 29.75 kB / 0.5119 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/0.4186, allocations: 56.39 kB / 0.5119 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.105e-05/0.4187, allocations: 78.69 kB / 0.512 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.42, allocations: 0.5511 MB / 0.5126 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.603e-05/0.42, allocations: 109.4 kB / 0.5127 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4213, allocations: 338.5 kB / 0.513 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.4214, allocations: 142.8 kB / 0.5131 GB, free: 5.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009708/0.4224, allocations: 0.8529 MB / 0.5139 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.4225, allocations: 134.8 kB / 0.5141 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.4228, allocations: 164.4 kB / 0.5142 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4228, allocations: 10.48 kB / 0.5142 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4228, allocations: 8.797 kB / 0.5143 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4228, allocations: 0 / 0.5143 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.426, allocations: 3.043 MB / 0.5172 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.426, allocations: 8 kB / 0.5172 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.4263, allocations: 107.8 kB / 0.5173 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.4263, allocations: 16 kB / 0.5173 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.4263, allocations: 24 kB / 0.5174 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.4264, allocations: 18.52 kB / 0.5174 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.4264, allocations: 19.94 kB / 0.5174 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.427, allocations: 0.9856 MB / 0.5184 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.4272, allocations: 235.1 kB / 0.5186 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4274, allocations: 24 kB / 0.5186 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.4278, allocations: 23.98 kB / 0.5186 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.4278, allocations: 75.61 kB / 0.5187 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.4279, allocations: 28 kB / 0.5187 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009187/0.4288, allocations: 0.9785 MB / 0.5197 GB, free: 15.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4288, allocations: 0 / 0.5197 GB, free: 15.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001743/0.4306, allocations: 0.4941 MB / 0.5202 GB, free: 15.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001968/0.4308, allocations: 133.5 kB / 0.5203 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.4329, allocations: 1.363 MB / 0.5216 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4329, allocations: 0 / 0.5216 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.4332, allocations: 269.5 kB / 0.5219 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4343, allocations: 191 kB / 0.5221 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005833/0.4401, allocations: 4.349 MB / 0.5263 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.4415, allocations: 1.702 MB / 0.528 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001467/0.443, allocations: 0.6179 MB / 0.5286 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4432, allocations: 91.44 kB / 0.5287 GB, free: 6.57 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4432, allocations: 0 / 0.5287 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.01769/0.4609, allocations: 10.16 MB / 0.5386 GB, free: 12.48 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: