Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00115/0.00115, allocations: 169.7 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.283/1.283, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001712/0.001712, allocations: 103.5 kB / 223.2 MB, free: 4.047 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.1706/0.1706, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.826e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09066, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.309/0.3997, allocations: 94 MB / 499.7 MB, free: 17.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.3999, allocations: 75.05 kB / 499.8 MB, free: 17.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3131/0.713, allocations: 130.9 MB / 0.6159 GB, free: 2.367 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7131, allocations: 0 / 0.6159 GB, free: 2.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003212/0.7134, allocations: 128 kB / 0.616 GB, free: 2.242 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.2477/0.9611, allocations: 6.356 MB / 0.6222 GB, free: 66.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9612, allocations: 13.44 kB / 0.6222 GB, free: 66.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02911/0.9903, allocations: 7.097 MB / 0.6291 GB, free: 65.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/1.011, allocations: 7.232 MB / 0.6362 GB, free: 65.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005547/1.011, allocations: 0.4921 MB / 0.6367 GB, free: 65.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003449/1.015, allocations: 0.656 MB / 0.6373 GB, free: 65.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/1.049, allocations: 16.42 MB / 0.6534 GB, free: 62.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002504/1.05, allocations: 80.95 kB / 0.6534 GB, free: 62.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001218/1.051, allocations: 311.9 kB / 0.6537 GB, free: 62.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001662/1.053, allocations: 1.574 MB / 0.6553 GB, free: 62.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/1.079, allocations: 13.89 MB / 0.6688 GB, free: 62.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0809/1.16, allocations: 66.16 MB / 0.7334 GB, free: 33.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/1.177, allocations: 6.977 MB / 0.7403 GB, free: 29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005166/1.182, allocations: 4.173 MB / 0.7443 GB, free: 25.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02517/1.207, allocations: 15.06 MB / 0.759 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.111e-05/1.208, allocations: 60.56 kB / 0.7591 GB, free: 12.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 7.844e-06/1.208, allocations: 0 / 0.7591 GB, free: 12.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=348): time 0.08483/1.292, allocations: 26.7 MB / 0.7852 GB, free: 7.727 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.293, allocations: 214.2 kB / 0.7854 GB, free: 7.473 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009806/1.302, allocations: 4.657 MB / 0.7899 GB, free: 2.832 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008218/1.303, allocations: 81.7 kB / 0.79 GB, free: 2.746 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2527/1.556, allocations: 4.392 MB / 0.7943 GB, free: 95.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001871/1.558, allocations: 1.278 MB / 0.7955 GB, free: 94.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/1.559, allocations: 164.5 kB / 0.7957 GB, free: 94.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006902/1.56, allocations: 0.6513 MB / 0.7963 GB, free: 94.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006349/1.566, allocations: 3.538 MB / 0.7998 GB, free: 94.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008627/1.575, allocations: 7.988 MB / 0.8076 GB, free: 88.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/1.585, allocations: 5.264 MB / 0.8127 GB, free: 88.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003493/1.586, allocations: 46.5 kB / 0.8128 GB, free: 88.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.02647/1.612, allocations: 12.89 MB / 0.8254 GB, free: 88.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/1.612, allocations: 73.94 kB / 0.8254 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/1.613, allocations: 155.4 kB / 0.8256 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/1.617, allocations: 1.665 MB / 0.8272 GB, free: 88.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006857/1.624, allocations: 1.929 MB / 0.8291 GB, free: 87.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.636, allocations: 11.34 MB / 0.8402 GB, free: 85.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006699/1.643, allocations: 0.4896 MB / 0.8406 GB, free: 85.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/1.644, allocations: 479.1 kB / 0.8411 GB, free: 85.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (996): * Single equations (assignments): 991 * 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.002427/1.647, allocations: 0.7169 MB / 0.8418 GB, free: 84.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.648, allocations: 0.5027 MB / 0.8423 GB, free: 84.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.66, allocations: 7.366 MB / 0.8495 GB, free: 83.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/1.66, allocations: 38 kB / 0.8495 GB, free: 83.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.423e-05/1.66, allocations: 11.53 kB / 0.8495 GB, free: 83.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-05/1.661, allocations: 15.05 kB / 0.8495 GB, free: 83.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02844/1.689, allocations: 15.99 MB / 0.8652 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.689, allocations: 0 / 0.8652 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003019/1.692, allocations: 0.5971 MB / 0.8657 GB, free: 77.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/1.695, allocations: 1.424 MB / 0.8671 GB, free: 77.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004352/1.696, allocations: 59.27 kB / 0.8672 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/1.707, allocations: 10.53 MB / 0.8775 GB, free: 71.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.708, allocations: 0 / 0.8775 GB, free: 71.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.723, allocations: 11.89 MB / 0.8891 GB, free: 65.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002513/1.726, allocations: 1.103 MB / 0.8902 GB, free: 64.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.727, allocations: 64 kB / 0.8902 GB, free: 64.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.73, allocations: 253.1 kB / 0.8905 GB, free: 64.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005388/1.731, allocations: 197.9 kB / 0.8906 GB, free: 64.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/1.731, allocations: 91.8 kB / 0.8907 GB, free: 64.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005516/1.737, allocations: 3.268 MB / 0.8939 GB, free: 61.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.737, allocations: 0 / 0.8939 GB, free: 61.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007286/1.744, allocations: 1.607 MB / 0.8955 GB, free: 59.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * 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.0007463/1.745, allocations: 209.5 kB / 0.8957 GB, free: 59.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/1.756, allocations: 8.831 MB / 0.9043 GB, free: 51.33 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.756, allocations: 0 / 0.9043 GB, free: 51.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005258/1.762, allocations: 3.722 MB / 0.908 GB, free: 47.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.765, allocations: 0.6173 MB / 0.9086 GB, free: 47.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/1.789, allocations: 12.95 MB / 0.9212 GB, free: 35.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005889/1.795, allocations: 4.928 MB / 0.926 GB, free: 32.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0068/1.802, allocations: 2.652 MB / 0.9286 GB, free: 30.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/1.803, allocations: 373.7 kB / 0.929 GB, free: 30.24 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/1.803, allocations: 0 / 0.929 GB, free: 30.24 MB / 458.7 MB Notification: Performance of Templates: time 0.3236/2.127, allocations: 61.58 MB / 0.9891 GB, free: 79.06 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)