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.001058/0.001058, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001015/0.001015, allocations: 177.3 kB / 15.94 MB, free: 228 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.382/1.382, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3679/0.3679, allocations: 40 MB / 310.4 MB, free: 9.637 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.0005532/0.0005536, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2531/0.3857, allocations: 22.74 MB / 459.5 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.3968, allocations: 5.438 MB / 464.9 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004084/0.4009, allocations: 100.4 kB / 465 MB, free: 33.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.404, allocations: 1.079 MB / 466.1 MB, free: 33.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009746/0.4138, allocations: 3.15 MB / 469.3 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.4159, allocations: 308.2 kB / 469.6 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.4179, allocations: 0.7622 MB / 470.3 MB, free: 32.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.4204, allocations: 1.683 MB / 472 MB, free: 32.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008595/0.4213, allocations: 411.3 kB / 472.4 MB, free: 32.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.4223, allocations: 0.5525 MB / 473 MB, free: 32.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003373/0.4227, allocations: 63.38 kB / 473 MB, free: 32.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.4237, allocations: 429 kB / 473.5 MB, free: 32.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008103/0.4246, allocations: 0.6773 MB / 474.1 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000635/0.4252, allocations: 364.7 kB / 474.5 MB, free: 32.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.4275, allocations: 2.144 MB / 476.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4275, allocations: 0 / 476.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4276, allocations: 4 kB / 476.6 MB, free: 32.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001307/0.4277, allocations: 3.938 kB / 476.6 MB, free: 32.13 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.005353/0.4331, allocations: 2.143 MB / 478.8 MB, free: 31.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4331, allocations: 9.312 kB / 478.8 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.4348, allocations: 279.5 kB / 479.1 MB, free: 30.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.4368, allocations: 0.8614 MB / 479.9 MB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-05/0.4369, allocations: 109.4 kB / 480 MB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004972/0.4374, allocations: 151.4 kB / 480.2 MB, free: 30.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009386/0.4468, allocations: 4.99 MB / 485.2 MB, free: 29.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.4469, allocations: 6.969 kB / 485.2 MB, free: 29.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.4471, allocations: 69.61 kB / 485.2 MB, free: 28.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/0.4486, allocations: 0.9972 MB / 486.2 MB, free: 28.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008206/0.4569, allocations: 3.896 MB / 490.1 MB, free: 27.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.4791, allocations: 16.44 MB / 0.4947 GB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/0.4836, allocations: 1.281 MB / 0.496 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005969/0.4896, allocations: 4.087 MB / 0.5 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4897, allocations: 50.34 kB / 0.5 GB, free: 14.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.415e-06/0.4897, allocations: 0 / 0.5 GB, free: 14.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.006479/0.4962, allocations: 1.771 MB / 0.5017 GB, free: 13.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.4962, allocations: 107.1 kB / 0.5018 GB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.4985, allocations: 1.596 MB / 0.5034 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.4986, allocations: 30.98 kB / 0.5034 GB, free: 12.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007579/0.4993, allocations: 1.404 MB / 0.5048 GB, free: 10.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4995, allocations: 180 kB / 0.505 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.4996, allocations: 45.69 kB / 0.505 GB, free: 10.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4998, allocations: 455.4 kB / 0.5054 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/0.5006, allocations: 0.5054 MB / 0.5059 GB, free: 10.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.5022, allocations: 2.047 MB / 0.5079 GB, free: 7.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.5035, allocations: 0.9625 MB / 0.5089 GB, free: 7.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-05/0.5036, allocations: 19.55 kB / 0.5089 GB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004052/0.5076, allocations: 2.437 MB / 0.5113 GB, free: 5.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.5077, allocations: 29.25 kB / 0.5113 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-05/0.5078, allocations: 56.09 kB / 0.5114 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.5079, allocations: 80.19 kB / 0.5114 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.5095, allocations: 0.5439 MB / 0.512 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.139e-05/0.5096, allocations: 117.6 kB / 0.5121 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.5113, allocations: 335.2 kB / 0.5124 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.5115, allocations: 143.5 kB / 0.5125 GB, free: 5.512 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * 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 (295): * Single equations (assignments): 295 * 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.001254/0.5127, allocations: 0.8631 MB / 0.5134 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.5129, allocations: 138.5 kB / 0.5135 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.5132, allocations: 157.9 kB / 0.5137 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5132, allocations: 8.156 kB / 0.5137 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.5132, allocations: 0 / 0.5137 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5132, allocations: 6.297 kB / 0.5137 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.518, allocations: 3.273 MB / 0.5169 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.5181, allocations: 12 kB / 0.5169 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.5184, allocations: 104.8 kB / 0.517 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.5184, allocations: 16 kB / 0.517 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.5184, allocations: 24 kB / 0.517 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/0.5184, allocations: 27.86 kB / 0.517 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5184, allocations: 15.94 kB / 0.5171 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.5193, allocations: 1.66 MB / 0.5187 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.5197, allocations: 231.1 kB / 0.5189 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.5199, allocations: 31.98 kB / 0.5189 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.5203, allocations: 28.55 kB / 0.519 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.5204, allocations: 71.67 kB / 0.519 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.5204, allocations: 32 kB / 0.5191 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.5217, allocations: 0.975 MB / 0.52 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5217, allocations: 0 / 0.52 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002088/0.5238, allocations: 489.9 kB / 0.5205 GB, free: 14.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.0002623/0.5241, allocations: 141.5 kB / 0.5206 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.526, allocations: 1.257 MB / 0.5218 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.526, allocations: 4.812 kB / 0.5218 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.5263, allocations: 238.6 kB / 0.5221 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007104/0.527, allocations: 186.2 kB / 0.5222 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/0.5332, allocations: 4.317 MB / 0.5265 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.5349, allocations: 1.741 MB / 0.5282 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001616/0.5365, allocations: 0.6178 MB / 0.5288 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.5367, allocations: 95.44 kB / 0.5289 GB, free: 5.363 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5367, allocations: 0 / 0.5289 GB, free: 5.363 MB / 398.1 MB Notification: Performance of Templates: time 0.02226/0.559, allocations: 9.744 MB / 0.5384 GB, free: 11.69 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: