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.008029/0.008029, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001631/0.001631, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3042/0.3042, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.001708/0.001708, allocations: 67.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3535, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0146/0.3681, allocations: 13.92 MB / 0.4916 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.3796, allocations: 4.208 MB / 0.4957 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004078/0.3837, allocations: 69.62 kB / 0.4958 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00458/0.3883, allocations: 1.834 MB / 0.4976 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006843/0.3952, allocations: 1.921 MB / 0.4994 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.3976, allocations: 0.5511 MB / 0.5 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008171/0.4057, allocations: 3.964 MB / 0.5038 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005388/0.4112, allocations: 2.728 MB / 0.5065 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/0.4147, allocations: 1.413 MB / 0.5079 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004109/0.4188, allocations: 1.982 MB / 0.5098 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.4203, allocations: 294.7 kB / 0.5101 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.424, allocations: 0.9998 MB / 0.5111 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003792/0.4279, allocations: 1.807 MB / 0.5128 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007287/0.4352, allocations: 2.171 MB / 0.515 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.4467, allocations: 7.064 MB / 0.5219 GB, free: 6.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4467, allocations: 4 kB / 0.5219 GB, free: 6.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.4467, allocations: 0 / 0.5219 GB, free: 6.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000213/0.4469, allocations: 0 / 0.5219 GB, free: 6.473 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.01004/0.457, allocations: 4.638 MB / 0.5264 GB, free: 1.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.457, allocations: 15.89 kB / 0.5264 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009861/0.4669, allocations: 3.118 MB / 0.5295 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/0.4719, allocations: 2.221 MB / 0.5316 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.4721, allocations: 218 kB / 0.5318 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006688/0.4728, allocations: 295.8 kB / 0.5321 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.4908, allocations: 11.32 MB / 0.5432 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.491, allocations: 27.75 kB / 0.5432 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004175/0.4914, allocations: 143.8 kB / 0.5433 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004426/0.4958, allocations: 2.714 MB / 0.546 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/0.518, allocations: 10.48 MB / 0.5562 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06289/0.5809, allocations: 37.27 MB / 0.5926 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.5919, allocations: 4.578 MB / 0.5971 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00383/0.5958, allocations: 2.404 MB / 0.5994 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.5972, allocations: 1.315 MB / 0.6007 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.5972, allocations: 52.56 kB / 0.6008 GB, free: 3.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.861e-06/0.5973, allocations: 4 kB / 0.6008 GB, free: 3.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04241/0.6397, allocations: 17.62 MB / 0.618 GB, free: 1.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.6398, allocations: 77.34 kB / 0.618 GB, free: 1.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006393/0.6462, allocations: 2.796 MB / 0.6208 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.6465, allocations: 61.69 kB / 0.6208 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002739/0.6493, allocations: 2.853 MB / 0.6236 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/0.6507, allocations: 0.9211 MB / 0.6245 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002373/0.6531, allocations: 1.088 MB / 0.6256 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6532, allocations: 301.1 kB / 0.6259 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/0.6568, allocations: 2.334 MB / 0.6282 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006191/0.663, allocations: 5.307 MB / 0.6333 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3935/1.057, allocations: 8.384 MB / 0.6415 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001783/1.057, allocations: 29.81 kB / 0.6416 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0207/1.078, allocations: 8.383 MB / 0.6497 GB, free: 114 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.078, allocations: 48.91 kB / 0.6498 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/1.078, allocations: 103.8 kB / 0.6499 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00326/1.081, allocations: 0.9504 MB / 0.6508 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004637/1.086, allocations: 1.251 MB / 0.652 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008355/1.094, allocations: 5.143 MB / 0.6571 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/1.099, allocations: 302.5 kB / 0.6573 GB, free: 111 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006712/1.1, allocations: 317.6 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.005098/1.105, allocations: 2.182 MB / 0.6598 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008535/1.106, allocations: 278.7 kB / 0.66 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009552/1.115, allocations: 5.137 MB / 0.6651 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.766e-05/1.116, allocations: 45.58 kB / 0.6651 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.116, allocations: 3.938 kB / 0.6651 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/1.116, allocations: 15.16 kB / 0.6651 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.136, allocations: 11.95 MB / 0.6768 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.136, allocations: 7.875 kB / 0.6768 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.137, allocations: 395.6 kB / 0.6772 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/1.139, allocations: 0.7805 MB / 0.6779 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.14, allocations: 53.39 kB / 0.678 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/1.145, allocations: 4.373 MB / 0.6823 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.145, allocations: 18.25 kB / 0.6823 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008873/1.154, allocations: 7.626 MB / 0.6897 GB, free: 94.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.155, allocations: 0.6809 MB / 0.6904 GB, free: 93.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/1.155, allocations: 44 kB / 0.6904 GB, free: 93.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.157, allocations: 154.8 kB / 0.6906 GB, free: 93.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/1.157, allocations: 152.9 kB / 0.6907 GB, free: 92.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/1.157, allocations: 71.98 kB / 0.6908 GB, free: 92.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002459/1.16, allocations: 1.729 MB / 0.6925 GB, free: 91.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.16, allocations: 0 / 0.6925 GB, free: 91.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005536/1.165, allocations: 1.002 MB / 0.6935 GB, free: 90.17 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.0005256/1.166, allocations: 189.8 kB / 0.6936 GB, free: 89.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007669/1.173, allocations: 5.725 MB / 0.6992 GB, free: 84.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.173, allocations: 8.188 kB / 0.6992 GB, free: 84.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002453/1.176, allocations: 2.148 MB / 0.7013 GB, free: 82.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.178, allocations: 390.2 kB / 0.7017 GB, free: 81.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.195, allocations: 10.29 MB / 0.7118 GB, free: 71.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/1.198, allocations: 3.44 MB / 0.7151 GB, free: 67.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003861/1.202, allocations: 2.002 MB / 0.7171 GB, free: 65.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/1.203, allocations: 223.4 kB / 0.7173 GB, free: 65.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/1.203, allocations: 0 / 0.7173 GB, free: 65.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.05654/1.259, allocations: 31.71 MB / 0.7483 GB, free: 33.96 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)