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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002007/0.002007, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.73 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.3191/0.3191, allocations: 37.98 MB / 307.3 MB, free: 10.16 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.001337/0.001337, allocations: 62.58 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.143, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2688/0.4118, allocations: 38.3 MB / 469.3 MB, free: 33.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.4278, allocations: 8.288 MB / 477.6 MB, free: 29.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009759/0.4376, allocations: 157.6 kB / 477.8 MB, free: 29.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.4413, allocations: 1.796 MB / 479.6 MB, free: 28.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.4459, allocations: 1.742 MB / 481.3 MB, free: 27.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.4474, allocations: 0.5139 MB / 481.8 MB, free: 27.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006/0.4534, allocations: 5.549 MB / 487.4 MB, free: 25.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/0.4568, allocations: 2.653 MB / 490 MB, free: 24.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.4592, allocations: 1.229 MB / 491.2 MB, free: 24.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.4627, allocations: 2.076 MB / 493.3 MB, free: 23.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007488/0.4635, allocations: 207.6 kB / 493.5 MB, free: 23.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.4659, allocations: 0.9717 MB / 494.5 MB, free: 23.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.468, allocations: 1.736 MB / 496.2 MB, free: 22.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003063/0.4711, allocations: 2.095 MB / 498.3 MB, free: 21.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009289/0.4804, allocations: 6.69 MB / 0.4932 GB, free: 19.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4805, allocations: 0 / 0.4932 GB, free: 19.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4805, allocations: 0 / 0.4932 GB, free: 19.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002671/0.4808, allocations: 0 / 0.4932 GB, free: 19.04 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.01036/0.4911, allocations: 4.639 MB / 0.4977 GB, free: 16.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4912, allocations: 9.375 kB / 0.4977 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.5012, allocations: 3.111 MB / 0.5008 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005072/0.5063, allocations: 2.201 MB / 0.5029 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.5066, allocations: 229.5 kB / 0.5031 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000863/0.5074, allocations: 294.2 kB / 0.5034 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.5255, allocations: 11.32 MB / 0.5145 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.595e-05/0.5256, allocations: 27.72 kB / 0.5145 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004311/0.5261, allocations: 135.8 kB / 0.5146 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003599/0.5297, allocations: 2.71 MB / 0.5173 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.5476, allocations: 10.49 MB / 0.5275 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05591/0.6035, allocations: 37.5 MB / 0.5641 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009096/0.6127, allocations: 4.574 MB / 0.5686 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00378/0.6165, allocations: 2.397 MB / 0.5709 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.6179, allocations: 1.315 MB / 0.5722 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.618, allocations: 60.5 kB / 0.5723 GB, free: 10.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 6.412e-06/0.618, allocations: 4 kB / 0.5723 GB, free: 10.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.03837/0.6564, allocations: 17.63 MB / 0.5895 GB, free: 8.957 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.6565, allocations: 73.41 kB / 0.5896 GB, free: 8.875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/0.6601, allocations: 2.796 MB / 0.5923 GB, free: 6.066 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.6603, allocations: 57.7 kB / 0.5924 GB, free: 6.004 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001632/0.6619, allocations: 2.853 MB / 0.5951 GB, free: 3.109 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008009/0.6628, allocations: 0.9173 MB / 0.596 GB, free: 2.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.6641, allocations: 1.092 MB / 0.5971 GB, free: 1.078 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.6642, allocations: 301.1 kB / 0.5974 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/0.6673, allocations: 2.33 MB / 0.5997 GB, free: 14.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005198/0.6725, allocations: 5.315 MB / 0.6049 GB, free: 7.676 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009609/0.6821, allocations: 8.388 MB / 0.613 GB, free: 13.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-05/0.6822, allocations: 31.98 kB / 0.6131 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01471/0.697, allocations: 8.391 MB / 0.6213 GB, free: 5.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/0.6971, allocations: 48 kB / 0.6213 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/0.6972, allocations: 104 kB / 0.6214 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/0.6998, allocations: 0.9457 MB / 0.6223 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/0.7036, allocations: 1.252 MB / 0.6236 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2525/0.9562, allocations: 4.778 MB / 0.6282 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/0.9604, allocations: 303.7 kB / 0.6285 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007904/0.9612, allocations: 314.1 kB / 0.6288 GB, free: 117.7 MB / 494.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.006169/0.9674, allocations: 2.193 MB / 0.631 GB, free: 117.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008131/0.9682, allocations: 279.9 kB / 0.6312 GB, free: 117.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009447/0.9777, allocations: 5.134 MB / 0.6362 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.559e-05/0.9778, allocations: 43.66 kB / 0.6363 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.9778, allocations: 8.719 kB / 0.6363 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.9779, allocations: 8.719 kB / 0.6363 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/0.9971, allocations: 11.97 MB / 0.648 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.9972, allocations: 8.719 kB / 0.648 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.9989, allocations: 404.6 kB / 0.6484 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/1.001, allocations: 0.7763 MB / 0.6491 GB, free: 114 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/1.002, allocations: 51.39 kB / 0.6492 GB, free: 114 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/1.007, allocations: 4.091 MB / 0.6532 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-05/1.007, allocations: 18.47 kB / 0.6532 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.02, allocations: 7.628 MB / 0.6607 GB, free: 109.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.021, allocations: 0.6794 MB / 0.6613 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/1.022, allocations: 51.23 kB / 0.6614 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.023, allocations: 149.9 kB / 0.6615 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004599/1.023, allocations: 154.4 kB / 0.6617 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/1.024, allocations: 74.61 kB / 0.6617 GB, free: 108.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002991/1.027, allocations: 1.723 MB / 0.6634 GB, free: 108.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.152e-06/1.027, allocations: 3.812 kB / 0.6634 GB, free: 108.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005/1.032, allocations: 1.002 MB / 0.6644 GB, free: 108.1 MB / 494.1 MB 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.0006035/1.032, allocations: 188.2 kB / 0.6646 GB, free: 108 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.043, allocations: 5.668 MB / 0.6701 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-05/1.043, allocations: 6.594 kB / 0.6701 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00298/1.046, allocations: 2.15 MB / 0.6722 GB, free: 105.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/1.048, allocations: 373.7 kB / 0.6726 GB, free: 105.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.065, allocations: 12.66 MB / 0.6849 GB, free: 98.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002979/1.068, allocations: 3.434 MB / 0.6883 GB, free: 96.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003913/1.072, allocations: 2.003 MB / 0.6902 GB, free: 94.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/1.073, allocations: 219.4 kB / 0.6904 GB, free: 94.52 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/1.073, allocations: 0 / 0.6904 GB, free: 94.52 MB / 494.1 MB Notification: Performance of Templates: time 0.04906/1.122, allocations: 32.85 MB / 0.7225 GB, free: 61.85 MB / 494.1 MB 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)