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.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001308/0.001308, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.702/1.702, 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.2+maint.om/package.mo): time 0.4253/0.4253, allocations: 39.93 MB / 309.3 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.001375/0.001375, allocations: 70.41 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1411, allocations: 56.88 MB / 433.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.283/0.4241, allocations: 26.63 MB / 460.4 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.4363, allocations: 5.54 MB / 466 MB, free: 34.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007775/0.4441, allocations: 99.88 kB / 466.1 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.4473, allocations: 1.3 MB / 467.4 MB, free: 34.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.4491, allocations: 0.5083 MB / 467.9 MB, free: 34.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000977/0.4501, allocations: 383.6 kB / 468.2 MB, free: 34.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.452, allocations: 1.96 MB / 470.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.4534, allocations: 1.28 MB / 471.5 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.4541, allocations: 0.5579 MB / 472 MB, free: 32.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009319/0.455, allocations: 0.8924 MB / 472.9 MB, free: 32.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.4552, allocations: 97.94 kB / 473 MB, free: 32.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009802/0.4562, allocations: 0.6097 MB / 473.6 MB, free: 32.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006563/0.4568, allocations: 0.7958 MB / 474.4 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006868/0.4575, allocations: 0.9031 MB / 475.3 MB, free: 31.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.4598, allocations: 2.722 MB / 478.1 MB, free: 30.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4599, allocations: 4 kB / 478.1 MB, free: 30.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4599, allocations: 3.031 kB / 478.1 MB, free: 30.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.067e-05/0.4599, allocations: 3.938 kB / 478.1 MB, free: 30.58 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.00412/0.464, allocations: 2.375 MB / 480.5 MB, free: 29.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4641, allocations: 6.531 kB / 480.5 MB, free: 29.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009762/0.4651, allocations: 267 kB / 480.7 MB, free: 29.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.4663, allocations: 0.8752 MB / 481.6 MB, free: 28.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.4664, allocations: 105.8 kB / 481.7 MB, free: 28.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/0.4666, allocations: 151.4 kB / 481.8 MB, free: 28.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007168/0.4738, allocations: 4.918 MB / 486.8 MB, free: 26.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.4739, allocations: 10.91 kB / 486.8 MB, free: 26.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.474, allocations: 68.95 kB / 486.8 MB, free: 26.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/0.4755, allocations: 1.004 MB / 487.8 MB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008669/0.4842, allocations: 3.812 MB / 491.7 MB, free: 25.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.5062, allocations: 16.58 MB / 0.4963 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/0.5107, allocations: 1.266 MB / 0.4976 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.5117, allocations: 0.8 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006452/0.5182, allocations: 4.256 MB / 0.5025 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5183, allocations: 42.55 kB / 0.5025 GB, free: 11.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.607e-06/0.5183, allocations: 0 / 0.5025 GB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.006888/0.5252, allocations: 1.978 MB / 0.5045 GB, free: 10.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.5253, allocations: 111.5 kB / 0.5046 GB, free: 10.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.5277, allocations: 1.603 MB / 0.5061 GB, free: 9.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.5278, allocations: 32.27 kB / 0.5062 GB, free: 9.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/0.5285, allocations: 1.382 MB / 0.5075 GB, free: 8.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.5287, allocations: 194.9 kB / 0.5077 GB, free: 8.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005692/0.5293, allocations: 475.5 kB / 0.5082 GB, free: 7.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5294, allocations: 358.3 kB / 0.5085 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007976/0.5302, allocations: 0.5811 MB / 0.5091 GB, free: 7.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.5317, allocations: 2.089 MB / 0.5111 GB, free: 4.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.5339, allocations: 2.891 MB / 0.5139 GB, free: 1.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/0.5339, allocations: 15.94 kB / 0.5139 GB, free: 1.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.003346/0.5372, allocations: 2.578 MB / 0.5165 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.5373, allocations: 28 kB / 0.5165 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.5373, allocations: 59.06 kB / 0.5165 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.622e-05/0.5374, allocations: 75.94 kB / 0.5166 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.5388, allocations: 0.5426 MB / 0.5171 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-05/0.5389, allocations: 111.6 kB / 0.5173 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5406, allocations: 336.4 kB / 0.5176 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.5408, allocations: 144 kB / 0.5177 GB, free: 15.29 MB / 398.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.001322/0.5421, allocations: 0.8595 MB / 0.5186 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.5423, allocations: 130.3 kB / 0.5187 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.5426, allocations: 165.3 kB / 0.5188 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5426, allocations: 8 kB / 0.5188 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5427, allocations: 0 / 0.5188 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5427, allocations: 0 / 0.5188 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.5473, allocations: 3.051 MB / 0.5218 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5473, allocations: 11.94 kB / 0.5218 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.5477, allocations: 103.8 kB / 0.5219 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.5477, allocations: 12 kB / 0.5219 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.5478, allocations: 20 kB / 0.522 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.782e-05/0.5478, allocations: 20.52 kB / 0.522 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/0.5478, allocations: 19.88 kB / 0.522 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.5491, allocations: 1.012 MB / 0.523 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.5496, allocations: 219.4 kB / 0.5232 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.5497, allocations: 27.98 kB / 0.5232 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.5502, allocations: 31.91 kB / 0.5233 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.5503, allocations: 67.7 kB / 0.5233 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.5504, allocations: 28 kB / 0.5233 GB, free: 9.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.5518, allocations: 0.9902 MB / 0.5243 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5518, allocations: 0 / 0.5243 GB, free: 8.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002202/0.5541, allocations: 0.4902 MB / 0.5248 GB, free: 7.656 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.0002081/0.5543, allocations: 130.9 kB / 0.5249 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.5564, allocations: 1.366 MB / 0.5263 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5564, allocations: 4.938 kB / 0.5263 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.5568, allocations: 277.5 kB / 0.5265 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5579, allocations: 178.2 kB / 0.5267 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.5641, allocations: 4.516 MB / 0.5311 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.5656, allocations: 1.71 MB / 0.5328 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001608/0.5672, allocations: 0.614 MB / 0.5334 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.5674, allocations: 99.42 kB / 0.5335 GB, free: 14.57 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5674, allocations: 0 / 0.5335 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02201/0.5895, allocations: 10.46 MB / 0.5437 GB, free: 4.188 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile (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)