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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.006559/0.006559, allocations: 164.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.249/1.249, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001602/0.001602, allocations: 106.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3407/0.3407, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 12 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08282, allocations: 48.71 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2547/0.3376, allocations: 92.24 MB / 0.492 GB, free: 11.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3378, allocations: 78.52 kB / 0.4921 GB, free: 11.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2193/0.5571, allocations: 90.61 MB / 0.5806 GB, free: 5.664 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.5572, allocations: 0 / 0.5806 GB, free: 5.664 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002033/0.5574, allocations: 79.94 kB / 0.5806 GB, free: 5.586 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01667/0.5741, allocations: 4.112 MB / 0.5847 GB, free: 1.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5742, allocations: 8.031 kB / 0.5847 GB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2214/0.7956, allocations: 3.539 MB / 0.5881 GB, free: 82.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.811, allocations: 4.44 MB / 0.5925 GB, free: 82.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004374/0.8115, allocations: 326.9 kB / 0.5928 GB, free: 82.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/0.8138, allocations: 428.7 kB / 0.5932 GB, free: 82.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.8406, allocations: 10.92 MB / 0.6038 GB, free: 80.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003076/0.8409, allocations: 35.3 kB / 0.6039 GB, free: 80.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/0.8429, allocations: 193.9 kB / 0.6041 GB, free: 80.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001843/0.8447, allocations: 1.257 MB / 0.6053 GB, free: 80.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.8627, allocations: 10.46 MB / 0.6155 GB, free: 80.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04818/0.9109, allocations: 37.73 MB / 0.6524 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007425/0.9184, allocations: 4.577 MB / 0.6568 GB, free: 58.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009058/0.9193, allocations: 1.32 MB / 0.6581 GB, free: 57.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.9194, allocations: 58.64 kB / 0.6582 GB, free: 57.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 4.449e-06/0.9194, allocations: 0 / 0.6582 GB, free: 57.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.03196/0.9514, allocations: 17.92 MB / 0.6757 GB, free: 51.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.9514, allocations: 75.62 kB / 0.6757 GB, free: 51.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/0.9541, allocations: 2.47 MB / 0.6782 GB, free: 50.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.9542, allocations: 60.33 kB / 0.6782 GB, free: 50.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009972/0.9552, allocations: 2.839 MB / 0.681 GB, free: 48.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/0.9558, allocations: 0.9184 MB / 0.6819 GB, free: 47.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.956, allocations: 101 kB / 0.682 GB, free: 47.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.9562, allocations: 0.54 MB / 0.6825 GB, free: 47.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.9586, allocations: 2.288 MB / 0.6847 GB, free: 46.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/0.962, allocations: 5.237 MB / 0.6899 GB, free: 41.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.9657, allocations: 3.465 MB / 0.6932 GB, free: 39.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-05/0.9657, allocations: 32 kB / 0.6933 GB, free: 39.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01025/0.976, allocations: 8.275 MB / 0.7013 GB, free: 32.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.976, allocations: 55.8 kB / 0.7014 GB, free: 32.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-05/0.9761, allocations: 100 kB / 0.7015 GB, free: 32.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.9785, allocations: 0.9434 MB / 0.7024 GB, free: 32.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/0.9816, allocations: 1.244 MB / 0.7036 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004952/0.9865, allocations: 4.873 MB / 0.7084 GB, free: 26.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/0.9895, allocations: 291.6 kB / 0.7087 GB, free: 26.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/0.99, allocations: 314.9 kB / 0.709 GB, free: 26.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 654 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002829/0.9928, allocations: 2.184 MB / 0.7111 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.9932, allocations: 292 kB / 0.7114 GB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007001/1, allocations: 5.096 MB / 0.7164 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.379e-05/1, allocations: 43.14 kB / 0.7164 GB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1, allocations: 0 / 0.7164 GB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/1, allocations: 11.64 kB / 0.7164 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/1.018, allocations: 11.98 MB / 0.7281 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.018, allocations: 8 kB / 0.7281 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.02, allocations: 401.9 kB / 0.7285 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/1.022, allocations: 0.7713 MB / 0.7292 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/1.022, allocations: 51.05 kB / 0.7293 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004405/1.027, allocations: 4.139 MB / 0.7333 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/1.027, allocations: 19.59 kB / 0.7334 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.037, allocations: 8.442 MB / 0.7416 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.039, allocations: 0.677 MB / 0.7423 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/1.039, allocations: 54.48 kB / 0.7423 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.04, allocations: 135.8 kB / 0.7424 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/1.041, allocations: 152.9 kB / 0.7426 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.041, allocations: 74.64 kB / 0.7427 GB, free: 11.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002518/1.043, allocations: 1.689 MB / 0.7443 GB, free: 9.617 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.043, allocations: 4 kB / 0.7443 GB, free: 9.613 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003937/1.047, allocations: 1.001 MB / 0.7453 GB, free: 8.617 MB / 442.7 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 (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.0004433/1.048, allocations: 197.5 kB / 0.7455 GB, free: 8.426 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007977/1.056, allocations: 5.596 MB / 0.7509 GB, free: 2.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.056, allocations: 4.188 kB / 0.7509 GB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/1.059, allocations: 2.144 MB / 0.753 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.06, allocations: 344.3 kB / 0.7534 GB, free: 368 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1764/1.237, allocations: 12.22 MB / 0.7653 GB, free: 83.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/1.24, allocations: 3.519 MB / 0.7687 GB, free: 82.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004132/1.245, allocations: 1.997 MB / 0.7707 GB, free: 82.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/1.245, allocations: 212.5 kB / 0.7709 GB, free: 82.7 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/1.245, allocations: 3.188 kB / 0.7709 GB, free: 82.7 MB / 442.7 MB Notification: Performance of Templates: time 0.05608/1.301, allocations: 31.56 MB / 0.8017 GB, free: 81.24 MB / 442.7 MB 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)