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.00729/0.00729, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001458/0.001458, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.418/1.418, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3126/0.3126, allocations: 39.94 MB / 309.8 MB, free: 9.414 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.00147/0.00147, allocations: 71.89 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.316, allocations: 56.87 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01193/0.328, allocations: 13.93 MB / 0.4947 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008274/0.3363, allocations: 4.202 MB / 0.4988 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.3387, allocations: 70.09 kB / 0.4989 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003265/0.342, allocations: 1.836 MB / 0.5007 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004943/0.3469, allocations: 1.864 MB / 0.5025 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3485, allocations: 0.5554 MB / 0.503 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005722/0.3542, allocations: 3.968 MB / 0.5069 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004248/0.3585, allocations: 2.718 MB / 0.5096 GB, free: 204 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.3617, allocations: 1.417 MB / 0.511 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.3654, allocations: 1.972 MB / 0.5129 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.3665, allocations: 296 kB / 0.5132 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.3692, allocations: 0.9983 MB / 0.5141 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.3713, allocations: 1.809 MB / 0.5159 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002557/0.3738, allocations: 2.166 MB / 0.518 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008498/0.3823, allocations: 7.07 MB / 0.5249 GB, free: 3.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3824, allocations: 0 / 0.5249 GB, free: 3.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3824, allocations: 4 kB / 0.5249 GB, free: 3.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002132/0.3826, allocations: 0 / 0.5249 GB, free: 3.34 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.009511/0.3921, allocations: 4.63 MB / 0.5294 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3922, allocations: 15.89 kB / 0.5295 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.4035, allocations: 3.11 MB / 0.5325 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006474/0.41, allocations: 2.229 MB / 0.5347 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.4103, allocations: 221.9 kB / 0.5349 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.4113, allocations: 303.6 kB / 0.5352 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.4288, allocations: 11.32 MB / 0.5462 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.965e-05/0.4289, allocations: 27.72 kB / 0.5463 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004149/0.4294, allocations: 139.8 kB / 0.5464 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004508/0.4339, allocations: 2.714 MB / 0.549 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.4543, allocations: 10.48 MB / 0.5593 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0549/0.5092, allocations: 37.27 MB / 0.5957 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009687/0.519, allocations: 4.575 MB / 0.6001 GB, free: 4.496 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003309/0.5223, allocations: 2.404 MB / 0.6025 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.5236, allocations: 1.319 MB / 0.6038 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.5237, allocations: 48.56 kB / 0.6038 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.25e-06/0.5237, allocations: 4 kB / 0.6038 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04204/0.5657, allocations: 17.63 MB / 0.621 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.5658, allocations: 77.41 kB / 0.6211 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.5702, allocations: 2.792 MB / 0.6238 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/0.5705, allocations: 57.7 kB / 0.6239 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.5727, allocations: 2.861 MB / 0.6267 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009283/0.5736, allocations: 0.9134 MB / 0.6276 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/0.5752, allocations: 1.092 MB / 0.6286 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5753, allocations: 309.1 kB / 0.6289 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.5784, allocations: 2.33 MB / 0.6312 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2582/0.8366, allocations: 5.303 MB / 0.6364 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.8478, allocations: 8.387 MB / 0.6446 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002105/0.8481, allocations: 34.44 kB / 0.6446 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01646/0.8645, allocations: 8.38 MB / 0.6528 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.8647, allocations: 52.41 kB / 0.6529 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/0.8649, allocations: 102.4 kB / 0.653 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.8679, allocations: 0.9435 MB / 0.6539 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/0.8721, allocations: 1.25 MB / 0.6551 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.8785, allocations: 5.146 MB / 0.6601 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.8822, allocations: 304.3 kB / 0.6604 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006855/0.8829, allocations: 314.2 kB / 0.6607 GB, free: 109.6 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.003453/0.8864, allocations: 2.181 MB / 0.6628 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/0.8869, allocations: 281 kB / 0.6631 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008185/0.8951, allocations: 5.137 MB / 0.6681 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.05e-05/0.8952, allocations: 49.41 kB / 0.6682 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.8952, allocations: 6.969 kB / 0.6682 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/0.8952, allocations: 15.11 kB / 0.6682 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.912, allocations: 11.95 MB / 0.6799 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.9121, allocations: 12.22 kB / 0.6799 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.9136, allocations: 395.4 kB / 0.6802 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/0.9159, allocations: 0.7757 MB / 0.681 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.9161, allocations: 50.2 kB / 0.6811 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004419/0.9205, allocations: 4.391 MB / 0.6853 GB, free: 97.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.9206, allocations: 18.28 kB / 0.6854 GB, free: 97.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008777/0.9293, allocations: 7.622 MB / 0.6928 GB, free: 90.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.931, allocations: 0.6809 MB / 0.6935 GB, free: 89.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/0.9314, allocations: 44 kB / 0.6935 GB, free: 89.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.9326, allocations: 159 kB / 0.6937 GB, free: 89.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.933, allocations: 148.9 kB / 0.6938 GB, free: 89.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.9331, allocations: 76.09 kB / 0.6939 GB, free: 88.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001974/0.9351, allocations: 1.733 MB / 0.6956 GB, free: 87.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9351, allocations: 0 / 0.6956 GB, free: 87.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004148/0.9393, allocations: 1.006 MB / 0.6965 GB, free: 86.22 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.000464/0.9398, allocations: 177.4 kB / 0.6967 GB, free: 86.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006662/0.9464, allocations: 5.721 MB / 0.7023 GB, free: 80.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.9465, allocations: 4 kB / 0.7023 GB, free: 80.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.9488, allocations: 2.153 MB / 0.7044 GB, free: 78.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.9509, allocations: 393.1 kB / 0.7048 GB, free: 77.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.9653, allocations: 10.3 MB / 0.7148 GB, free: 67.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002895/0.9683, allocations: 3.42 MB / 0.7182 GB, free: 63.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00354/0.9719, allocations: 2.006 MB / 0.7201 GB, free: 61.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/0.9726, allocations: 219.4 kB / 0.7204 GB, free: 61.66 MB / 0.4981 GB Notification: Performance of SimCode: time 1.282e-06/0.9726, allocations: 0 / 0.7204 GB, free: 61.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.05285/1.025, allocations: 31.7 MB / 0.7513 GB, free: 30.02 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)