Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008294/0.0008294, allocations: 91.28 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 176.7 kB / 15.95 MB, free: 188 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4153/0.4153, allocations: 40 MB / 310.4 MB, free: 9.844 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000761/0.0007614, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.153, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3871/0.5401, allocations: 88.58 MB / 0.5131 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06257/0.6028, allocations: 17.85 MB / 0.5305 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03252/0.6354, allocations: 417.6 kB / 0.5309 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02367/0.6591, allocations: 4.67 MB / 0.5354 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05848/0.7176, allocations: 13.55 MB / 0.5487 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008541/0.7262, allocations: 0.9245 MB / 0.5496 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05518/0.7814, allocations: 36.36 MB / 0.5851 GB, free: 100 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/0.7978, allocations: 7.41 MB / 0.5923 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00667/0.8045, allocations: 2.066 MB / 0.5943 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007833/0.8124, allocations: 3.248 MB / 0.5975 GB, free: 3.312 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002486/0.815, allocations: 244 kB / 0.5977 GB, free: 3.074 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/0.8202, allocations: 1.127 MB / 0.5988 GB, free: 1.945 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006048/0.8263, allocations: 2.875 MB / 0.6016 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004146/0.8305, allocations: 1.376 MB / 0.603 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.8447, allocations: 9.192 MB / 0.612 GB, free: 4.461 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.8447, allocations: 0 / 0.612 GB, free: 4.461 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.8447, allocations: 0 / 0.612 GB, free: 4.461 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000642/0.8454, allocations: 4 kB / 0.612 GB, free: 4.457 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.022/0.8674, allocations: 6.681 MB / 0.6185 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.998e-05/0.8675, allocations: 12.03 kB / 0.6185 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/0.882, allocations: 2.923 MB / 0.6214 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.8948, allocations: 4.483 MB / 0.6257 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000459/0.8953, allocations: 402.1 kB / 0.6261 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/0.8978, allocations: 0.5181 MB / 0.6266 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3607/1.259, allocations: 16.9 MB / 0.6431 GB, free: 141.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003641/1.259, allocations: 63.34 kB / 0.6432 GB, free: 141.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001379/1.26, allocations: 256.1 kB / 0.6434 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00541/1.266, allocations: 3.249 MB / 0.6466 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/1.297, allocations: 14.46 MB / 0.6607 GB, free: 136.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09677/1.394, allocations: 62.75 MB / 0.722 GB, free: 89.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/1.41, allocations: 6.901 MB / 0.7288 GB, free: 82.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005648/1.416, allocations: 4.238 MB / 0.7329 GB, free: 78.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/1.433, allocations: 9.664 MB / 0.7423 GB, free: 68.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/1.433, allocations: 64.81 kB / 0.7424 GB, free: 68.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 8.005e-06/1.433, allocations: 0 / 0.7424 GB, free: 68.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.07883/1.511, allocations: 34.73 MB / 0.7763 GB, free: 33.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/1.512, allocations: 240.2 kB / 0.7765 GB, free: 33.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009439/1.521, allocations: 6.712 MB / 0.7831 GB, free: 26.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00128/1.522, allocations: 81.7 kB / 0.7832 GB, free: 26.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003127/1.526, allocations: 4.751 MB / 0.7878 GB, free: 21.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002123/1.528, allocations: 1.272 MB / 0.7891 GB, free: 20.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006066/1.528, allocations: 180 kB / 0.7892 GB, free: 20.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00039/1.529, allocations: 0.7034 MB / 0.7899 GB, free: 19.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/1.534, allocations: 4.031 MB / 0.7938 GB, free: 15.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008443/1.543, allocations: 9.108 MB / 0.8027 GB, free: 4.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.553, allocations: 5.919 MB / 0.8085 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001776/1.553, allocations: 52 kB / 0.8086 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.3504/1.904, allocations: 15.04 MB / 0.8233 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/1.904, allocations: 82.31 kB / 0.8233 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003297/1.904, allocations: 178 kB / 0.8235 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006073/1.91, allocations: 2.311 MB / 0.8258 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007925/1.918, allocations: 2.148 MB / 0.8279 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/1.936, allocations: 13.51 MB / 0.8411 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008179/1.944, allocations: 0.5354 MB / 0.8416 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/1.946, allocations: 0.5362 MB / 0.8421 GB, free: 132.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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.groundColor[3],world.groundColor[2],world.groundColor[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 (1125): * Single equations (assignments): 1118 * Array equations: 5 * 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.006869/1.953, allocations: 3.29 MB / 0.8453 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/1.955, allocations: 0.5749 MB / 0.8459 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/1.97, allocations: 8.441 MB / 0.8541 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-05/1.97, allocations: 34.91 kB / 0.8542 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-05/1.97, allocations: 10.47 kB / 0.8542 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-05/1.97, allocations: 15.58 kB / 0.8542 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04165/2.012, allocations: 17.08 MB / 0.8709 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.669e-05/2.012, allocations: 4.688 kB / 0.8709 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003759/2.016, allocations: 0.5787 MB / 0.8714 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005653/2.021, allocations: 2.042 MB / 0.8734 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009138/2.022, allocations: 65.11 kB / 0.8735 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/2.039, allocations: 12.72 MB / 0.8859 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/2.039, allocations: 7.828 kB / 0.8859 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02266/2.062, allocations: 13.06 MB / 0.8987 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004535/2.067, allocations: 1.26 MB / 0.8999 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/2.069, allocations: 59.98 kB / 0.9 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003557/2.072, allocations: 246.9 kB / 0.9002 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006104/2.073, allocations: 201.2 kB / 0.9004 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/2.073, allocations: 96.83 kB / 0.9005 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009807/2.083, allocations: 4.302 MB / 0.9047 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.32e-07/2.083, allocations: 0 / 0.9047 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01336/2.096, allocations: 1.775 MB / 0.9064 GB, free: 101.4 MB / 0.4981 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 274 * 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.001203/2.098, allocations: 209.9 kB / 0.9066 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01616/2.114, allocations: 9.747 MB / 0.9161 GB, free: 91.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/2.114, allocations: 4 kB / 0.9161 GB, free: 91.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007802/2.122, allocations: 3.979 MB / 0.92 GB, free: 87.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008491/2.13, allocations: 0.7361 MB / 0.9207 GB, free: 87.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04022/2.17, allocations: 19.37 MB / 0.9397 GB, free: 67.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008431/2.179, allocations: 5.034 MB / 0.9446 GB, free: 62.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007568/2.187, allocations: 2.981 MB / 0.9475 GB, free: 59.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/2.188, allocations: 415.3 kB / 0.9479 GB, free: 59.28 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/2.188, allocations: 8 kB / 0.9479 GB, free: 59.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.3997/2.588, allocations: 67.34 MB / 1.014 GB, free: 148.7 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: