Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009714/0.0009711, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001021/0.001021, allocations: 194.8 kB / 16.14 MB, free: 6.738 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.456/1.456, allocations: 205.1 MB / 222 MB, free: 4.789 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.3637/0.3637, allocations: 39.93 MB / 309.3 MB, free: 9.617 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.001957/0.001958, allocations: 67.91 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.165, allocations: 56.89 MB / 433.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4861/0.6512, allocations: 124.8 MB / 0.5455 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.124/0.7753, allocations: 23.41 MB / 0.5684 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.05734/0.8327, allocations: 0.5339 MB / 0.5689 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01988/0.8528, allocations: 6.371 MB / 0.5751 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.8653, allocations: 3.058 MB / 0.5781 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.8701, allocations: 1.494 MB / 0.5795 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0197/0.8898, allocations: 13.87 MB / 0.5931 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.9015, allocations: 8.116 MB / 0.601 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006597/0.9081, allocations: 2.963 MB / 0.6039 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008394/0.9165, allocations: 4.931 MB / 0.6087 GB, free: 5.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003319/0.9199, allocations: 0.5156 MB / 0.6092 GB, free: 5.211 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006158/0.926, allocations: 1.596 MB / 0.6108 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007254/0.9333, allocations: 4.013 MB / 0.6147 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01186/0.9452, allocations: 4.42 MB / 0.619 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4938/1.439, allocations: 13.8 MB / 0.6325 GB, free: 29.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/1.439, allocations: 0.6875 kB / 0.6325 GB, free: 29.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/1.439, allocations: 0 / 0.6325 GB, free: 29.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006408/1.44, allocations: 0.7188 kB / 0.6325 GB, free: 29.13 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.03992/1.48, allocations: 9.753 MB / 0.642 GB, free: 25.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.059e-05/1.48, allocations: 12.22 kB / 0.642 GB, free: 25.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0217/1.502, allocations: 3.676 MB / 0.6456 GB, free: 25.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02041/1.522, allocations: 6.47 MB / 0.6519 GB, free: 24.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009735/1.523, allocations: 483.8 kB / 0.6524 GB, free: 24.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004688/1.528, allocations: 0.6397 MB / 0.653 GB, free: 24.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05094/1.579, allocations: 19.13 MB / 0.6717 GB, free: 21.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005372/1.579, allocations: 88.23 kB / 0.6718 GB, free: 21.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003521/1.583, allocations: 295.4 kB / 0.6721 GB, free: 21.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007157/1.59, allocations: 3.413 MB / 0.6754 GB, free: 21.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03902/1.629, allocations: 16.17 MB / 0.6912 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/1.732, allocations: 70.58 MB / 0.7601 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/1.753, allocations: 8.473 MB / 0.7684 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00874/1.762, allocations: 4.527 MB / 0.7728 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/1.763, allocations: 0.6598 MB / 0.7735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/1.763, allocations: 81.53 kB / 0.7735 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=307): time 9.498e-06/1.763, allocations: 0 / 0.7735 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=331): time 0.1116/1.875, allocations: 35.01 MB / 0.8077 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/1.875, allocations: 295.7 kB / 0.808 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01482/1.89, allocations: 7.643 MB / 0.8155 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001302/1.892, allocations: 77.7 kB / 0.8156 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005824/1.897, allocations: 5.493 MB / 0.8209 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002862/1.9, allocations: 1.26 MB / 0.8222 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00414/1.904, allocations: 2.029 MB / 0.8241 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.905, allocations: 305.1 kB / 0.8244 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007704/1.912, allocations: 4.048 MB / 0.8284 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01491/1.927, allocations: 9.576 MB / 0.8377 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02194/1.949, allocations: 14.55 MB / 0.8519 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002957/1.95, allocations: 56 kB / 0.852 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.3891/2.339, allocations: 15.47 MB / 0.8671 GB, free: 282.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/2.339, allocations: 89.36 kB / 0.8672 GB, free: 282.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003035/2.339, allocations: 193.3 kB / 0.8674 GB, free: 282.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005999/2.345, allocations: 2.3 MB / 0.8696 GB, free: 282.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009784/2.355, allocations: 2.345 MB / 0.8719 GB, free: 282.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/2.375, allocations: 15.32 MB / 0.8869 GB, free: 274 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/2.388, allocations: 0.5637 MB / 0.8874 GB, free: 273.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003178/2.391, allocations: 0.5646 MB / 0.888 GB, free: 273.8 MB / 0.6387 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.011/2.402, allocations: 3.75 MB / 0.8916 GB, free: 272.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002292/2.404, allocations: 0.649 MB / 0.8923 GB, free: 272.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/2.421, allocations: 7.875 MB / 0.9 GB, free: 269.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.899e-05/2.421, allocations: 37.52 kB / 0.9 GB, free: 269.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-05/2.421, allocations: 13.16 kB / 0.9 GB, free: 269.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.256e-05/2.421, allocations: 18.05 kB / 0.9 GB, free: 269.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03379/2.455, allocations: 16.98 MB / 0.9166 GB, free: 263.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/2.455, allocations: 3.906 kB / 0.9166 GB, free: 263.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/2.458, allocations: 0.5926 MB / 0.9172 GB, free: 263.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005372/2.464, allocations: 1.974 MB / 0.9191 GB, free: 263.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006342/2.464, allocations: 61.7 kB / 0.9192 GB, free: 263.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/2.48, allocations: 14.17 MB / 0.933 GB, free: 254.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/2.48, allocations: 0 / 0.933 GB, free: 254.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/2.499, allocations: 12.26 MB / 0.945 GB, free: 242.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004761/2.504, allocations: 1.25 MB / 0.9462 GB, free: 241.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00161/2.505, allocations: 56 kB / 0.9463 GB, free: 241.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/2.508, allocations: 235.1 kB / 0.9465 GB, free: 240.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/2.509, allocations: 200.7 kB / 0.9467 GB, free: 240.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/2.509, allocations: 83.98 kB / 0.9468 GB, free: 240.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00743/2.517, allocations: 4.882 MB / 0.9515 GB, free: 235.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/2.517, allocations: 0 / 0.9515 GB, free: 235.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0125/2.529, allocations: 1.964 MB / 0.9534 GB, free: 233.8 MB / 0.6387 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.001111/2.53, allocations: 205.6 kB / 0.9536 GB, free: 233.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01717/2.547, allocations: 9.895 MB / 0.9633 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/2.548, allocations: 0 / 0.9633 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005409/2.553, allocations: 3.601 MB / 0.9668 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007165/2.56, allocations: 0.8933 MB / 0.9677 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03919/2.599, allocations: 22.24 MB / 0.9894 GB, free: 197 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009985/2.609, allocations: 5.735 MB / 0.995 GB, free: 191.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.008986/2.618, allocations: 3.025 MB / 0.998 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/2.621, allocations: 459.3 kB / 0.9984 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.363e-06/2.621, allocations: 0 / 0.9984 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.1387/2.76, allocations: 77.3 MB / 1.074 GB, free: 110.5 MB / 0.6387 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)