Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009879/0.009879, allocations: 166.7 kB / 15.11 MB, free: 5.969 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.66/1.66, allocations: 170.8 MB / 186.6 MB, free: 0.9727 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.001967/0.001966, allocations: 118.5 kB / 226.2 MB, free: 10.08 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.3482/0.3482, allocations: 38.05 MB / 303.7 MB, free: 42.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1176, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4786, allocations: 94.56 MB / 0.4943 GB, free: 9.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4789, allocations: 74.45 kB / 0.4943 GB, free: 9.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5485/1.027, allocations: 132.7 MB / 0.6239 GB, free: 72.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.776e-06/1.027, allocations: 0 / 0.6239 GB, free: 72.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003362/1.028, allocations: 132.8 kB / 0.624 GB, free: 72.02 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02784/1.056, allocations: 6.892 MB / 0.6308 GB, free: 69.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.056, allocations: 8.719 kB / 0.6308 GB, free: 69.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.031/1.087, allocations: 7.121 MB / 0.6377 GB, free: 68.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02123/1.108, allocations: 7.258 MB / 0.6448 GB, free: 67.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000567/1.109, allocations: 0.5156 MB / 0.6453 GB, free: 67.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003869/1.113, allocations: 0.6617 MB / 0.646 GB, free: 67.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03971/1.152, allocations: 16.72 MB / 0.6623 GB, free: 61.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003398/1.153, allocations: 81.08 kB / 0.6624 GB, free: 61.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00173/1.154, allocations: 320.2 kB / 0.6627 GB, free: 61.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/1.156, allocations: 1.56 MB / 0.6642 GB, free: 61.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02774/1.184, allocations: 13.97 MB / 0.6778 GB, free: 56.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08431/1.268, allocations: 70.11 MB / 0.7463 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/1.289, allocations: 7.943 MB / 0.7541 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/1.289, allocations: 50.17 kB / 0.7541 GB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/1.289, allocations: 68.45 kB / 0.7542 GB, free: 1.809 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 6.923e-06/1.289, allocations: 0 / 0.7542 GB, free: 1.809 MB / 442.7 MB Notification: Performance of matching and sorting (n=332): time 0.365/1.654, allocations: 32.7 MB / 0.7861 GB, free: 78.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.654, allocations: 214.3 kB / 0.7863 GB, free: 78.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01364/1.668, allocations: 5.626 MB / 0.7918 GB, free: 78.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009437/1.669, allocations: 80.41 kB / 0.7919 GB, free: 78.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003415/1.672, allocations: 4.588 MB / 0.7964 GB, free: 75.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001937/1.674, allocations: 1.235 MB / 0.7976 GB, free: 75.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.675, allocations: 170.8 kB / 0.7977 GB, free: 75.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005099/1.676, allocations: 0.6725 MB / 0.7984 GB, free: 74.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005727/1.681, allocations: 3.787 MB / 0.8021 GB, free: 74.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009617/1.691, allocations: 8.601 MB / 0.8105 GB, free: 66.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008587/1.7, allocations: 5.592 MB / 0.8159 GB, free: 64.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/1.7, allocations: 51.16 kB / 0.816 GB, free: 64.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02768/1.728, allocations: 13.75 MB / 0.8294 GB, free: 60.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.728, allocations: 80.09 kB / 0.8295 GB, free: 60.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002416/1.728, allocations: 166.5 kB / 0.8296 GB, free: 60.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/1.732, allocations: 1.691 MB / 0.8313 GB, free: 60.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007853/1.74, allocations: 2.09 MB / 0.8333 GB, free: 59.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.753, allocations: 11.69 MB / 0.8448 GB, free: 53.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/1.763, allocations: 0.5229 MB / 0.8453 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002571/1.766, allocations: 0.5044 MB / 0.8458 GB, free: 53.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1042 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00933/1.775, allocations: 3.145 MB / 0.8488 GB, free: 51.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/1.777, allocations: 0.5539 MB / 0.8494 GB, free: 51.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.79, allocations: 7.523 MB / 0.8567 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/1.79, allocations: 34.75 kB / 0.8567 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/1.79, allocations: 10.34 kB / 0.8568 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/1.791, allocations: 20.31 kB / 0.8568 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03394/1.824, allocations: 16.35 MB / 0.8727 GB, free: 36.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/1.825, allocations: 7.953 kB / 0.8728 GB, free: 36.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003673/1.828, allocations: 0.6456 MB / 0.8734 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003459/1.832, allocations: 1.425 MB / 0.8748 GB, free: 35.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008458/1.833, allocations: 67.42 kB / 0.8748 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/1.845, allocations: 10.91 MB / 0.8855 GB, free: 25.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.845, allocations: 7.938 kB / 0.8855 GB, free: 25.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/1.863, allocations: 12.84 MB / 0.898 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004477/1.867, allocations: 1.203 MB / 0.8992 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/1.869, allocations: 56 kB / 0.8993 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004302/1.873, allocations: 273.3 kB / 0.8995 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000656/1.874, allocations: 201 kB / 0.8997 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/1.874, allocations: 92.22 kB / 0.8998 GB, free: 12.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006874/1.881, allocations: 4 MB / 0.9037 GB, free: 9.012 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.881, allocations: 0 / 0.9037 GB, free: 9.012 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009769/1.891, allocations: 1.674 MB / 0.9054 GB, free: 7.348 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008299/1.892, allocations: 223.4 kB / 0.9056 GB, free: 7.133 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01692/1.909, allocations: 9.496 MB / 0.9148 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/1.909, allocations: 0 / 0.9148 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2311/2.14, allocations: 3.867 MB / 0.9186 GB, free: 89.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0058/2.146, allocations: 0.6733 MB / 0.9193 GB, free: 89.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03521/2.181, allocations: 18.46 MB / 0.9373 GB, free: 83.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007213/2.188, allocations: 4.99 MB / 0.9422 GB, free: 82.44 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008634/2.197, allocations: 2.919 MB / 0.945 GB, free: 82.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/2.199, allocations: 399 kB / 0.9454 GB, free: 82.24 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/2.199, allocations: 1.062 kB / 0.9454 GB, free: 82.24 MB / 458.7 MB Notification: Performance of Templates: time 0.1225/2.322, allocations: 63.26 MB / 1.007 GB, free: 72.02 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)