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.005322/0.005322, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001181/0.001181, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3277/0.3277, allocations: 37.99 MB / 307.9 MB, free: 10.06 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.001534/0.001534, allocations: 75.83 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2918, allocations: 56.46 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01183/0.3037, allocations: 13.92 MB / 0.4916 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008558/0.3123, allocations: 4.2 MB / 0.4957 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.3155, allocations: 69.66 kB / 0.4958 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004811/0.3204, allocations: 1.833 MB / 0.4976 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007012/0.3275, allocations: 1.868 MB / 0.4994 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.3296, allocations: 0.5544 MB / 0.4999 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007414/0.337, allocations: 3.965 MB / 0.5038 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004656/0.3417, allocations: 2.725 MB / 0.5065 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.3457, allocations: 1.414 MB / 0.5078 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00471/0.3504, allocations: 1.992 MB / 0.5098 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.3522, allocations: 296.1 kB / 0.5101 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.3562, allocations: 0.9906 MB / 0.511 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004185/0.3604, allocations: 1.811 MB / 0.5128 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007788/0.3682, allocations: 2.163 MB / 0.5149 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.3827, allocations: 7.074 MB / 0.5218 GB, free: 6.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.3827, allocations: 0 / 0.5218 GB, free: 6.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.3828, allocations: 0 / 0.5218 GB, free: 6.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004219/0.3832, allocations: 4 kB / 0.5218 GB, free: 6.504 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.01597/0.3992, allocations: 4.634 MB / 0.5263 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.3993, allocations: 15.89 kB / 0.5264 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4113, allocations: 3.118 MB / 0.5294 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007041/0.4184, allocations: 2.218 MB / 0.5316 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.4187, allocations: 229.9 kB / 0.5318 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.4202, allocations: 287.8 kB / 0.5321 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.4403, allocations: 11.32 MB / 0.5431 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.4405, allocations: 27.81 kB / 0.5431 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000536/0.4411, allocations: 135.9 kB / 0.5433 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004717/0.4458, allocations: 2.714 MB / 0.5459 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/0.4674, allocations: 10.48 MB / 0.5562 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06348/0.531, allocations: 37.28 MB / 0.5926 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009511/0.5405, allocations: 4.578 MB / 0.597 GB, free: 7.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/0.5438, allocations: 2.4 MB / 0.5994 GB, free: 5.262 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.545, allocations: 1.323 MB / 0.6007 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.545, allocations: 52.56 kB / 0.6007 GB, free: 3.656 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 4.99e-06/0.5451, allocations: 0 / 0.6007 GB, free: 3.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.03824/0.5833, allocations: 17.63 MB / 0.6179 GB, free: 1.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.5834, allocations: 77.39 kB / 0.618 GB, free: 1.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003873/0.5873, allocations: 2.788 MB / 0.6207 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002419/0.5876, allocations: 57.7 kB / 0.6208 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.5895, allocations: 2.857 MB / 0.6236 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009062/0.5904, allocations: 0.9172 MB / 0.6245 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.5917, allocations: 1.088 MB / 0.6255 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.5918, allocations: 305.1 kB / 0.6258 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/0.5949, allocations: 2.33 MB / 0.6281 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005188/0.6001, allocations: 5.311 MB / 0.6333 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3377/0.9378, allocations: 8.384 MB / 0.6415 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/0.938, allocations: 29.56 kB / 0.6415 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01677/0.9548, allocations: 8.381 MB / 0.6497 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.9549, allocations: 54.5 kB / 0.6497 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/0.9552, allocations: 103.6 kB / 0.6498 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/0.9585, allocations: 0.9434 MB / 0.6508 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/0.9632, allocations: 1.254 MB / 0.652 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007352/0.9705, allocations: 5.139 MB / 0.657 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/0.9748, allocations: 298.9 kB / 0.6573 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008334/0.9757, allocations: 318 kB / 0.6576 GB, free: 111 MB / 0.4981 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.004427/0.9801, allocations: 2.185 MB / 0.6597 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005347/0.9806, allocations: 287.3 kB / 0.66 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/0.9889, allocations: 5.141 MB / 0.665 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.04e-05/0.989, allocations: 46.31 kB / 0.6651 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.989, allocations: 4.406 kB / 0.6651 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/0.9891, allocations: 10.22 kB / 0.6651 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/1.008, allocations: 11.94 MB / 0.6767 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/1.008, allocations: 13.78 kB / 0.6767 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.01, allocations: 398.2 kB / 0.6771 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/1.012, allocations: 0.7724 MB / 0.6779 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/1.012, allocations: 48.92 kB / 0.6779 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/1.017, allocations: 4.391 MB / 0.6822 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.017, allocations: 13.84 kB / 0.6822 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008548/1.025, allocations: 7.624 MB / 0.6897 GB, free: 94.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.027, allocations: 0.677 MB / 0.6903 GB, free: 93.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/1.027, allocations: 51.83 kB / 0.6904 GB, free: 93.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.028, allocations: 155.7 kB / 0.6905 GB, free: 93.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/1.029, allocations: 156.9 kB / 0.6907 GB, free: 92.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.029, allocations: 71.98 kB / 0.6908 GB, free: 92.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002132/1.031, allocations: 1.722 MB / 0.6924 GB, free: 91.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.031, allocations: 0 / 0.6924 GB, free: 91.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004048/1.035, allocations: 1.003 MB / 0.6934 GB, free: 90.2 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.0003541/1.035, allocations: 189.5 kB / 0.6936 GB, free: 90 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006155/1.042, allocations: 5.721 MB / 0.6992 GB, free: 84.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.042, allocations: 1.938 kB / 0.6992 GB, free: 84.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/1.044, allocations: 2.148 MB / 0.7013 GB, free: 82.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.045, allocations: 396.3 kB / 0.7017 GB, free: 81.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.058, allocations: 10.3 MB / 0.7117 GB, free: 71.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/1.061, allocations: 3.428 MB / 0.7151 GB, free: 67.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003346/1.064, allocations: 2.002 MB / 0.717 GB, free: 65.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/1.065, allocations: 215.4 kB / 0.7172 GB, free: 65.64 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/1.065, allocations: 0 / 0.7172 GB, free: 65.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.04993/1.115, allocations: 31.52 MB / 0.748 GB, free: 34.24 MB / 0.4981 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)