Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.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 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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009019/0.009019, allocations: 170.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 222.5 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3407/0.3407, allocations: 38.03 MB / 308.8 MB, free: 10.21 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.1. 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.0005576/0.0005578, allocations: 20 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3336/0.4542, allocations: 122 MB / 0.5435 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06902/0.5233, allocations: 23.35 MB / 0.5663 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03335/0.5566, allocations: 0.5222 MB / 0.5668 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003478/0.5602, allocations: 0.7571 MB / 0.5676 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009923/0.5701, allocations: 3.066 MB / 0.5705 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.5747, allocations: 1.25 MB / 0.5718 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01846/0.5932, allocations: 13.88 MB / 0.5853 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01773/0.6109, allocations: 11.09 MB / 0.5962 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/0.6168, allocations: 2.408 MB / 0.5985 GB, free: 3.895 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007091/0.6239, allocations: 4.22 MB / 0.6026 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.6262, allocations: 296 kB / 0.6029 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/0.6307, allocations: 1.377 MB / 0.6043 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005734/0.6365, allocations: 3.662 MB / 0.6078 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009039/0.6455, allocations: 4.015 MB / 0.6117 GB, free: 6.273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02136/0.6669, allocations: 13.37 MB / 0.6248 GB, free: 8.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.667, allocations: 4 kB / 0.6248 GB, free: 8.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.667, allocations: 0 / 0.6248 GB, free: 8.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007972/0.6678, allocations: 0 / 0.6248 GB, free: 8.852 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.02328/0.6911, allocations: 7.983 MB / 0.6326 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6912, allocations: 12.03 kB / 0.6326 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.597/1.288, allocations: 3.749 MB / 0.6363 GB, free: 45.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/1.302, allocations: 6.462 MB / 0.6426 GB, free: 44.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/1.303, allocations: 482.3 kB / 0.643 GB, free: 44.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/1.305, allocations: 0.6436 MB / 0.6437 GB, free: 44.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0406/1.346, allocations: 19.17 MB / 0.6624 GB, free: 41.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000381/1.346, allocations: 91.02 kB / 0.6625 GB, free: 41.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/1.347, allocations: 299 kB / 0.6628 GB, free: 41.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006736/1.354, allocations: 3.417 MB / 0.6661 GB, free: 41.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03128/1.385, allocations: 16.21 MB / 0.6819 GB, free: 33.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0859/1.471, allocations: 70.62 MB / 0.7509 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02061/1.492, allocations: 8.498 MB / 0.7592 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006627/1.498, allocations: 4.524 MB / 0.7636 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007946/1.499, allocations: 0.6675 MB / 0.7643 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.891e-05/1.499, allocations: 68.88 kB / 0.7643 GB, free: 12.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=307): time 5.941e-06/1.499, allocations: 0 / 0.7643 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.09059/1.59, allocations: 34.99 MB / 0.7985 GB, free: 9.285 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.59, allocations: 295.6 kB / 0.7988 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.602, allocations: 7.637 MB / 0.8062 GB, free: 1.336 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009305/1.603, allocations: 80.45 kB / 0.8063 GB, free: 1.258 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00459/1.608, allocations: 5.501 MB / 0.8117 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002209/1.61, allocations: 1.258 MB / 0.8129 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/1.612, allocations: 0.8639 MB / 0.8138 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.612, allocations: 302.3 kB / 0.8141 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006173/1.618, allocations: 4.048 MB / 0.818 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/1.629, allocations: 9.583 MB / 0.8274 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01881/1.647, allocations: 14.54 MB / 0.8416 GB, free: 8.68 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001544/1.648, allocations: 60 kB / 0.8416 GB, free: 8.621 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.2741/1.922, allocations: 15.47 MB / 0.8567 GB, free: 259 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.922, allocations: 85.88 kB / 0.8568 GB, free: 259 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002761/1.922, allocations: 193.2 kB / 0.857 GB, free: 259 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00624/1.928, allocations: 2.305 MB / 0.8592 GB, free: 259 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008659/1.937, allocations: 2.339 MB / 0.8615 GB, free: 259 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/1.953, allocations: 15.34 MB / 0.8765 GB, free: 252.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008596/1.961, allocations: 0.5706 MB / 0.8771 GB, free: 252.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/1.963, allocations: 0.5619 MB / 0.8776 GB, free: 252 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1220): * Single equations (assignments): 1213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,13,100.0%), (2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007133/1.97, allocations: 3.741 MB / 0.8813 GB, free: 250.6 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.972, allocations: 0.6481 MB / 0.8819 GB, free: 250.6 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.988, allocations: 7.887 MB / 0.8896 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-05/1.988, allocations: 35.59 kB / 0.8896 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.504e-05/1.988, allocations: 9.281 kB / 0.8896 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.689e-05/1.988, allocations: 16.45 kB / 0.8897 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03363/2.022, allocations: 16.98 MB / 0.9062 GB, free: 242.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/2.022, allocations: 3.812 kB / 0.9062 GB, free: 242.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003074/2.025, allocations: 0.5985 MB / 0.9068 GB, free: 242.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004931/2.03, allocations: 1.964 MB / 0.9088 GB, free: 241.8 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005587/2.03, allocations: 64.66 kB / 0.9088 GB, free: 241.7 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/2.044, allocations: 14.18 MB / 0.9227 GB, free: 233.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.044, allocations: 3.844 kB / 0.9227 GB, free: 233.2 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/2.062, allocations: 12.26 MB / 0.9346 GB, free: 227.9 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003812/2.066, allocations: 1.273 MB / 0.9359 GB, free: 226.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001776/2.068, allocations: 56 kB / 0.9359 GB, free: 226.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/2.071, allocations: 243.6 kB / 0.9362 GB, free: 226.5 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005942/2.072, allocations: 190.3 kB / 0.9363 GB, free: 226.3 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/2.072, allocations: 84 kB / 0.9364 GB, free: 226.3 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007736/2.08, allocations: 4.886 MB / 0.9412 GB, free: 221.4 MB / 0.6232 GB Notification: Performance of sort global known variables: time 5.21e-07/2.08, allocations: 0 / 0.9412 GB, free: 221.4 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01055/2.091, allocations: 1.962 MB / 0.9431 GB, free: 219.5 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008205/2.091, allocations: 211.3 kB / 0.9433 GB, free: 219.3 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01402/2.105, allocations: 9.896 MB / 0.953 GB, free: 209.8 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/2.106, allocations: 7.062 kB / 0.953 GB, free: 209.8 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.004601/2.11, allocations: 3.599 MB / 0.9565 GB, free: 206.1 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007117/2.117, allocations: 0.9026 MB / 0.9574 GB, free: 205.3 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/2.147, allocations: 22.37 MB / 0.9792 GB, free: 182.9 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006137/2.153, allocations: 5.737 MB / 0.9848 GB, free: 177.1 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007186/2.161, allocations: 3.022 MB / 0.9878 GB, free: 174.1 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/2.162, allocations: 447.4 kB / 0.9882 GB, free: 173.6 MB / 0.6232 GB Notification: Performance of SimCode: time 1.192e-06/2.162, allocations: 0 / 0.9882 GB, free: 173.6 MB / 0.6232 GB Notification: Performance of Templates: time 0.1127/2.275, allocations: 75.97 MB / 1.062 GB, free: 97.69 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) Environment - environmentSimulation: