Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006063/0.006063, allocations: 165.8 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.397/1.397, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001605/0.001605, allocations: 107.3 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.4045/0.4045, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004304, allocations: 16 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.138, allocations: 48.69 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4332/0.5712, allocations: 92.49 MB / 0.4922 GB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5715, allocations: 72.75 kB / 0.4923 GB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6424/1.214, allocations: 128.5 MB / 0.6178 GB, free: 77.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.577e-06/1.214, allocations: 0 / 0.6178 GB, free: 77.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004537/1.214, allocations: 115.4 kB / 0.6179 GB, free: 77.11 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: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.0268/1.241, allocations: 6.676 MB / 0.6244 GB, free: 74.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.241, allocations: 13.88 kB / 0.6244 GB, free: 74.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0292/1.271, allocations: 6.454 MB / 0.6307 GB, free: 74.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02666/1.297, allocations: 8.595 MB / 0.6391 GB, free: 73.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005935/1.298, allocations: 436 kB / 0.6395 GB, free: 73.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004265/1.302, allocations: 0.5789 MB / 0.6401 GB, free: 73.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04319/1.345, allocations: 15.42 MB / 0.6551 GB, free: 70.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004595/1.346, allocations: 58.22 kB / 0.6552 GB, free: 70.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003792/1.35, allocations: 264.2 kB / 0.6555 GB, free: 69.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002875/1.353, allocations: 1.698 MB / 0.6571 GB, free: 69.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03231/1.385, allocations: 14.83 MB / 0.6716 GB, free: 65.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0942/1.479, allocations: 56.25 MB / 0.7265 GB, free: 16.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/1.496, allocations: 8.002 MB / 0.7343 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/1.498, allocations: 2.204 MB / 0.7365 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.204e-05/1.498, allocations: 72.7 kB / 0.7366 GB, free: 5.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=367): time 7.844e-06/1.498, allocations: 4 kB / 0.7366 GB, free: 5.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=419): time 0.4259/1.924, allocations: 39.66 MB / 0.7753 GB, free: 66.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.924, allocations: 119.3 kB / 0.7754 GB, free: 66.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009196/1.933, allocations: 3.856 MB / 0.7792 GB, free: 66.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001449/1.934, allocations: 85.88 kB / 0.7793 GB, free: 66.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/1.938, allocations: 3.908 MB / 0.7831 GB, free: 64.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002606/1.94, allocations: 1.492 MB / 0.7845 GB, free: 63.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005769/1.941, allocations: 153.9 kB / 0.7847 GB, free: 63.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004965/1.942, allocations: 0.6302 MB / 0.7853 GB, free: 63.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006359/1.948, allocations: 3.89 MB / 0.7891 GB, free: 62.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008385/1.956, allocations: 7.678 MB / 0.7966 GB, free: 56.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008807/1.965, allocations: 5.43 MB / 0.8019 GB, free: 54.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.965, allocations: 38.38 kB / 0.8019 GB, free: 54.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.03/1.995, allocations: 14.07 MB / 0.8157 GB, free: 49.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/1.996, allocations: 61.41 kB / 0.8157 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/1.996, allocations: 130.1 kB / 0.8159 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00724/2.003, allocations: 2.628 MB / 0.8184 GB, free: 49.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007778/2.011, allocations: 1.946 MB / 0.8203 GB, free: 49.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/2.028, allocations: 14.07 MB / 0.8341 GB, free: 42.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007954/2.036, allocations: 478.3 kB / 0.8345 GB, free: 42.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/2.039, allocations: 432 kB / 0.8349 GB, free: 42.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 594 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (920): * Single equations (assignments): 912 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007832/2.047, allocations: 2.918 MB / 0.8378 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001863/2.049, allocations: 468.4 kB / 0.8382 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/2.067, allocations: 10.42 MB / 0.8484 GB, free: 35.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.818e-05/2.067, allocations: 57.25 kB / 0.8485 GB, free: 35.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/2.067, allocations: 18.58 kB / 0.8485 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.079e-05/2.067, allocations: 18.66 kB / 0.8485 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03935/2.106, allocations: 21.06 MB / 0.8691 GB, free: 18.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/2.106, allocations: 11.84 kB / 0.8691 GB, free: 18.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003786/2.11, allocations: 0.7913 MB / 0.8698 GB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006724/2.117, allocations: 2.409 MB / 0.8722 GB, free: 16.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009239/2.118, allocations: 80.95 kB / 0.8723 GB, free: 16.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/2.132, allocations: 12.81 MB / 0.8848 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/2.133, allocations: 23.83 kB / 0.8848 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02741/2.16, allocations: 16.24 MB / 0.9007 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3115/2.472, allocations: 1.146 MB / 0.9018 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00239/2.474, allocations: 76 kB / 0.9019 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004341/2.478, allocations: 296.4 kB / 0.9021 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/2.48, allocations: 262.8 kB / 0.9024 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003961/2.48, allocations: 115.2 kB / 0.9025 GB, free: 75.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007099/2.487, allocations: 2.718 MB / 0.9052 GB, free: 75.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.487, allocations: 0 / 0.9052 GB, free: 75.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01309/2.5, allocations: 1.649 MB / 0.9068 GB, free: 75.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/2.502, allocations: 238.3 kB / 0.907 GB, free: 75.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01983/2.522, allocations: 9.708 MB / 0.9165 GB, free: 75.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.097e-05/2.522, allocations: 4.5 kB / 0.9165 GB, free: 75.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008251/2.53, allocations: 4.249 MB / 0.9206 GB, free: 74.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005255/2.535, allocations: 0.6347 MB / 0.9212 GB, free: 74.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03672/2.572, allocations: 18.37 MB / 0.9392 GB, free: 68.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/2.582, allocations: 4.743 MB / 0.9438 GB, free: 67.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009613/2.592, allocations: 2.736 MB / 0.9465 GB, free: 67.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/2.594, allocations: 356 kB / 0.9468 GB, free: 67.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/2.594, allocations: 0 / 0.9468 GB, free: 67.04 MB / 442.7 MB Notification: Performance of Templates: time 0.1235/2.718, allocations: 65.09 MB / 1.01 GB, free: 45.25 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)