Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008679/0.008679, allocations: 176.4 kB / 15.12 MB, free: 5.969 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.594/1.594, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.001788/0.001788, allocations: 120.6 kB / 255.6 MB, free: 11.2 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.2147/0.2147, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 11.69 kB / 406.1 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 54.88 MB / 461 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5929, allocations: 101.4 MB / 0.5492 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5932, allocations: 77.45 kB / 0.5493 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3266/0.9198, allocations: 132.9 MB / 0.679 GB, free: 11.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.9199, allocations: 0 / 0.679 GB, free: 11.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004316/0.9203, allocations: 135.9 kB / 0.6792 GB, free: 11.29 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02675/0.9471, allocations: 6.887 MB / 0.6859 GB, free: 4.316 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.9472, allocations: 12.03 kB / 0.6859 GB, free: 4.305 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02947/0.9767, allocations: 7.124 MB / 0.6929 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/0.9977, allocations: 7.263 MB / 0.7 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/0.9984, allocations: 0.5014 MB / 0.7004 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0037/1.002, allocations: 0.6715 MB / 0.7011 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04388/1.046, allocations: 16.74 MB / 0.7174 GB, free: 2.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000559/1.047, allocations: 87.22 kB / 0.7175 GB, free: 2.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004568/1.051, allocations: 323.8 kB / 0.7178 GB, free: 2.164 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003223/1.054, allocations: 1.554 MB / 0.7194 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3062/1.361, allocations: 13.98 MB / 0.733 GB, free: 86.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08186/1.443, allocations: 70.15 MB / 0.8015 GB, free: 48.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/1.461, allocations: 7.936 MB / 0.8093 GB, free: 45.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/1.461, allocations: 52.59 kB / 0.8093 GB, free: 45.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/1.461, allocations: 64.03 kB / 0.8094 GB, free: 45.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 5.821e-06/1.461, allocations: 3.562 kB / 0.8094 GB, free: 45.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.07852/1.54, allocations: 32.71 MB / 0.8413 GB, free: 34.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.54, allocations: 221.4 kB / 0.8415 GB, free: 34.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00978/1.55, allocations: 5.613 MB / 0.847 GB, free: 32.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.551, allocations: 76.77 kB / 0.8471 GB, free: 32.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003461/1.554, allocations: 4.598 MB / 0.8516 GB, free: 28.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001998/1.556, allocations: 1.237 MB / 0.8528 GB, free: 27.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007121/1.557, allocations: 168 kB / 0.853 GB, free: 27.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004334/1.558, allocations: 0.6713 MB / 0.8536 GB, free: 26.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005609/1.563, allocations: 3.793 MB / 0.8573 GB, free: 23.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008462/1.572, allocations: 8.604 MB / 0.8657 GB, free: 13.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008336/1.58, allocations: 5.582 MB / 0.8712 GB, free: 8.793 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/1.58, allocations: 48 kB / 0.8712 GB, free: 8.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03074/1.611, allocations: 14.06 MB / 0.8849 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003047/1.611, allocations: 83.62 kB / 0.885 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004281/1.612, allocations: 172 kB / 0.8852 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00471/1.616, allocations: 1.683 MB / 0.8868 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009103/1.626, allocations: 2.091 MB / 0.8889 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/1.643, allocations: 11.7 MB / 0.9003 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00881/1.652, allocations: 0.5295 MB / 0.9008 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002377/1.655, allocations: 0.5056 MB / 0.9013 GB, free: 15.11 MB / 0.5105 GB 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.00954/1.664, allocations: 3.149 MB / 0.9044 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002224/1.666, allocations: 0.5589 MB / 0.9049 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/1.684, allocations: 7.518 MB / 0.9123 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.858e-05/1.684, allocations: 36 kB / 0.9123 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.941e-05/1.684, allocations: 9.688 kB / 0.9123 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.321e-05/1.684, allocations: 17.86 kB / 0.9123 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2719/1.956, allocations: 16.45 MB / 0.9284 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/1.956, allocations: 3.469 kB / 0.9284 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003344/1.959, allocations: 0.6475 MB / 0.929 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003579/1.963, allocations: 1.42 MB / 0.9304 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000447/1.963, allocations: 66.75 kB / 0.9305 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/1.976, allocations: 10.92 MB / 0.9411 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.976, allocations: 7.125 kB / 0.9412 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/1.994, allocations: 12.84 MB / 0.9537 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003771/1.998, allocations: 1.203 MB / 0.9549 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/1.999, allocations: 59.55 kB / 0.9549 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/2.002, allocations: 273.4 kB / 0.9552 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/2.003, allocations: 202.3 kB / 0.9554 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/2.003, allocations: 88.03 kB / 0.9555 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006254/2.009, allocations: 3.996 MB / 0.9594 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.009, allocations: 0 / 0.9594 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008529/2.018, allocations: 1.674 MB / 0.961 GB, free: 105.3 MB / 0.5105 GB 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.0008416/2.019, allocations: 218.5 kB / 0.9612 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01347/2.032, allocations: 9.327 MB / 0.9703 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/2.032, allocations: 0 / 0.9703 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006725/2.039, allocations: 3.864 MB / 0.9741 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/2.043, allocations: 0.6771 MB / 0.9748 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/2.07, allocations: 18.47 MB / 0.9928 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006443/2.076, allocations: 4.985 MB / 0.9977 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007438/2.084, allocations: 2.926 MB / 1.001 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/2.085, allocations: 396.6 kB / 1.001 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/2.085, allocations: 3.375 kB / 1.001 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.09953/2.185, allocations: 63.26 MB / 1.063 GB, free: 55.48 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)