Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007896/0.007896, allocations: 100 kB / 15.73 MB, free: 6.469 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.001588/0.001588, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.875/1.875, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3691/0.3691, allocations: 38 MB / 307.9 MB, free: 10.11 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.002261/0.002261, allocations: 76.36 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4549, allocations: 56.46 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.014/0.469, allocations: 12.02 MB / 0.4897 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.4808, allocations: 4.379 MB / 0.494 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003848/0.4847, allocations: 70.69 kB / 0.4941 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006641/0.4914, allocations: 2.771 MB / 0.4968 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007947/0.4994, allocations: 2.035 MB / 0.4988 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.5028, allocations: 1.006 MB / 0.4998 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.5132, allocations: 5.129 MB / 0.5048 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006443/0.5197, allocations: 3.448 MB / 0.5081 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005501/0.5252, allocations: 1.761 MB / 0.5098 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006145/0.5314, allocations: 2.465 MB / 0.5123 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002616/0.5341, allocations: 367.5 kB / 0.5126 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004911/0.539, allocations: 1.405 MB / 0.514 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004283/0.5433, allocations: 2.223 MB / 0.5161 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005522/0.5489, allocations: 2.505 MB / 0.5186 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.5619, allocations: 8.076 MB / 0.5265 GB, free: 1.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.562, allocations: 0 / 0.5265 GB, free: 1.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.562, allocations: 0 / 0.5265 GB, free: 1.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003291/0.5623, allocations: 7.938 kB / 0.5265 GB, free: 1.758 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01868/0.581, allocations: 5.753 MB / 0.5321 GB, free: 11.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5811, allocations: 19.89 kB / 0.5321 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01805/0.5991, allocations: 2.599 MB / 0.5347 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009289/0.6084, allocations: 3.303 MB / 0.5379 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.6087, allocations: 258.8 kB / 0.5381 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.6102, allocations: 347.9 kB / 0.5385 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02311/0.6333, allocations: 12.36 MB / 0.5505 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.6335, allocations: 55.44 kB / 0.5506 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004593/0.6339, allocations: 159.8 kB / 0.5507 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003791/0.6377, allocations: 2.385 MB / 0.5531 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.6597, allocations: 10.84 MB / 0.5637 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06548/0.7252, allocations: 48.62 MB / 0.6111 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/0.7414, allocations: 6.044 MB / 0.617 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/0.7461, allocations: 3.306 MB / 0.6203 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0206/0.7667, allocations: 13.52 MB / 0.6335 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.7668, allocations: 63.81 kB / 0.6335 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 5.24e-06/0.7668, allocations: 0 / 0.6335 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.4603/1.227, allocations: 36.33 MB / 0.669 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.227, allocations: 208.1 kB / 0.6692 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00631/1.234, allocations: 4.394 MB / 0.6735 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007825/1.234, allocations: 65.52 kB / 0.6736 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002076/1.236, allocations: 3.377 MB / 0.6769 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/1.238, allocations: 0.9821 MB / 0.6778 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002084/1.24, allocations: 1.426 MB / 0.6792 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/1.24, allocations: 307.4 kB / 0.6795 GB, free: 110 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/1.245, allocations: 3.289 MB / 0.6827 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005253/1.25, allocations: 7.196 MB / 0.6897 GB, free: 99.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.26, allocations: 11.23 MB / 0.7007 GB, free: 86.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.261, allocations: 43.94 kB / 0.7008 GB, free: 86.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02615/1.287, allocations: 13.28 MB / 0.7137 GB, free: 72.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/1.287, allocations: 64 kB / 0.7138 GB, free: 72.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002617/1.287, allocations: 136 kB / 0.7139 GB, free: 72.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009694/1.297, allocations: 3.394 MB / 0.7172 GB, free: 69.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005519/1.303, allocations: 1.579 MB / 0.7188 GB, free: 67.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/1.326, allocations: 17.55 MB / 0.7359 GB, free: 50.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/1.336, allocations: 423.5 kB / 0.7363 GB, free: 49.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003216/1.339, allocations: 412 kB / 0.7367 GB, free: 49.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00986/1.349, allocations: 2.356 MB / 0.739 GB, free: 46.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002249/1.351, allocations: 406.7 kB / 0.7394 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02591/1.377, allocations: 8.009 MB / 0.7472 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.799e-05/1.378, allocations: 28 kB / 0.7472 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.398e-05/1.378, allocations: 15.98 kB / 0.7473 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.69e-05/1.378, allocations: 7.969 kB / 0.7473 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04573/1.423, allocations: 15.38 MB / 0.7623 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.401e-05/1.424, allocations: 8 kB / 0.7623 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/1.427, allocations: 387.4 kB / 0.7627 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01336/1.44, allocations: 3.165 MB / 0.7658 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006994/1.441, allocations: 36.12 kB / 0.7658 GB, free: 19.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03039/1.471, allocations: 15.82 MB / 0.7812 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.471, allocations: 4 kB / 0.7812 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03521/1.506, allocations: 12.15 MB / 0.7931 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005206/1.512, allocations: 0.9331 MB / 0.794 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00182/1.514, allocations: 47.83 kB / 0.7941 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003805/1.517, allocations: 195.6 kB / 0.7943 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008691/1.518, allocations: 150.2 kB / 0.7944 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003775/1.519, allocations: 64 kB / 0.7945 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006153/1.525, allocations: 2.749 MB / 0.7971 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/1.525, allocations: 0 / 0.7971 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00884/1.534, allocations: 1.366 MB / 0.7985 GB, free: 1.656 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008678/1.535, allocations: 191.8 kB / 0.7987 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01501/1.55, allocations: 8.21 MB / 0.8067 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.55, allocations: 0 / 0.8067 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006215/1.556, allocations: 3.322 MB / 0.8099 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005991/1.562, allocations: 0.4931 MB / 0.8104 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.59, allocations: 11.9 MB / 0.822 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00714/1.597, allocations: 3.682 MB / 0.8256 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006157/1.603, allocations: 2.176 MB / 0.8277 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.605, allocations: 287.4 kB / 0.828 GB, free: 3.352 MB / 0.545 GB Notification: Performance of SimCode: time 2.805e-06/1.605, allocations: 0 / 0.828 GB, free: 3.352 MB / 0.545 GB Notification: Performance of Templates: time 0.3939/1.999, allocations: 57.52 MB / 0.8842 GB, free: 160.8 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)