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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001495/0.001495, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.396/1.396, allocations: 194.3 MB / 202.4 MB, free: 8.551 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001583/0.001583, allocations: 116.1 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2704/0.2704, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.125e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5204, allocations: 98.3 MB / 0.5337 GB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.5207, allocations: 71.47 kB / 0.5337 GB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2343/0.755, allocations: 88.97 MB / 0.6206 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7551, allocations: 0 / 0.6206 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002332/0.7553, allocations: 83.94 kB / 0.6207 GB, free: 0.5547 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01608/0.7714, allocations: 3.95 MB / 0.6246 GB, free: 12.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.7715, allocations: 12.03 kB / 0.6246 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.7889, allocations: 3.55 MB / 0.6281 GB, free: 8.965 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/0.8027, allocations: 4.409 MB / 0.6324 GB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.803, allocations: 144 kB / 0.6325 GB, free: 4.359 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003938/0.807, allocations: 263.7 kB / 0.6327 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01958/0.8266, allocations: 7.679 MB / 0.6402 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/0.8554, allocations: 10.03 MB / 0.65 GB, free: 1.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003535/0.8559, allocations: 35.7 kB / 0.6501 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00301/0.8589, allocations: 16 kB / 0.6501 GB, free: 1.859 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002633/0.8616, allocations: 1.251 MB / 0.6513 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3786/1.24, allocations: 35.14 MB / 0.6856 GB, free: 99.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005867/1.246, allocations: 4.367 MB / 0.6899 GB, free: 97.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/1.25, allocations: 2.333 MB / 0.6922 GB, free: 97.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/1.252, allocations: 1.32 MB / 0.6935 GB, free: 96.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/1.252, allocations: 53.22 kB / 0.6935 GB, free: 96.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 6.212e-06/1.252, allocations: 1.219 kB / 0.6935 GB, free: 96.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.02853/1.28, allocations: 15.7 MB / 0.7088 GB, free: 95.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/1.281, allocations: 77.66 kB / 0.7089 GB, free: 95.31 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003332/1.284, allocations: 2.308 MB / 0.7112 GB, free: 95.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002324/1.284, allocations: 25.7 kB / 0.7112 GB, free: 95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/1.286, allocations: 2.939 MB / 0.7141 GB, free: 93.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007055/1.286, allocations: 0.9026 MB / 0.7149 GB, free: 92.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.287, allocations: 0 / 0.7149 GB, free: 92.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002469/1.287, allocations: 0.557 MB / 0.7155 GB, free: 92.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/1.289, allocations: 2.229 MB / 0.7177 GB, free: 92.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/1.293, allocations: 5.405 MB / 0.7229 GB, free: 87.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/1.297, allocations: 3.512 MB / 0.7264 GB, free: 86.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.587e-05/1.297, allocations: 34.5 kB / 0.7264 GB, free: 86.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01269/1.31, allocations: 7.837 MB / 0.7341 GB, free: 84.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/1.31, allocations: 52.88 kB / 0.7341 GB, free: 84.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/1.31, allocations: 114.2 kB / 0.7342 GB, free: 84.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/1.313, allocations: 0.9602 MB / 0.7352 GB, free: 84.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/1.318, allocations: 1.323 MB / 0.7365 GB, free: 84.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/1.323, allocations: 4.554 MB / 0.7409 GB, free: 81.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/1.328, allocations: 205.3 kB / 0.7411 GB, free: 81.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.329, allocations: 339.8 kB / 0.7414 GB, free: 81.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (708): * Single equations (assignments): 701 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001883/1.331, allocations: 391.8 kB / 0.7418 GB, free: 81.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009207/1.332, allocations: 274.8 kB / 0.7421 GB, free: 81.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00889/1.341, allocations: 4.936 MB / 0.7469 GB, free: 79.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.624e-05/1.341, allocations: 50.09 kB / 0.7469 GB, free: 79.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.341, allocations: 3.844 kB / 0.7469 GB, free: 79.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.341, allocations: 13.61 kB / 0.7469 GB, free: 79.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/1.362, allocations: 10.84 MB / 0.7575 GB, free: 74.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/1.362, allocations: 12 kB / 0.7575 GB, free: 74.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.364, allocations: 404 kB / 0.7579 GB, free: 73.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00225/1.366, allocations: 0.7611 MB / 0.7587 GB, free: 73.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/1.366, allocations: 27.86 kB / 0.7587 GB, free: 73.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/1.371, allocations: 3.863 MB / 0.7625 GB, free: 69.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/1.371, allocations: 15.94 kB / 0.7625 GB, free: 69.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.381, allocations: 8.318 MB / 0.7706 GB, free: 62.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/1.383, allocations: 0.6747 MB / 0.7713 GB, free: 61.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009061/1.384, allocations: 16 kB / 0.7713 GB, free: 61.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.386, allocations: 112.7 kB / 0.7714 GB, free: 61.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003638/1.386, allocations: 156.1 kB / 0.7715 GB, free: 61.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/1.387, allocations: 83.3 kB / 0.7716 GB, free: 61.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003239/1.39, allocations: 1.514 MB / 0.7731 GB, free: 59.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.39, allocations: 0 / 0.7731 GB, free: 59.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005818/1.396, allocations: 0.877 MB / 0.7739 GB, free: 59.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000583/1.396, allocations: 164.4 kB / 0.7741 GB, free: 58.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007713/1.404, allocations: 5.421 MB / 0.7794 GB, free: 54.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.404, allocations: 0.8438 kB / 0.7794 GB, free: 54.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002807/1.407, allocations: 2.076 MB / 0.7814 GB, free: 52.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.409, allocations: 241.3 kB / 0.7817 GB, free: 51.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/1.428, allocations: 8.591 MB / 0.79 GB, free: 44.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005482/1.433, allocations: 3.512 MB / 0.7935 GB, free: 41.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006429/1.44, allocations: 2.104 MB / 0.7955 GB, free: 40.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.441, allocations: 213.9 kB / 0.7957 GB, free: 39.87 MB / 474.7 MB Notification: Performance of SimCode: time 2.164e-06/1.441, allocations: 0 / 0.7957 GB, free: 39.87 MB / 474.7 MB Notification: Performance of Templates: time 0.05601/1.497, allocations: 27.84 MB / 0.8229 GB, free: 15.93 MB / 474.7 MB 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)