Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001572/0.001572, allocations: 170.2 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.168/1.168, 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.001483/0.001483, allocations: 111.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.1673/0.1673, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.47e-05, allocations: 8 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07262/0.07265, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.3946, allocations: 94.6 MB / 0.4886 GB, free: 16.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.3948, allocations: 73.77 kB / 0.4886 GB, free: 16.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3212/0.716, allocations: 131.8 MB / 0.6174 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.716, allocations: 4 kB / 0.6174 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004147/0.7165, allocations: 136 kB / 0.6175 GB, free: 0.6211 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: 2384 * Number of variables: 2384 Notification: Performance of Generate backend data structure: time 0.2524/0.9689, allocations: 6.643 MB / 0.624 GB, free: 65.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.9689, allocations: 9.219 kB / 0.624 GB, free: 65.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03104/1, allocations: 7.144 MB / 0.631 GB, free: 65.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/1.019, allocations: 7.435 MB / 0.6383 GB, free: 64.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/1.02, allocations: 0.4991 MB / 0.6387 GB, free: 64.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/1.022, allocations: 0.6672 MB / 0.6394 GB, free: 64.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03532/1.058, allocations: 16.05 MB / 0.6551 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004851/1.058, allocations: 95.11 kB / 0.6552 GB, free: 60.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002502/1.061, allocations: 328.1 kB / 0.6555 GB, free: 60.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/1.063, allocations: 1.548 MB / 0.657 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02457/1.087, allocations: 12.92 MB / 0.6696 GB, free: 60.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08024/1.168, allocations: 72.94 MB / 0.7408 GB, free: 24.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/1.182, allocations: 6.468 MB / 0.7471 GB, free: 21.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004181/1.186, allocations: 3.669 MB / 0.7507 GB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01587/1.202, allocations: 9.284 MB / 0.7598 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/1.202, allocations: 60.28 kB / 0.7599 GB, free: 10.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=269): time 5.921e-06/1.202, allocations: 0 / 0.7599 GB, free: 10.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=311): time 0.06431/1.266, allocations: 25.9 MB / 0.7851 GB, free: 4.855 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.266, allocations: 237.7 kB / 0.7854 GB, free: 4.578 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2327/1.499, allocations: 6.108 MB / 0.7913 GB, free: 92.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009159/1.5, allocations: 71.64 kB / 0.7914 GB, free: 92.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003901/1.504, allocations: 4.828 MB / 0.7961 GB, free: 91.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001883/1.506, allocations: 1.185 MB / 0.7973 GB, free: 90.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000947/1.507, allocations: 177.5 kB / 0.7974 GB, free: 90.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004595/1.507, allocations: 0.6902 MB / 0.7981 GB, free: 90.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005606/1.513, allocations: 3.489 MB / 0.8015 GB, free: 90.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009313/1.522, allocations: 8.776 MB / 0.8101 GB, free: 83.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/1.533, allocations: 5.481 MB / 0.8154 GB, free: 83.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002349/1.533, allocations: 54.81 kB / 0.8155 GB, free: 83.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02622/1.559, allocations: 13.53 MB / 0.8287 GB, free: 82.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/1.559, allocations: 86.47 kB / 0.8288 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002253/1.559, allocations: 188.1 kB / 0.829 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/1.563, allocations: 1.704 MB / 0.8306 GB, free: 82.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007624/1.571, allocations: 2.134 MB / 0.8327 GB, free: 82.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/1.584, allocations: 11.34 MB / 0.8438 GB, free: 79.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008322/1.592, allocations: 0.5305 MB / 0.8443 GB, free: 79.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/1.594, allocations: 0.5356 MB / 0.8448 GB, free: 79.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 850 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1104): * Single equations (assignments): 1099 * 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.00231/1.597, allocations: 0.8025 MB / 0.8456 GB, free: 79.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/1.598, allocations: 0.5929 MB / 0.8462 GB, free: 78.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.61, allocations: 6.689 MB / 0.8527 GB, free: 76.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/1.61, allocations: 31 kB / 0.8528 GB, free: 76.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-05/1.61, allocations: 14.59 kB / 0.8528 GB, free: 76.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.737e-05/1.611, allocations: 14.11 kB / 0.8528 GB, free: 76.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03177/1.642, allocations: 15.12 MB / 0.8676 GB, free: 71.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.642, allocations: 3.781 kB / 0.8676 GB, free: 71.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.645, allocations: 0.5622 MB / 0.8681 GB, free: 71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/1.649, allocations: 1.414 MB / 0.8695 GB, free: 70.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004957/1.649, allocations: 60.03 kB / 0.8695 GB, free: 70.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/1.661, allocations: 10.49 MB / 0.8798 GB, free: 65.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.661, allocations: 3.812 kB / 0.8798 GB, free: 65.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.677, allocations: 11.75 MB / 0.8913 GB, free: 59.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004745/1.682, allocations: 1.152 MB / 0.8924 GB, free: 58.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001811/1.684, allocations: 56 kB / 0.8924 GB, free: 58.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/1.688, allocations: 207.7 kB / 0.8926 GB, free: 58.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/1.688, allocations: 191 kB / 0.8928 GB, free: 58.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/1.689, allocations: 81.08 kB / 0.8929 GB, free: 58.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00863/1.697, allocations: 4.348 MB / 0.8971 GB, free: 54.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.697, allocations: 0 / 0.8971 GB, free: 54.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01004/1.707, allocations: 1.654 MB / 0.8988 GB, free: 53.13 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 249 * 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.0009562/1.708, allocations: 209.5 kB / 0.899 GB, free: 52.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01421/1.723, allocations: 8.687 MB / 0.9074 GB, free: 45.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.723, allocations: 384 / 0.9074 GB, free: 45.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005195/1.728, allocations: 3.343 MB / 0.9107 GB, free: 42.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005896/1.734, allocations: 0.702 MB / 0.9114 GB, free: 41.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/1.764, allocations: 13.19 MB / 0.9243 GB, free: 29.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008679/1.772, allocations: 5.029 MB / 0.9292 GB, free: 25.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009049/1.781, allocations: 2.971 MB / 0.9321 GB, free: 24.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/1.783, allocations: 408.2 kB / 0.9325 GB, free: 23.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/1.783, allocations: 0 / 0.9325 GB, free: 23.66 MB / 458.7 MB Notification: Performance of Templates: time 0.3796/2.163, allocations: 63.51 MB / 0.9945 GB, free: 75.04 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)