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.001046/0.001046, 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.306/1.306, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001842/0.001842, allocations: 103.5 kB / 223.2 MB, free: 4.043 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.1765/0.1765, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.65e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09525, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3408/0.4361, allocations: 92.4 MB / 498.1 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.4363, allocations: 70.72 kB / 498.2 MB, free: 17.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3116/0.748, allocations: 128.6 MB / 0.612 GB, free: 6.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.748, allocations: 0 / 0.612 GB, free: 6.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000346/0.7484, allocations: 120 kB / 0.6122 GB, free: 6.133 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.2646/1.013, allocations: 6.238 MB / 0.6182 GB, free: 73.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.013, allocations: 9.938 kB / 0.6183 GB, free: 73.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/1.042, allocations: 6.454 MB / 0.6246 GB, free: 72.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/1.062, allocations: 8.554 MB / 0.6329 GB, free: 72.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004174/1.063, allocations: 443.3 kB / 0.6333 GB, free: 72.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/1.065, allocations: 0.5796 MB / 0.6339 GB, free: 72.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02996/1.095, allocations: 15.29 MB / 0.6488 GB, free: 70.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003919/1.095, allocations: 60.94 kB / 0.6489 GB, free: 70.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002686/1.098, allocations: 261.1 kB / 0.6491 GB, free: 70.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/1.101, allocations: 1.693 MB / 0.6508 GB, free: 70.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03025/1.131, allocations: 14.63 MB / 0.6651 GB, free: 70.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08477/1.216, allocations: 56.26 MB / 0.72 GB, free: 36.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/1.233, allocations: 7.964 MB / 0.7278 GB, free: 29.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00637/1.24, allocations: 4.69 MB / 0.7324 GB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001832/1.241, allocations: 2.209 MB / 0.7345 GB, free: 22.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.751e-05/1.242, allocations: 71.55 kB / 0.7346 GB, free: 22.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=367): time 9.247e-06/1.242, allocations: 0 / 0.7346 GB, free: 22.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=419): time 0.0901/1.332, allocations: 33.39 MB / 0.7672 GB, free: 11.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/1.332, allocations: 118.7 kB / 0.7673 GB, free: 11.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007259/1.339, allocations: 3.819 MB / 0.7711 GB, free: 8.004 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009679/1.34, allocations: 89.64 kB / 0.7711 GB, free: 7.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003733/1.344, allocations: 3.9 MB / 0.775 GB, free: 4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002691/1.347, allocations: 1.497 MB / 0.7764 GB, free: 2.516 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/1.348, allocations: 148 kB / 0.7766 GB, free: 2.371 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008962/1.349, allocations: 0.6391 MB / 0.7772 GB, free: 1.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2375/1.586, allocations: 3.82 MB / 0.7809 GB, free: 83.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.597, allocations: 7.613 MB / 0.7883 GB, free: 78.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009596/1.606, allocations: 5.409 MB / 0.7936 GB, free: 78.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001691/1.606, allocations: 37.5 kB / 0.7937 GB, free: 78.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.02628/1.633, allocations: 13.94 MB / 0.8073 GB, free: 78.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.633, allocations: 62.94 kB / 0.8073 GB, free: 78.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/1.633, allocations: 130.2 kB / 0.8075 GB, free: 78.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00743/1.641, allocations: 2.623 MB / 0.81 GB, free: 78.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007444/1.648, allocations: 1.944 MB / 0.8119 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/1.665, allocations: 13.61 MB / 0.8252 GB, free: 75.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007153/1.672, allocations: 488.8 kB / 0.8257 GB, free: 75.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/1.674, allocations: 428 kB / 0.8261 GB, free: 75.55 MB / 442.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 () * 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.001441/1.676, allocations: 0.6571 MB / 0.8267 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008059/1.676, allocations: 468.8 kB / 0.8272 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/1.693, allocations: 10.35 MB / 0.8373 GB, free: 72.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.73e-05/1.694, allocations: 64.59 kB / 0.8373 GB, free: 72.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/1.694, allocations: 10.69 kB / 0.8374 GB, free: 72.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/1.694, allocations: 19.03 kB / 0.8374 GB, free: 72.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03513/1.729, allocations: 20.99 MB / 0.8579 GB, free: 65.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/1.729, allocations: 14.06 kB / 0.8579 GB, free: 65.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003796/1.733, allocations: 0.7823 MB / 0.8586 GB, free: 65.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006752/1.739, allocations: 2.41 MB / 0.861 GB, free: 65.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007878/1.74, allocations: 76.72 kB / 0.8611 GB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/1.755, allocations: 12.36 MB / 0.8731 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.755, allocations: 19.94 kB / 0.8732 GB, free: 56.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/1.775, allocations: 16.12 MB / 0.8889 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003101/1.779, allocations: 1.158 MB / 0.89 GB, free: 41.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006968/1.779, allocations: 76.83 kB / 0.8901 GB, free: 41.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.782, allocations: 292.8 kB / 0.8904 GB, free: 40.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000613/1.782, allocations: 262.5 kB / 0.8906 GB, free: 40.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/1.783, allocations: 124.3 kB / 0.8908 GB, free: 40.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00369/1.786, allocations: 2.667 MB / 0.8934 GB, free: 38.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.786, allocations: 0 / 0.8934 GB, free: 38.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006778/1.793, allocations: 1.651 MB / 0.895 GB, free: 36.71 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 () * 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.0006316/1.794, allocations: 240.6 kB / 0.8952 GB, free: 36.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01289/1.807, allocations: 9.594 MB / 0.9046 GB, free: 27.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.807, allocations: 4 kB / 0.9046 GB, free: 27.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005253/1.812, allocations: 4.198 MB / 0.9087 GB, free: 24.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.815, allocations: 0.6473 MB / 0.9093 GB, free: 23.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.837, allocations: 13.32 MB / 0.9223 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004928/1.842, allocations: 4.741 MB / 0.927 GB, free: 8.023 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006058/1.848, allocations: 2.736 MB / 0.9296 GB, free: 5.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.85, allocations: 343.4 kB / 0.93 GB, free: 5.605 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/1.85, allocations: 0 / 0.93 GB, free: 5.605 MB / 442.7 MB Notification: Performance of Templates: time 0.3418/2.191, allocations: 65.09 MB / 0.9935 GB, free: 83.54 MB / 458.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)