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.005947/0.005947, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001183/0.001183, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.425/1.425, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.3321/0.3321, allocations: 39.94 MB / 309.8 MB, free: 9.266 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.001567/0.001567, allocations: 63.91 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3235, allocations: 56.88 MB / 492.7 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01368/0.3373, allocations: 13.92 MB / 0.4947 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.3491, allocations: 4.207 MB / 0.4988 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004592/0.3537, allocations: 69.28 kB / 0.4989 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.3578, allocations: 1.834 MB / 0.5007 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005702/0.3635, allocations: 1.86 MB / 0.5025 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.3653, allocations: 0.5593 MB / 0.503 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009196/0.3746, allocations: 3.968 MB / 0.5069 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005397/0.38, allocations: 2.724 MB / 0.5096 GB, free: 492 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003854/0.3839, allocations: 1.413 MB / 0.511 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.3883, allocations: 1.985 MB / 0.5129 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.3899, allocations: 295.5 kB / 0.5132 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.3935, allocations: 0.9877 MB / 0.5141 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00298/0.3965, allocations: 1.811 MB / 0.5159 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004724/0.4013, allocations: 2.17 MB / 0.518 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01199/0.4133, allocations: 7.097 MB / 0.525 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4133, allocations: 0 / 0.525 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4134, allocations: 4 kB / 0.525 GB, free: 3.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002971/0.4137, allocations: 4 kB / 0.525 GB, free: 3.469 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.01429/0.428, allocations: 4.758 MB / 0.5296 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.4281, allocations: 19.88 kB / 0.5296 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.4395, allocations: 3.141 MB / 0.5327 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/0.4452, allocations: 2.222 MB / 0.5349 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.4454, allocations: 217.9 kB / 0.5351 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.4466, allocations: 307.7 kB / 0.5354 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.4673, allocations: 11.31 MB / 0.5464 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.4675, allocations: 39.69 kB / 0.5464 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004691/0.468, allocations: 135.8 kB / 0.5466 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004651/0.4726, allocations: 2.707 MB / 0.5492 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0214/0.4941, allocations: 10.48 MB / 0.5595 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05809/0.5522, allocations: 37.35 MB / 0.5959 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.5623, allocations: 4.579 MB / 0.6004 GB, free: 4.398 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/0.566, allocations: 2.404 MB / 0.6027 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.5672, allocations: 1.319 MB / 0.604 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.5673, allocations: 52.56 kB / 0.6041 GB, free: 404 kB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.45e-06/0.5673, allocations: 4 kB / 0.6041 GB, free: 400 kB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.0414/0.6087, allocations: 17.71 MB / 0.6214 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.6089, allocations: 73.41 kB / 0.6215 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/0.6132, allocations: 2.801 MB / 0.6242 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003581/0.6136, allocations: 53.7 kB / 0.6242 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.6158, allocations: 2.979 MB / 0.6272 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/0.6171, allocations: 0.961 MB / 0.6281 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/0.6186, allocations: 1.092 MB / 0.6292 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6188, allocations: 309.1 kB / 0.6295 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/0.6221, allocations: 2.33 MB / 0.6317 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3105/0.9326, allocations: 5.308 MB / 0.6369 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009563/0.9422, allocations: 8.386 MB / 0.6451 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.9424, allocations: 33.22 kB / 0.6451 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01518/0.9576, allocations: 8.395 MB / 0.6533 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.587e-05/0.9577, allocations: 49.53 kB / 0.6534 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001836/0.9579, allocations: 103.5 kB / 0.6535 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/0.9609, allocations: 0.9471 MB / 0.6544 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/0.9649, allocations: 1.255 MB / 0.6556 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.9708, allocations: 5.138 MB / 0.6606 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/0.9743, allocations: 301.2 kB / 0.6609 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006465/0.975, allocations: 320.5 kB / 0.6612 GB, free: 109.7 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.003691/0.9787, allocations: 2.197 MB / 0.6634 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005/0.9792, allocations: 298.2 kB / 0.6637 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008009/0.9872, allocations: 5.135 MB / 0.6687 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-05/0.9873, allocations: 47.33 kB / 0.6687 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.9873, allocations: 3.438 kB / 0.6687 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.9873, allocations: 11.39 kB / 0.6687 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/1.004, allocations: 11.94 MB / 0.6804 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.004, allocations: 12.31 kB / 0.6804 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.006, allocations: 398.3 kB / 0.6808 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/1.008, allocations: 0.7783 MB / 0.6816 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/1.008, allocations: 44.91 kB / 0.6816 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/1.012, allocations: 4.397 MB / 0.6859 GB, free: 97.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.012, allocations: 18.02 kB / 0.6859 GB, free: 97.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008203/1.021, allocations: 7.638 MB / 0.6934 GB, free: 90.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.022, allocations: 0.6904 MB / 0.694 GB, free: 89.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/1.022, allocations: 51.98 kB / 0.6941 GB, free: 89.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.023, allocations: 150.8 kB / 0.6942 GB, free: 89.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.024, allocations: 155.4 kB / 0.6944 GB, free: 88.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.024, allocations: 71.98 kB / 0.6945 GB, free: 88.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001779/1.026, allocations: 1.729 MB / 0.6961 GB, free: 87.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.026, allocations: 0 / 0.6961 GB, free: 87.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003472/1.029, allocations: 1.001 MB / 0.6971 GB, free: 86.18 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.000345/1.029, allocations: 189.4 kB / 0.6973 GB, free: 86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006164/1.036, allocations: 5.727 MB / 0.7029 GB, free: 80.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.036, allocations: 0 / 0.7029 GB, free: 80.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/1.038, allocations: 2.149 MB / 0.705 GB, free: 78.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.039, allocations: 393.2 kB / 0.7054 GB, free: 77.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.052, allocations: 10.45 MB / 0.7156 GB, free: 67.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/1.054, allocations: 3.436 MB / 0.7189 GB, free: 63.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0035/1.058, allocations: 1.994 MB / 0.7209 GB, free: 61.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/1.058, allocations: 219.4 kB / 0.7211 GB, free: 61.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/1.058, allocations: 0 / 0.7211 GB, free: 61.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.04756/1.106, allocations: 31.7 MB / 0.752 GB, free: 29.84 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)