Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001583/0.001583, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.499/1.499, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.001636/0.001636, allocations: 113.8 kB / 247.4 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1956/0.1956, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.461e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.502, allocations: 100.1 MB / 0.5354 GB, free: 200 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.5022, allocations: 71.84 kB / 0.5355 GB, free: 164 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2868/0.789, allocations: 112.1 MB / 0.645 GB, free: 7.645 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7891, allocations: 0 / 0.645 GB, free: 7.645 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003998/0.7895, allocations: 104 kB / 0.6451 GB, free: 7.543 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.01951/0.809, allocations: 5.455 MB / 0.6504 GB, free: 2.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8091, allocations: 8.031 kB / 0.6505 GB, free: 2.012 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/0.8382, allocations: 6.954 MB / 0.6572 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01879/0.8571, allocations: 6.864 MB / 0.6639 GB, free: 4.117 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.8575, allocations: 176 kB / 0.6641 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/0.8606, allocations: 327.9 kB / 0.6644 GB, free: 3.625 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3407/1.201, allocations: 7.451 MB / 0.6717 GB, free: 97.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/1.229, allocations: 11.73 MB / 0.6832 GB, free: 94.01 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002727/1.229, allocations: 78.17 kB / 0.6832 GB, free: 94.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001151/1.23, allocations: 40.12 kB / 0.6833 GB, free: 94.01 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00189/1.232, allocations: 1.254 MB / 0.6845 GB, free: 94 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08756/1.32, allocations: 57.4 MB / 0.7406 GB, free: 58.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006667/1.327, allocations: 3.435 MB / 0.7439 GB, free: 57.03 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003978/1.331, allocations: 2.09 MB / 0.7459 GB, free: 56.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/1.331, allocations: 41.84 kB / 0.746 GB, free: 56.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/1.331, allocations: 52.06 kB / 0.746 GB, free: 56.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=185): time 6.973e-06/1.331, allocations: 0 / 0.746 GB, free: 56.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=198): time 0.05179/1.383, allocations: 17.53 MB / 0.7632 GB, free: 48.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/1.383, allocations: 226 kB / 0.7634 GB, free: 48.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008965/1.392, allocations: 4.128 MB / 0.7674 GB, free: 46.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005455/1.392, allocations: 25.7 kB / 0.7674 GB, free: 46.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003522/1.396, allocations: 4.211 MB / 0.7715 GB, free: 43.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.397, allocations: 0.7632 MB / 0.7723 GB, free: 42.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/1.397, allocations: 3.969 kB / 0.7723 GB, free: 42.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00049/1.398, allocations: 0.6193 MB / 0.7729 GB, free: 42.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004842/1.403, allocations: 2.199 MB / 0.775 GB, free: 41.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008344/1.411, allocations: 6.854 MB / 0.7817 GB, free: 34.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009112/1.42, allocations: 3.859 MB / 0.7855 GB, free: 33.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002109/1.421, allocations: 46.19 kB / 0.7855 GB, free: 33.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02674/1.447, allocations: 8.384 MB / 0.7937 GB, free: 29.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003166/1.448, allocations: 80 kB / 0.7938 GB, free: 29.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003375/1.448, allocations: 165.3 kB / 0.794 GB, free: 29.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.45, allocations: 0.617 MB / 0.7946 GB, free: 29.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009423/1.46, allocations: 1.715 MB / 0.7962 GB, free: 27.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008898/1.469, allocations: 5.542 MB / 0.8017 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/1.479, allocations: 245.9 kB / 0.8019 GB, free: 22.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002327/1.482, allocations: 464.1 kB / 0.8023 GB, free: 21.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (925): * Single equations (assignments): 920 * Array equations: 3 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00321/1.485, allocations: 0.517 MB / 0.8028 GB, free: 21.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/1.487, allocations: 426.5 kB / 0.8032 GB, free: 20.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008657/1.495, allocations: 2.912 MB / 0.8061 GB, free: 18.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/1.495, allocations: 29.31 kB / 0.8061 GB, free: 18.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/1.495, allocations: 4 kB / 0.8061 GB, free: 18.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.593e-05/1.495, allocations: 13 kB / 0.8061 GB, free: 18.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.523, allocations: 7.544 MB / 0.8135 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/1.523, allocations: 0 / 0.8135 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/1.526, allocations: 297.9 kB / 0.8138 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/1.527, allocations: 361.3 kB / 0.8141 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003315/1.528, allocations: 15.75 kB / 0.8141 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007709/1.535, allocations: 4.845 MB / 0.8189 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/1.535, allocations: 4.031 kB / 0.8189 GB, free: 7.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.548, allocations: 5.681 MB / 0.8244 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003201/1.552, allocations: 0.7176 MB / 0.8251 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/1.553, allocations: 0 / 0.8251 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003665/1.557, allocations: 72.77 kB / 0.8252 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004519/1.557, allocations: 109.7 kB / 0.8253 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/1.558, allocations: 54.91 kB / 0.8254 GB, free: 1.105 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01574/1.573, allocations: 3.069 MB / 0.8284 GB, free: 15.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.573, allocations: 4 kB / 0.8284 GB, free: 15.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01302/1.586, allocations: 1.051 MB / 0.8294 GB, free: 14.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 150 * Array equations: 3 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008696/1.587, allocations: 135.2 kB / 0.8295 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/1.6, allocations: 5.428 MB / 0.8348 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.6, allocations: 1.5 kB / 0.8348 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002716/1.603, allocations: 1.668 MB / 0.8364 GB, free: 7.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/1.606, allocations: 484.5 kB / 0.8369 GB, free: 7.328 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3024/1.909, allocations: 9.466 MB / 0.8462 GB, free: 98.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006166/1.915, allocations: 4.245 MB / 0.8503 GB, free: 97.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006701/1.922, allocations: 2.372 MB / 0.8526 GB, free: 97.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009918/1.923, allocations: 290.2 kB / 0.8529 GB, free: 97.36 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/1.923, allocations: 0 / 0.8529 GB, free: 97.36 MB / 490.7 MB Notification: Performance of Templates: time 0.06686/1.99, allocations: 35.34 MB / 0.8874 GB, free: 96.01 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)