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.000972/0.0009721, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.13/1.13, allocations: 170.6 MB / 183.8 MB, free: 11.41 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.001608/0.001608, allocations: 114.8 kB / 223.2 MB, free: 4.039 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.1677/0.1677, allocations: 37.99 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.946e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09371, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4422, allocations: 92.15 MB / 497.9 MB, free: 18.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4424, allocations: 78.86 kB / 497.9 MB, free: 18.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.217/0.6594, allocations: 90.69 MB / 0.5748 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6595, allocations: 0 / 0.5748 GB, free: 12.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001667/0.6597, allocations: 79.98 kB / 0.5749 GB, free: 12.46 MB / 394.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.01362/0.6733, allocations: 3.954 MB / 0.5788 GB, free: 8.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.6734, allocations: 12.03 kB / 0.5788 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.6894, allocations: 3.558 MB / 0.5822 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.7018, allocations: 4.413 MB / 0.5866 GB, free: 408 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.7022, allocations: 328.5 kB / 0.5869 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002597/0.7048, allocations: 435.8 kB / 0.5873 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02552/0.7303, allocations: 10.82 MB / 0.5978 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.7306, allocations: 31.7 kB / 0.5979 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00091/0.7315, allocations: 199.8 kB / 0.5981 GB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001942/0.7334, allocations: 1.247 MB / 0.5993 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/0.7551, allocations: 10.33 MB / 0.6094 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3718/1.127, allocations: 37.71 MB / 0.6462 GB, free: 74.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/1.137, allocations: 4.559 MB / 0.6507 GB, free: 73.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/1.142, allocations: 2.381 MB / 0.653 GB, free: 73.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/1.143, allocations: 1.319 MB / 0.6543 GB, free: 72.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.143, allocations: 57.28 kB / 0.6543 GB, free: 72.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 5.941e-06/1.143, allocations: 0 / 0.6543 GB, free: 72.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.03369/1.177, allocations: 14.59 MB / 0.6686 GB, free: 70.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.177, allocations: 76.94 kB / 0.6686 GB, free: 70.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004837/1.182, allocations: 2.438 MB / 0.671 GB, free: 70.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000385/1.182, allocations: 60.08 kB / 0.6711 GB, free: 70.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/1.184, allocations: 2.839 MB / 0.6739 GB, free: 68.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.185, allocations: 0.9159 MB / 0.6747 GB, free: 68.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004835/1.185, allocations: 102.8 kB / 0.6748 GB, free: 67.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004547/1.186, allocations: 0.5461 MB / 0.6754 GB, free: 67.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/1.189, allocations: 2.249 MB / 0.6776 GB, free: 66.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004741/1.194, allocations: 5.197 MB / 0.6826 GB, free: 62.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005177/1.199, allocations: 3.453 MB / 0.686 GB, free: 61.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/1.199, allocations: 29.94 kB / 0.686 GB, free: 61.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01409/1.213, allocations: 8.197 MB / 0.6941 GB, free: 58.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.214, allocations: 50.44 kB / 0.6941 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/1.214, allocations: 104.5 kB / 0.6942 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/1.217, allocations: 0.9395 MB / 0.6951 GB, free: 58.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/1.221, allocations: 1.236 MB / 0.6963 GB, free: 58.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/1.227, allocations: 4.743 MB / 0.701 GB, free: 56.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/1.232, allocations: 297.9 kB / 0.7012 GB, free: 56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/1.233, allocations: 312.2 kB / 0.7015 GB, free: 55.96 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 () * 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.00166/1.235, allocations: 0.4998 MB / 0.702 GB, free: 55.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/1.235, allocations: 285.8 kB / 0.7023 GB, free: 55.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008736/1.244, allocations: 5.066 MB / 0.7072 GB, free: 53.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.813e-05/1.244, allocations: 46.09 kB / 0.7073 GB, free: 53.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/1.244, allocations: 3.625 kB / 0.7073 GB, free: 53.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/1.244, allocations: 11.25 kB / 0.7073 GB, free: 53.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.267, allocations: 11.95 MB / 0.719 GB, free: 44.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/1.267, allocations: 8 kB / 0.719 GB, free: 44.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.269, allocations: 406.4 kB / 0.7194 GB, free: 43.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/1.271, allocations: 0.7701 MB / 0.7201 GB, free: 43.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/1.271, allocations: 47.89 kB / 0.7202 GB, free: 43.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004799/1.276, allocations: 4.016 MB / 0.7241 GB, free: 39.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.276, allocations: 15.94 kB / 0.7241 GB, free: 39.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.286, allocations: 8.378 MB / 0.7323 GB, free: 32.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.289, allocations: 0.6853 MB / 0.733 GB, free: 31.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007383/1.289, allocations: 44 kB / 0.733 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.291, allocations: 145.3 kB / 0.7331 GB, free: 31.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/1.291, allocations: 156.5 kB / 0.7333 GB, free: 31.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.292, allocations: 75.61 kB / 0.7334 GB, free: 31.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003507/1.295, allocations: 1.663 MB / 0.735 GB, free: 29.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.295, allocations: 0 / 0.735 GB, free: 29.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006532/1.302, allocations: 1.001 MB / 0.736 GB, free: 28.67 MB / 426.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 () * 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.0007216/1.302, allocations: 188 kB / 0.7361 GB, free: 28.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008159/1.311, allocations: 5.532 MB / 0.7415 GB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/1.311, allocations: 4.938 kB / 0.7415 GB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002759/1.313, allocations: 2.128 MB / 0.7436 GB, free: 21.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.316, allocations: 350.4 kB / 0.744 GB, free: 21.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.333, allocations: 8.643 MB / 0.7524 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003371/1.337, allocations: 3.515 MB / 0.7558 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004644/1.341, allocations: 1.995 MB / 0.7578 GB, free: 9.359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/1.342, allocations: 217.4 kB / 0.758 GB, free: 9.156 MB / 426.7 MB Notification: Performance of SimCode: time 1.823e-06/1.342, allocations: 0 / 0.758 GB, free: 9.156 MB / 426.7 MB Notification: Performance of Templates: time 0.32/1.662, allocations: 31.57 MB / 0.7888 GB, free: 94.93 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)