Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004551/0.004551, allocations: 173.7 kB / 15.12 MB, free: 5.973 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.286/1.286, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001654/0.001654, allocations: 116.5 kB / 255.6 MB, free: 10.15 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.1793/0.1793, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006133/0.0006131, allocations: 10.78 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1509, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5961, allocations: 104.1 MB / 0.5518 GB, free: 21.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5964, allocations: 82.12 kB / 0.5519 GB, free: 21.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3498/0.9462, allocations: 148.6 MB / 0.6971 GB, free: 8.797 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.549e-06/0.9463, allocations: 0 / 0.6971 GB, free: 8.797 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000459/0.9468, allocations: 152 kB / 0.6972 GB, free: 8.648 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.02972/0.9765, allocations: 7.908 MB / 0.7049 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.9766, allocations: 8.031 kB / 0.7049 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03102/1.008, allocations: 7.314 MB / 0.7121 GB, free: 9.309 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02253/1.03, allocations: 7.931 MB / 0.7198 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/1.031, allocations: 0.5777 MB / 0.7204 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3068/1.338, allocations: 0.7661 MB / 0.7211 GB, free: 78.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06024/1.398, allocations: 18.99 MB / 0.7397 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006106/1.399, allocations: 96.8 kB / 0.7398 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00411/1.403, allocations: 370 kB / 0.7401 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002989/1.406, allocations: 1.837 MB / 0.7419 GB, free: 74.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03472/1.441, allocations: 15.59 MB / 0.7571 GB, free: 74.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1076/1.548, allocations: 81.74 MB / 0.837 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02096/1.569, allocations: 8.753 MB / 0.8455 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02641/1.596, allocations: 11.69 MB / 0.8569 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.598e-05/1.596, allocations: 81.09 kB / 0.857 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=347): time 1.207e-05/1.596, allocations: 3.75 kB / 0.857 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=389): time 0.09928/1.695, allocations: 36.5 MB / 0.8926 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/1.695, allocations: 252.8 kB / 0.8929 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01325/1.709, allocations: 6.558 MB / 0.8993 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001284/1.71, allocations: 85.7 kB / 0.8994 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00543/1.715, allocations: 5.32 MB / 0.9046 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00277/1.718, allocations: 1.438 MB / 0.906 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007544/1.719, allocations: 203.3 kB / 0.9062 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006444/1.72, allocations: 0.7266 MB / 0.9069 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006728/1.726, allocations: 4.115 MB / 0.9109 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3646/2.091, allocations: 9.671 MB / 0.9203 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/2.105, allocations: 6.193 MB / 0.9264 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003582/2.105, allocations: 56.28 kB / 0.9264 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.04005/2.146, allocations: 15.14 MB / 0.9412 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/2.146, allocations: 89.03 kB / 0.9413 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003472/2.146, allocations: 195.6 kB / 0.9415 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004199/2.15, allocations: 1.723 MB / 0.9432 GB, free: 94.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/2.161, allocations: 2.426 MB / 0.9455 GB, free: 94.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/2.176, allocations: 11.73 MB / 0.957 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/2.187, allocations: 0.5749 MB / 0.9576 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002721/2.19, allocations: 0.5759 MB / 0.9581 GB, free: 91.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1225): * Single equations (assignments): 1220 * 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.01023/2.2, allocations: 3.614 MB / 0.9616 GB, free: 91.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/2.202, allocations: 0.6462 MB / 0.9623 GB, free: 91.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/2.218, allocations: 8.223 MB / 0.9703 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.74e-05/2.218, allocations: 38.84 kB / 0.9703 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-05/2.218, allocations: 10.88 kB / 0.9704 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.864e-05/2.218, allocations: 18.14 kB / 0.9704 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04003/2.258, allocations: 18.32 MB / 0.9883 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-05/2.258, allocations: 9.594 kB / 0.9883 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003814/2.262, allocations: 0.7657 MB / 0.989 GB, free: 86.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003581/2.266, allocations: 1.428 MB / 0.9904 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005951/2.266, allocations: 73.03 kB / 0.9905 GB, free: 86.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/2.279, allocations: 10.93 MB / 1.001 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/2.279, allocations: 11 kB / 1.001 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/2.301, allocations: 14.51 MB / 1.015 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005854/2.307, allocations: 1.318 MB / 1.017 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002201/2.309, allocations: 75.89 kB / 1.017 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/2.313, allocations: 253.5 kB / 1.017 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007659/2.314, allocations: 245.9 kB / 1.017 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002981/2.314, allocations: 106.9 kB / 1.017 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01057/2.325, allocations: 4.712 MB / 1.022 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.72e-07/2.325, allocations: 0 / 1.022 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01306/2.338, allocations: 1.87 MB / 1.024 GB, free: 70.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 324 * 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.001153/2.339, allocations: 236.5 kB / 1.024 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01747/2.356, allocations: 10.09 MB / 1.034 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/2.357, allocations: 0 / 1.034 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006827/2.363, allocations: 4.028 MB / 1.038 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006141/2.37, allocations: 0.779 MB / 1.038 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04914/2.419, allocations: 20.94 MB / 1.059 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01096/2.43, allocations: 5.642 MB / 1.064 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01022/2.44, allocations: 3.326 MB / 1.068 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/2.442, allocations: 453.7 kB / 1.068 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.404e-06/2.442, allocations: 0 / 1.068 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.4831/2.925, allocations: 70.62 MB / 1.137 GB, free: 79.08 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)