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.001377/0.001376, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.001389, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.697/1.697, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.38/0.38, allocations: 39.93 MB / 309.7 MB, free: 9.262 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.001566/0.001566, allocations: 67.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1654, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01103/0.1765, allocations: 9.157 MB / 443.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007192/0.1837, allocations: 2.705 MB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.1866, allocations: 43.94 kB / 446.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.1899, allocations: 1.308 MB / 447.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.1919, allocations: 0.5441 MB / 448.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.193, allocations: 415.1 kB / 448.7 MB, free: 5.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.1947, allocations: 1.25 MB / 449.9 MB, free: 4.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.1961, allocations: 1.297 MB / 451.2 MB, free: 2.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007932/0.1969, allocations: 0.6032 MB / 451.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.1982, allocations: 0.8408 MB / 452.7 MB, free: 1.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.1984, allocations: 128 kB / 452.8 MB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1996, allocations: 0.5811 MB / 453.4 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3007/0.5003, allocations: 0.8053 MB / 454.2 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.5018, allocations: 0.9269 MB / 455.1 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.5045, allocations: 2.739 MB / 457.8 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5046, allocations: 3.281 kB / 457.8 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5046, allocations: 0 / 457.8 MB, free: 38.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.046e-05/0.5046, allocations: 0 / 457.8 MB, free: 38.32 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.004106/0.5087, allocations: 2.375 MB / 460.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5088, allocations: 13.42 kB / 460.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009528/0.5097, allocations: 266.8 kB / 460.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5109, allocations: 0.8731 MB / 461.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.511, allocations: 112.1 kB / 461.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.5112, allocations: 144.4 kB / 461.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007365/0.5186, allocations: 4.919 MB / 466.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.5186, allocations: 12.66 kB / 466.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.5188, allocations: 70.44 kB / 466.6 MB, free: 35.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.5203, allocations: 1.006 MB / 467.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007148/0.5275, allocations: 3.815 MB / 471.4 MB, free: 34.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.5456, allocations: 16.56 MB / 488 MB, free: 24.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.5499, allocations: 1.266 MB / 489.3 MB, free: 23.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.5509, allocations: 0.8008 MB / 490.1 MB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006167/0.5571, allocations: 4.266 MB / 494.3 MB, free: 20.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.5572, allocations: 42.59 kB / 494.4 MB, free: 20.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.305e-06/0.5572, allocations: 0 / 494.4 MB, free: 20.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.007097/0.5643, allocations: 1.974 MB / 496.3 MB, free: 20.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.5644, allocations: 109.3 kB / 496.4 MB, free: 20.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.5674, allocations: 1.609 MB / 498.1 MB, free: 19.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.5674, allocations: 32.45 kB / 498.1 MB, free: 19.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009875/0.5684, allocations: 1.387 MB / 499.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.5687, allocations: 191.7 kB / 499.7 MB, free: 18.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007244/0.5694, allocations: 479.9 kB / 0.4884 GB, free: 17.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5695, allocations: 353.2 kB / 0.4887 GB, free: 17.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.5707, allocations: 0.5746 MB / 0.4893 GB, free: 17.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.5724, allocations: 2.091 MB / 0.4914 GB, free: 15.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.5755, allocations: 2.89 MB / 0.4942 GB, free: 12.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.883e-05/0.5756, allocations: 17.44 kB / 0.4942 GB, free: 12.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004733/0.5803, allocations: 2.571 MB / 0.4967 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/0.5804, allocations: 28.12 kB / 0.4967 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.5805, allocations: 54.73 kB / 0.4968 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.5806, allocations: 75.16 kB / 0.4969 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.5824, allocations: 0.5471 MB / 0.4974 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001435/0.5825, allocations: 106.2 kB / 0.4975 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.5845, allocations: 338.5 kB / 0.4978 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/0.5848, allocations: 142.5 kB / 0.4979 GB, free: 11.7 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.001635/0.5864, allocations: 0.8612 MB / 0.4988 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.5867, allocations: 138.7 kB / 0.4989 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.5871, allocations: 167 kB / 0.4991 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.5871, allocations: 5.438 kB / 0.4991 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.5871, allocations: 1.125 kB / 0.4991 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.5872, allocations: 3.578 kB / 0.4991 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005599/0.5928, allocations: 3.047 MB / 0.5021 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.5928, allocations: 9.625 kB / 0.5021 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.5932, allocations: 104.8 kB / 0.5022 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/0.5932, allocations: 14.53 kB / 0.5022 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.5933, allocations: 23.31 kB / 0.5022 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-05/0.5933, allocations: 25.86 kB / 0.5022 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/0.5933, allocations: 13.91 kB / 0.5022 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.5947, allocations: 1.008 MB / 0.5032 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.5953, allocations: 223.6 kB / 0.5034 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004521/0.5957, allocations: 25.62 kB / 0.5035 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/0.5966, allocations: 24.19 kB / 0.5035 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.5967, allocations: 70.66 kB / 0.5036 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.5968, allocations: 27.47 kB / 0.5036 GB, free: 8.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001842/0.5986, allocations: 0.994 MB / 0.5046 GB, free: 8.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5986, allocations: 4 kB / 0.5046 GB, free: 8.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002597/0.6012, allocations: 499.4 kB / 0.505 GB, free: 8.098 MB / 382.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.0002209/0.6015, allocations: 131.1 kB / 0.5052 GB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.604, allocations: 1.411 MB / 0.5065 GB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/0.604, allocations: 2.969 kB / 0.5065 GB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.6044, allocations: 272.1 kB / 0.5068 GB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.6058, allocations: 180 kB / 0.507 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/0.6136, allocations: 3.642 MB / 0.5105 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/0.6167, allocations: 1.709 MB / 0.5122 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002069/0.6188, allocations: 0.6158 MB / 0.5128 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.6192, allocations: 99.05 kB / 0.5129 GB, free: 3.508 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.6192, allocations: 0 / 0.5129 GB, free: 3.508 MB / 382.1 MB Notification: Performance of Templates: time 0.0246/0.6438, allocations: 10.88 MB / 0.5235 GB, free: 8.996 MB / 398.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)