Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008565/0.008565, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.605/1.605, allocations: 194.5 MB / 210.3 MB, free: 7.531 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.00192/0.00192, allocations: 124.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1716/0.1716, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 19.41 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 54.87 MB / 461 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.5088, allocations: 96.02 MB / 0.544 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.5091, allocations: 77.78 kB / 0.5441 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.191/0.7001, allocations: 85.57 MB / 0.6276 GB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7002, allocations: 0 / 0.6276 GB, free: 15.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.7003, allocations: 72 kB / 0.6277 GB, free: 15.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.009579/0.7099, allocations: 3.795 MB / 0.6314 GB, free: 11.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7099, allocations: 8.031 kB / 0.6314 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/0.7244, allocations: 3.496 MB / 0.6348 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.7364, allocations: 4.169 MB / 0.6389 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/0.7367, allocations: 294.9 kB / 0.6392 GB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.7385, allocations: 397.2 kB / 0.6396 GB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.7587, allocations: 10.3 MB / 0.6496 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.7588, allocations: 31.72 kB / 0.6497 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008458/0.7597, allocations: 174 kB / 0.6498 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001664/0.7614, allocations: 1.207 MB / 0.651 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0217/0.7831, allocations: 10.01 MB / 0.6608 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0568/0.8399, allocations: 35.48 MB / 0.6954 GB, free: 9.262 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009781/0.8497, allocations: 4.964 MB / 0.7003 GB, free: 4.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002119/0.8519, allocations: 1.88 MB / 0.7021 GB, free: 1.855 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.941e-05/0.852, allocations: 56.55 kB / 0.7022 GB, free: 1.793 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 6.562e-06/0.852, allocations: 0 / 0.7022 GB, free: 1.793 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.03385/0.8859, allocations: 14.35 MB / 0.7162 GB, free: 3.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.886, allocations: 73.41 kB / 0.7162 GB, free: 3.188 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004567/0.8906, allocations: 2.366 MB / 0.7186 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003478/0.8909, allocations: 57.69 kB / 0.7186 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2176/1.109, allocations: 2.692 MB / 0.7212 GB, free: 125.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.11, allocations: 0.8516 MB / 0.7221 GB, free: 125 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/1.11, allocations: 105.5 kB / 0.7222 GB, free: 125 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002989/1.111, allocations: 0.5329 MB / 0.7227 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/1.114, allocations: 2.175 MB / 0.7248 GB, free: 124.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00521/1.12, allocations: 5.066 MB / 0.7298 GB, free: 121 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005018/1.125, allocations: 3.316 MB / 0.733 GB, free: 120.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/1.125, allocations: 28.84 kB / 0.733 GB, free: 120.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02152/1.146, allocations: 7.858 MB / 0.7407 GB, free: 120.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002096/1.147, allocations: 47.56 kB / 0.7407 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/1.147, allocations: 98.25 kB / 0.7408 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/1.15, allocations: 0.8017 MB / 0.7416 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006026/1.156, allocations: 1.196 MB / 0.7428 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/1.163, allocations: 4.228 MB / 0.7469 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005874/1.169, allocations: 298.8 kB / 0.7472 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.17, allocations: 300.9 kB / 0.7475 GB, free: 118.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 24 (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 (636): * Single equations (assignments): 629 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005967/1.176, allocations: 2.043 MB / 0.7495 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/1.177, allocations: 263.2 kB / 0.7497 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/1.184, allocations: 4.705 MB / 0.7543 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/1.184, allocations: 41.72 kB / 0.7544 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.184, allocations: 6.219 kB / 0.7544 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/1.184, allocations: 17.11 kB / 0.7544 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.202, allocations: 10.61 MB / 0.7647 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.202, allocations: 6.5 kB / 0.7648 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.204, allocations: 361.7 kB / 0.7651 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/1.206, allocations: 0.6622 MB / 0.7657 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/1.206, allocations: 44.34 kB / 0.7658 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/1.21, allocations: 3.689 MB / 0.7694 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.21, allocations: 11.31 kB / 0.7694 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008872/1.219, allocations: 7.656 MB / 0.7769 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.221, allocations: 0.6515 MB / 0.7775 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005874/1.221, allocations: 35.72 kB / 0.7775 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.223, allocations: 138.8 kB / 0.7777 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.223, allocations: 137.9 kB / 0.7778 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.223, allocations: 60.08 kB / 0.7779 GB, free: 109.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002792/1.226, allocations: 1.622 MB / 0.7795 GB, free: 109.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.226, allocations: 0 / 0.7795 GB, free: 109.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004989/1.231, allocations: 0.9384 MB / 0.7804 GB, free: 109 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004901/1.231, allocations: 189 kB / 0.7806 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006898/1.238, allocations: 5.318 MB / 0.7857 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.238, allocations: 3 kB / 0.7857 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/1.241, allocations: 2.019 MB / 0.7877 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.242, allocations: 309.9 kB / 0.788 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/1.258, allocations: 11.28 MB / 0.799 GB, free: 95.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004513/1.262, allocations: 3.301 MB / 0.8023 GB, free: 93.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004547/1.267, allocations: 1.963 MB / 0.8042 GB, free: 92.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007791/1.268, allocations: 209.8 kB / 0.8044 GB, free: 91.93 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/1.268, allocations: 0 / 0.8044 GB, free: 91.93 MB / 490.7 MB Notification: Performance of Templates: time 0.04488/1.312, allocations: 28.83 MB / 0.8325 GB, free: 72.61 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)