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.001213/0.001213, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008275/0.008275, allocations: 169 kB / 16.26 MB, free: 6.652 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.733/1.733, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.3706/0.3706, allocations: 40 MB / 310.7 MB, free: 9.852 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.0005807/0.0005808, allocations: 12 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.119, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2477/0.3667, allocations: 37.2 MB / 474.6 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02061/0.3874, allocations: 8.229 MB / 482.8 MB, free: 26.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00989/0.3973, allocations: 155.3 kB / 483 MB, free: 26.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.3995, allocations: 480.5 kB / 483.5 MB, free: 26.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.4059, allocations: 1.75 MB / 485.2 MB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.4077, allocations: 0.5151 MB / 485.7 MB, free: 25.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008213/0.4159, allocations: 5.541 MB / 491.3 MB, free: 23.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006274/0.4222, allocations: 3.416 MB / 494.7 MB, free: 22.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.4249, allocations: 1.1 MB / 495.8 MB, free: 22.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.4282, allocations: 1.911 MB / 497.7 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.4293, allocations: 150.4 kB / 497.8 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.4321, allocations: 0.9125 MB / 498.8 MB, free: 21.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002913/0.435, allocations: 1.667 MB / 0.4887 GB, free: 20.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00549/0.4405, allocations: 2.017 MB / 0.4907 GB, free: 19.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.4527, allocations: 6.529 MB / 0.497 GB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.4527, allocations: 2.438 kB / 0.497 GB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.4527, allocations: 4 kB / 0.497 GB, free: 17.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003447/0.4531, allocations: 0 / 0.497 GB, free: 17.41 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.01433/0.4674, allocations: 3.794 MB / 0.5007 GB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4675, allocations: 9.562 kB / 0.5008 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.4804, allocations: 3.203 MB / 0.5039 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00671/0.4871, allocations: 2.202 MB / 0.506 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/0.4876, allocations: 225.9 kB / 0.5063 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.4894, allocations: 293.8 kB / 0.5065 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/0.5153, allocations: 11.33 MB / 0.5176 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002051/0.5156, allocations: 31.72 kB / 0.5176 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/0.5171, allocations: 139.8 kB / 0.5178 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005274/0.5224, allocations: 2.71 MB / 0.5204 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/0.5482, allocations: 10.48 MB / 0.5306 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07361/0.6218, allocations: 37.52 MB / 0.5673 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.6332, allocations: 4.569 MB / 0.5717 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003973/0.6372, allocations: 2.4 MB / 0.5741 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.6386, allocations: 1.315 MB / 0.5754 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.6387, allocations: 64.44 kB / 0.5754 GB, free: 8.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.601e-06/0.6387, allocations: 0 / 0.5754 GB, free: 8.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04382/0.6825, allocations: 17.62 MB / 0.5926 GB, free: 6.695 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.6826, allocations: 73.41 kB / 0.5927 GB, free: 6.613 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/0.6871, allocations: 2.792 MB / 0.5954 GB, free: 3.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000434/0.6876, allocations: 57.7 kB / 0.5955 GB, free: 3.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.6896, allocations: 2.853 MB / 0.5983 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/0.6912, allocations: 0.9212 MB / 0.5992 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008254/0.6921, allocations: 486.2 kB / 0.5997 GB, free: 15.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6922, allocations: 305.1 kB / 0.5999 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003636/0.6958, allocations: 2.338 MB / 0.6022 GB, free: 12.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005874/0.7017, allocations: 5.307 MB / 0.6074 GB, free: 6.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/0.7127, allocations: 8.384 MB / 0.6156 GB, free: 12.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.405e-05/0.7128, allocations: 35.94 kB / 0.6156 GB, free: 12.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01828/0.7311, allocations: 8.383 MB / 0.6238 GB, free: 3.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.7313, allocations: 52 kB / 0.6239 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/0.7315, allocations: 100 kB / 0.624 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/0.7347, allocations: 0.949 MB / 0.6249 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005281/0.7401, allocations: 1.244 MB / 0.6261 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2721/1.012, allocations: 4.781 MB / 0.6308 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/1.016, allocations: 308.2 kB / 0.6311 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009768/1.017, allocations: 314.9 kB / 0.6314 GB, free: 116 MB / 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.004814/1.022, allocations: 2.183 MB / 0.6335 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/1.023, allocations: 278.6 kB / 0.6338 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008562/1.031, allocations: 5.135 MB / 0.6388 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.395e-05/1.032, allocations: 50.64 kB / 0.6388 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.032, allocations: 3.484 kB / 0.6388 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.032, allocations: 10.31 kB / 0.6388 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/1.053, allocations: 11.98 MB / 0.6505 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/1.053, allocations: 9.625 kB / 0.6505 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.054, allocations: 399.3 kB / 0.6509 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/1.057, allocations: 0.7742 MB / 0.6517 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/1.057, allocations: 52.92 kB / 0.6517 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/1.062, allocations: 4.084 MB / 0.6557 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/1.062, allocations: 19.14 kB / 0.6557 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.074, allocations: 7.625 MB / 0.6632 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.076, allocations: 0.6855 MB / 0.6639 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007244/1.077, allocations: 47.69 kB / 0.6639 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.079, allocations: 152.1 kB / 0.664 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/1.079, allocations: 151.8 kB / 0.6642 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.079, allocations: 77.48 kB / 0.6643 GB, free: 106.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002875/1.082, allocations: 1.724 MB / 0.6659 GB, free: 106.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.082, allocations: 0.75 kB / 0.6659 GB, free: 106.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005999/1.088, allocations: 1.001 MB / 0.6669 GB, free: 106 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.0005033/1.089, allocations: 191.4 kB / 0.6671 GB, free: 105.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007764/1.096, allocations: 5.675 MB / 0.6726 GB, free: 104.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.096, allocations: 7.812 kB / 0.6727 GB, free: 104.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002537/1.099, allocations: 2.142 MB / 0.6747 GB, free: 103.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00562/1.105, allocations: 389.5 kB / 0.6751 GB, free: 103.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.123, allocations: 12.76 MB / 0.6876 GB, free: 95.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/1.126, allocations: 3.431 MB / 0.6909 GB, free: 92.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004007/1.13, allocations: 1.999 MB / 0.6929 GB, free: 90.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006565/1.131, allocations: 227.4 kB / 0.6931 GB, free: 90.02 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/1.131, allocations: 0 / 0.6931 GB, free: 90.02 MB / 494.1 MB Notification: Performance of Templates: time 0.05619/1.187, allocations: 32.25 MB / 0.7246 GB, free: 57.93 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: