Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001782/0.001782, 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.002779/0.002779, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.634/1.634, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.4006/0.4006, allocations: 39.94 MB / 309.7 MB, free: 9.273 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.001478/0.001478, allocations: 75.88 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1291, allocations: 56.88 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01632/0.1454, allocations: 13.92 MB / 448.4 MB, free: 5.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.1559, allocations: 4.21 MB / 452.6 MB, free: 1.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.159, allocations: 67.88 kB / 452.7 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2783/0.4373, allocations: 1.824 MB / 454.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006902/0.4442, allocations: 1.869 MB / 456.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.4462, allocations: 0.5559 MB / 456.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006405/0.4527, allocations: 3.956 MB / 460.9 MB, free: 36.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005492/0.4582, allocations: 2.719 MB / 463.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.4629, allocations: 1.415 MB / 465 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.4677, allocations: 1.973 MB / 467 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.4694, allocations: 298.6 kB / 467.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.4731, allocations: 0.9972 MB / 468.3 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.4759, allocations: 1.806 MB / 470.1 MB, free: 34.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004285/0.4802, allocations: 2.171 MB / 472.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009476/0.4897, allocations: 6.767 MB / 479 MB, free: 30.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4898, allocations: 0 / 479 MB, free: 30.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4898, allocations: 2.625 kB / 479 MB, free: 30.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000312/0.4901, allocations: 4 kB / 479 MB, free: 30.9 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01614/0.5063, allocations: 4.634 MB / 483.7 MB, free: 28.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5063, allocations: 12.98 kB / 483.7 MB, free: 28.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.5178, allocations: 3.112 MB / 486.8 MB, free: 27.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.5224, allocations: 2.195 MB / 489 MB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.5227, allocations: 227.2 kB / 489.2 MB, free: 26.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/0.5238, allocations: 292.5 kB / 489.5 MB, free: 26.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.5422, allocations: 11.32 MB / 0.4891 GB, free: 22.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.5423, allocations: 36.34 kB / 0.4891 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.5428, allocations: 134.8 kB / 0.4892 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004493/0.5473, allocations: 2.713 MB / 0.4919 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/0.5682, allocations: 10.48 MB / 0.5021 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0527/0.6209, allocations: 37.51 MB / 0.5388 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008961/0.6299, allocations: 4.574 MB / 0.5432 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.633, allocations: 2.398 MB / 0.5456 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.6342, allocations: 1.322 MB / 0.5469 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.6343, allocations: 56.5 kB / 0.5469 GB, free: 300 kB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 4.278e-06/0.6343, allocations: 0 / 0.5469 GB, free: 300 kB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.03843/0.6727, allocations: 17.63 MB / 0.5641 GB, free: 14.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.6728, allocations: 73.41 kB / 0.5642 GB, free: 14.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.6765, allocations: 2.797 MB / 0.5669 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.6767, allocations: 60.59 kB / 0.567 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.6789, allocations: 2.851 MB / 0.5698 GB, free: 8.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008407/0.6797, allocations: 0.9145 MB / 0.5707 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/0.6814, allocations: 1.091 MB / 0.5717 GB, free: 6.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.6815, allocations: 305.1 kB / 0.572 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/0.6846, allocations: 2.33 MB / 0.5743 GB, free: 4.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005057/0.6897, allocations: 5.312 MB / 0.5795 GB, free: 13.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009687/0.6994, allocations: 8.39 MB / 0.5877 GB, free: 3.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.6996, allocations: 28 kB / 0.5877 GB, free: 3.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01631/0.7159, allocations: 8.386 MB / 0.5959 GB, free: 11.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.716, allocations: 48 kB / 0.5959 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/0.7162, allocations: 112.1 kB / 0.5961 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002758/0.719, allocations: 0.9514 MB / 0.597 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/0.7235, allocations: 1.244 MB / 0.5982 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/0.7304, allocations: 5.136 MB / 0.6032 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003667/0.7341, allocations: 299.8 kB / 0.6035 GB, free: 3.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006309/0.7348, allocations: 310.5 kB / 0.6038 GB, free: 2.91 MB / 478.1 MB 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.003509/0.7383, allocations: 2.196 MB / 0.6059 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004948/0.7388, allocations: 292.1 kB / 0.6062 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008597/0.7474, allocations: 5.138 MB / 0.6112 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.588e-05/0.7475, allocations: 44 kB / 0.6113 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.7475, allocations: 4 kB / 0.6113 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.7475, allocations: 11.95 kB / 0.6113 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/0.768, allocations: 11.97 MB / 0.623 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.7681, allocations: 9 kB / 0.623 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.7698, allocations: 399.3 kB / 0.6234 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.7724, allocations: 0.7771 MB / 0.6241 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002901/0.7727, allocations: 51.34 kB / 0.6242 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.7784, allocations: 4.389 MB / 0.6285 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.7784, allocations: 20 kB / 0.6285 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/0.7911, allocations: 7.634 MB / 0.6359 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/0.793, allocations: 0.6809 MB / 0.6366 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.7934, allocations: 48 kB / 0.6367 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.7947, allocations: 150 kB / 0.6368 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/0.7952, allocations: 152.9 kB / 0.6369 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/0.7954, allocations: 75.98 kB / 0.637 GB, free: 432 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2251/1.02, allocations: 1.723 MB / 0.6387 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.61e-07/1.021, allocations: 0.625 kB / 0.6387 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00545/1.026, allocations: 1 MB / 0.6397 GB, free: 160.1 MB / 0.4981 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.0005792/1.027, allocations: 187.1 kB / 0.6399 GB, free: 160 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.04, allocations: 9.149 MB / 0.6488 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.04, allocations: 5.25 kB / 0.6488 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/1.043, allocations: 2.15 MB / 0.6509 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/1.045, allocations: 393.2 kB / 0.6513 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.061, allocations: 10.4 MB / 0.6614 GB, free: 154 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003583/1.065, allocations: 3.439 MB / 0.6648 GB, free: 152.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005099/1.07, allocations: 2.001 MB / 0.6667 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007697/1.071, allocations: 217.7 kB / 0.6669 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.071, allocations: 0 / 0.6669 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.06178/1.133, allocations: 34.02 MB / 0.7002 GB, free: 135.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)