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.0008169/0.0008169, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.004923/0.004923, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.349/1.349, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3229/0.3229, allocations: 38.04 MB / 308.8 MB, free: 10.27 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.000546/0.000546, allocations: 12 kB / 377 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1144, allocations: 57.53 MB / 434.6 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2532/0.3676, allocations: 37.19 MB / 471.8 MB, free: 32.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01996/0.3876, allocations: 8.232 MB / 480 MB, free: 29.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005973/0.3936, allocations: 153.8 kB / 480.1 MB, free: 29.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3948, allocations: 481.7 kB / 480.6 MB, free: 29.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.3985, allocations: 1.755 MB / 482.4 MB, free: 28.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.3996, allocations: 0.5083 MB / 482.9 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004474/0.404, allocations: 5.545 MB / 488.4 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003853/0.4079, allocations: 3.413 MB / 491.8 MB, free: 25.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.4095, allocations: 1.095 MB / 492.9 MB, free: 24.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.4116, allocations: 1.906 MB / 494.8 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.4119, allocations: 155.5 kB / 495 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.4136, allocations: 0.9213 MB / 495.9 MB, free: 23.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001885/0.4155, allocations: 1.672 MB / 497.6 MB, free: 23.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.4175, allocations: 2.014 MB / 499.6 MB, free: 21.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.4277, allocations: 6.529 MB / 0.4943 GB, free: 20.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4278, allocations: 0 / 0.4943 GB, free: 20.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4278, allocations: 1.062 kB / 0.4943 GB, free: 20.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003084/0.4281, allocations: 0 / 0.4943 GB, free: 20.09 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.01151/0.4396, allocations: 3.793 MB / 0.498 GB, free: 17.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.4397, allocations: 9.625 kB / 0.498 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/0.452, allocations: 3.208 MB / 0.5011 GB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006024/0.4581, allocations: 2.201 MB / 0.5033 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.4583, allocations: 224.8 kB / 0.5035 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000999/0.4593, allocations: 293.5 kB / 0.5038 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/0.4787, allocations: 11.33 MB / 0.5148 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.4788, allocations: 23.75 kB / 0.5148 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003972/0.4793, allocations: 141.1 kB / 0.515 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004222/0.4835, allocations: 2.707 MB / 0.5176 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/0.503, allocations: 10.5 MB / 0.5279 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/0.5646, allocations: 37.52 MB / 0.5645 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.5747, allocations: 4.575 MB / 0.569 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003691/0.5784, allocations: 2.396 MB / 0.5713 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.5796, allocations: 1.315 MB / 0.5726 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.5797, allocations: 56.5 kB / 0.5727 GB, free: 12.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.651e-06/0.5797, allocations: 0 / 0.5727 GB, free: 12.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04233/0.622, allocations: 17.62 MB / 0.5899 GB, free: 11.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.6222, allocations: 73.41 kB / 0.5899 GB, free: 10.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005854/0.628, allocations: 2.792 MB / 0.5927 GB, free: 8.145 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003597/0.6284, allocations: 65.69 kB / 0.5927 GB, free: 8.074 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.6308, allocations: 2.853 MB / 0.5955 GB, free: 5.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.6322, allocations: 0.9249 MB / 0.5964 GB, free: 4.242 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.6333, allocations: 482.3 kB / 0.5969 GB, free: 3.766 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6334, allocations: 305.1 kB / 0.5972 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/0.6375, allocations: 2.33 MB / 0.5994 GB, free: 1.129 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/0.6436, allocations: 5.315 MB / 0.6046 GB, free: 10.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/0.6547, allocations: 8.384 MB / 0.6128 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/0.6548, allocations: 32 kB / 0.6128 GB, free: 496 kB / 478.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01865/0.6735, allocations: 8.391 MB / 0.621 GB, free: 8.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.6737, allocations: 48 kB / 0.6211 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/0.6739, allocations: 104 kB / 0.6212 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003077/0.6769, allocations: 0.9457 MB / 0.6221 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/0.6821, allocations: 1.252 MB / 0.6233 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007813/0.6899, allocations: 4.78 MB / 0.628 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.6945, allocations: 319.7 kB / 0.6283 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/0.696, allocations: 312 kB / 0.6286 GB, free: 212 kB / 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.2755/0.9715, allocations: 2.18 MB / 0.6307 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/0.9721, allocations: 278.3 kB / 0.631 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008052/0.9801, allocations: 5.133 MB / 0.636 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/0.9802, allocations: 47.48 kB / 0.6361 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/0.9802, allocations: 3.312 kB / 0.6361 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.9802, allocations: 9.797 kB / 0.6361 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.9973, allocations: 11.97 MB / 0.6478 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.9974, allocations: 8.844 kB / 0.6478 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.9989, allocations: 398.6 kB / 0.6481 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/1.001, allocations: 0.7788 MB / 0.6489 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.001, allocations: 49.5 kB / 0.649 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/1.006, allocations: 4.088 MB / 0.6529 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/1.006, allocations: 14.75 kB / 0.653 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.017, allocations: 7.625 MB / 0.6604 GB, free: 112.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.019, allocations: 0.6846 MB / 0.6611 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006579/1.019, allocations: 58.67 kB / 0.6611 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.021, allocations: 144.1 kB / 0.6613 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/1.021, allocations: 156.2 kB / 0.6614 GB, free: 112.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.021, allocations: 71.3 kB / 0.6615 GB, free: 112.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002847/1.024, allocations: 1.726 MB / 0.6632 GB, free: 112 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.024, allocations: 3.156 kB / 0.6632 GB, free: 112 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005709/1.03, allocations: 1.001 MB / 0.6642 GB, free: 111.9 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.0005149/1.03, allocations: 191.4 kB / 0.6643 GB, free: 111.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007941/1.038, allocations: 5.678 MB / 0.6699 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.038, allocations: 0 / 0.6699 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002603/1.041, allocations: 2.146 MB / 0.672 GB, free: 109.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/1.046, allocations: 386 kB / 0.6723 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.062, allocations: 12.75 MB / 0.6848 GB, free: 102.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/1.066, allocations: 3.441 MB / 0.6882 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004066/1.07, allocations: 2.005 MB / 0.6901 GB, free: 98.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/1.07, allocations: 211.4 kB / 0.6903 GB, free: 98.37 MB / 494.1 MB Notification: Performance of SimCode: time 1.183e-06/1.07, allocations: 0 / 0.6903 GB, free: 98.37 MB / 494.1 MB Notification: Performance of Templates: time 0.04998/1.12, allocations: 32.27 MB / 0.7218 GB, free: 66.26 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: