Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007713/0.007714, allocations: 101 kB / 15.73 MB, free: 6.059 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.001976/0.001976, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.399/1.399, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1875/0.1875, allocations: 38 MB / 307.9 MB, free: 5.988 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.001686/0.001687, allocations: 71.91 kB / 433 MB, free: 14.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1127, allocations: 56.47 MB / 489.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01399/0.1268, allocations: 13.91 MB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008688/0.1355, allocations: 4.218 MB / 0.4957 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.1383, allocations: 71.81 kB / 0.4958 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004197/0.1426, allocations: 1.837 MB / 0.4976 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005703/0.1483, allocations: 1.856 MB / 0.4994 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.1501, allocations: 0.5575 MB / 0.4999 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005771/0.1559, allocations: 3.968 MB / 0.5038 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003809/0.1597, allocations: 2.72 MB / 0.5065 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.1621, allocations: 1.413 MB / 0.5078 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.1653, allocations: 1.978 MB / 0.5098 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.1667, allocations: 296 kB / 0.51 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.1694, allocations: 0.9986 MB / 0.511 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002406/0.1718, allocations: 1.804 MB / 0.5128 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003275/0.1751, allocations: 2.174 MB / 0.5149 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2677/0.4428, allocations: 7.086 MB / 0.5218 GB, free: 9.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4429, allocations: 1.188 kB / 0.5218 GB, free: 9.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4429, allocations: 2.688 kB / 0.5218 GB, free: 9.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003116/0.4432, allocations: 0.7969 kB / 0.5218 GB, free: 9.465 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01438/0.4576, allocations: 4.764 MB / 0.5265 GB, free: 7.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4577, allocations: 16.77 kB / 0.5265 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.47, allocations: 3.144 MB / 0.5296 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/0.4757, allocations: 2.225 MB / 0.5317 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/0.476, allocations: 220.5 kB / 0.532 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/0.4779, allocations: 294.5 kB / 0.5322 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.5001, allocations: 11.32 MB / 0.5433 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.5002, allocations: 31.42 kB / 0.5433 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006724/0.5009, allocations: 134.8 kB / 0.5434 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004163/0.5051, allocations: 2.719 MB / 0.5461 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/0.526, allocations: 10.48 MB / 0.5563 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05976/0.5859, allocations: 37.35 MB / 0.5928 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009355/0.5953, allocations: 4.578 MB / 0.5973 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003573/0.5989, allocations: 2.401 MB / 0.5996 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.6002, allocations: 1.324 MB / 0.6009 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.6002, allocations: 60.06 kB / 0.601 GB, free: 12.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.392e-06/0.6003, allocations: 0 / 0.601 GB, free: 12.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04627/0.6465, allocations: 17.7 MB / 0.6183 GB, free: 10.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.6466, allocations: 77.39 kB / 0.6183 GB, free: 10.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006882/0.6535, allocations: 2.801 MB / 0.6211 GB, free: 7.688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008208/0.6544, allocations: 61.64 kB / 0.6211 GB, free: 7.621 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002615/0.6571, allocations: 2.971 MB / 0.624 GB, free: 4.656 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001657/0.6587, allocations: 0.9623 MB / 0.625 GB, free: 3.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003466/0.6622, allocations: 1.097 MB / 0.626 GB, free: 2.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6624, allocations: 301.1 kB / 0.6263 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004412/0.6668, allocations: 2.334 MB / 0.6286 GB, free: 15.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007117/0.6739, allocations: 5.308 MB / 0.6338 GB, free: 9.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/0.6862, allocations: 8.388 MB / 0.642 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.6864, allocations: 28 kB / 0.642 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01787/0.7043, allocations: 8.404 MB / 0.6502 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.7045, allocations: 52 kB / 0.6503 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/0.7047, allocations: 104 kB / 0.6504 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/0.7078, allocations: 0.9454 MB / 0.6513 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004851/0.7126, allocations: 1.244 MB / 0.6525 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007826/0.7205, allocations: 5.147 MB / 0.6575 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/0.7255, allocations: 305.5 kB / 0.6578 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/0.727, allocations: 311.9 kB / 0.6581 GB, free: 15.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (669): * Single equations (assignments): 662 * Array equations: 6 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006233/0.7333, allocations: 2.196 MB / 0.6603 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000939/0.7342, allocations: 301.9 kB / 0.6605 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.7449, allocations: 5.133 MB / 0.6656 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.191e-05/0.7451, allocations: 47.98 kB / 0.6656 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.7451, allocations: 4 kB / 0.6656 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.147e-05/0.7451, allocations: 11.95 kB / 0.6656 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02688/0.772, allocations: 11.95 MB / 0.6773 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/0.7721, allocations: 8 kB / 0.6773 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/0.7742, allocations: 399.3 kB / 0.6777 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/0.7768, allocations: 0.7813 MB / 0.6784 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004242/0.7773, allocations: 47.98 kB / 0.6785 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006016/0.7833, allocations: 4.39 MB / 0.6828 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/0.7833, allocations: 11.94 kB / 0.6828 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.7961, allocations: 7.647 MB / 0.6903 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/0.7982, allocations: 0.7021 MB / 0.6909 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/0.7993, allocations: 48 kB / 0.691 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/0.8013, allocations: 143.8 kB / 0.6911 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000507/0.8019, allocations: 156.9 kB / 0.6913 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/0.8021, allocations: 71.83 kB / 0.6913 GB, free: 13.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004088/0.8062, allocations: 1.725 MB / 0.693 GB, free: 11.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8062, allocations: 0 / 0.693 GB, free: 11.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007435/0.8137, allocations: 0.996 MB / 0.694 GB, free: 10.35 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009162/0.8146, allocations: 204 kB / 0.6942 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01084/0.8255, allocations: 5.707 MB / 0.6998 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/0.8256, allocations: 448 / 0.6998 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003746/0.8293, allocations: 2.159 MB / 0.7019 GB, free: 2.289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.8327, allocations: 390.4 kB / 0.7022 GB, free: 1.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/0.8564, allocations: 10.44 MB / 0.7124 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004971/0.8614, allocations: 3.432 MB / 0.7158 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00448/0.8659, allocations: 2.002 MB / 0.7178 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.8667, allocations: 219.4 kB / 0.718 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.8667, allocations: 0 / 0.718 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of Templates: time 0.3506/1.217, allocations: 31.73 MB / 0.7489 GB, free: 204.6 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)