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.00644/0.00644, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001254/0.001254, allocations: 197.8 kB / 16.68 MB, free: 5.965 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3719/0.3719, allocations: 39.94 MB / 309.8 MB, free: 9.344 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.001804/0.001804, allocations: 79.89 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4479, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.02488/0.4728, allocations: 19.85 MB / 0.5005 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01849/0.4914, allocations: 5.948 MB / 0.5063 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006915/0.4984, allocations: 139 kB / 0.5065 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01459/0.513, allocations: 6.368 MB / 0.5127 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.5264, allocations: 3.219 MB / 0.5158 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005081/0.5315, allocations: 1.597 MB / 0.5174 GB, free: 9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01985/0.5514, allocations: 9.596 MB / 0.5268 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.563, allocations: 8.259 MB / 0.5348 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009016/0.5721, allocations: 3.365 MB / 0.5381 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009943/0.5821, allocations: 4.639 MB / 0.5427 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004261/0.5864, allocations: 0.75 MB / 0.5434 GB, free: 392 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008167/0.5946, allocations: 1.752 MB / 0.5451 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007405/0.602, allocations: 4.228 MB / 0.5492 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00939/0.6114, allocations: 4.646 MB / 0.5538 GB, free: 5.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0204/0.6319, allocations: 14.42 MB / 0.5679 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.6319, allocations: 3.984 kB / 0.5679 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6319, allocations: 0 / 0.5679 GB, free: 7.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005334/0.6325, allocations: 0 / 0.5679 GB, free: 7.242 MB / 446.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.03837/0.6709, allocations: 9.756 MB / 0.5774 GB, free: 13.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.671, allocations: 15.83 kB / 0.5774 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02178/0.6927, allocations: 3.683 MB / 0.581 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02193/0.7147, allocations: 6.577 MB / 0.5874 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/0.7154, allocations: 488.8 kB / 0.5879 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003521/0.719, allocations: 0.6441 MB / 0.5885 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04805/0.767, allocations: 19.12 MB / 0.6072 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005976/0.7677, allocations: 91.2 kB / 0.6073 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002981/0.7707, allocations: 299.7 kB / 0.6076 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006761/0.7775, allocations: 3.406 MB / 0.6109 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04095/0.8185, allocations: 16.17 MB / 0.6267 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5272/1.346, allocations: 70.2 MB / 0.6952 GB, free: 72.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02577/1.372, allocations: 8.491 MB / 0.7035 GB, free: 67.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009655/1.381, allocations: 4.532 MB / 0.708 GB, free: 65.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/1.383, allocations: 0.6607 MB / 0.7086 GB, free: 64.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.613e-05/1.383, allocations: 75.45 kB / 0.7087 GB, free: 64.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=307): time 1.057e-05/1.383, allocations: 0 / 0.7087 GB, free: 64.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=331): time 0.171/1.554, allocations: 34.99 MB / 0.7428 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/1.554, allocations: 303.6 kB / 0.7431 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/1.567, allocations: 7.646 MB / 0.7506 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/1.568, allocations: 73.7 kB / 0.7507 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003469/1.571, allocations: 5.491 MB / 0.756 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002184/1.573, allocations: 1.26 MB / 0.7573 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003163/1.577, allocations: 2.027 MB / 0.7592 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/1.577, allocations: 309 kB / 0.7595 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005147/1.582, allocations: 4.041 MB / 0.7635 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007927/1.59, allocations: 9.59 MB / 0.7728 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01951/1.609, allocations: 14.55 MB / 0.7871 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001916/1.61, allocations: 56 kB / 0.7871 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03438/1.644, allocations: 15.47 MB / 0.8022 GB, free: 96 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/1.644, allocations: 92.03 kB / 0.8023 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004136/1.645, allocations: 196 kB / 0.8025 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006876/1.652, allocations: 2.298 MB / 0.8047 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009139/1.661, allocations: 2.34 MB / 0.807 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/1.681, allocations: 16.48 MB / 0.8231 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009935/1.691, allocations: 0.5739 MB / 0.8237 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00268/1.694, allocations: 0.5632 MB / 0.8242 GB, free: 8.977 MB / 0.5606 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.0108/1.705, allocations: 3.739 MB / 0.8279 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002835/1.708, allocations: 0.6556 MB / 0.8285 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/1.724, allocations: 7.884 MB / 0.8362 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.134e-05/1.724, allocations: 36 kB / 0.8363 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.683e-05/1.725, allocations: 12 kB / 0.8363 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.738e-05/1.725, allocations: 15.94 kB / 0.8363 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04019/1.765, allocations: 16.91 MB / 0.8528 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/1.765, allocations: 4.375 kB / 0.8528 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/1.768, allocations: 0.5968 MB / 0.8534 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005525/1.774, allocations: 1.971 MB / 0.8553 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006314/1.774, allocations: 63.92 kB / 0.8554 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4408/2.215, allocations: 15.32 MB / 0.8703 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/2.215, allocations: 3 kB / 0.8703 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02427/2.239, allocations: 12.25 MB / 0.8823 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005132/2.245, allocations: 1.258 MB / 0.8835 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002542/2.247, allocations: 58.59 kB / 0.8836 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005344/2.252, allocations: 230.7 kB / 0.8838 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/2.254, allocations: 194.7 kB / 0.884 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004672/2.254, allocations: 88.52 kB / 0.8841 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01379/2.268, allocations: 4.882 MB / 0.8888 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/2.268, allocations: 1.219 kB / 0.8888 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01821/2.286, allocations: 1.963 MB / 0.8908 GB, free: 189.3 MB / 0.5919 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.002232/2.288, allocations: 202.5 kB / 0.8909 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02131/2.31, allocations: 9.942 MB / 0.9007 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/2.31, allocations: 1.5 kB / 0.9007 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006086/2.316, allocations: 3.598 MB / 0.9042 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01174/2.328, allocations: 0.9526 MB / 0.9051 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/2.367, allocations: 18.23 MB / 0.9229 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008679/2.376, allocations: 5.738 MB / 0.9285 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007338/2.383, allocations: 3.025 MB / 0.9315 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/2.385, allocations: 451.4 kB / 0.9319 GB, free: 162 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/2.385, allocations: 0 / 0.9319 GB, free: 162 MB / 0.5919 GB Notification: Performance of Templates: time 0.1244/2.509, allocations: 74.91 MB / 1.005 GB, free: 87.28 MB / 0.5919 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)