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.00888/0.00888, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001508/0.001509, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2032/0.2032, allocations: 38.01 MB / 307.9 MB, free: 5.988 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.001613/0.001613, allocations: 69.94 kB / 433 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1217, allocations: 56.47 MB / 489.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.01993/0.1416, allocations: 19.84 MB / 0.4974 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.1581, allocations: 5.946 MB / 0.5032 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005738/0.164, allocations: 135.6 kB / 0.5033 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.1767, allocations: 6.378 MB / 0.5096 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.1869, allocations: 3.33 MB / 0.5128 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.1913, allocations: 1.587 MB / 0.5144 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.3205/0.5118, allocations: 9.598 MB / 0.5237 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01389/0.5257, allocations: 8.244 MB / 0.5318 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008981/0.5348, allocations: 3.374 MB / 0.5351 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008856/0.5437, allocations: 4.638 MB / 0.5396 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002922/0.5466, allocations: 0.7502 MB / 0.5404 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/0.5518, allocations: 1.751 MB / 0.5421 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006382/0.5582, allocations: 4.232 MB / 0.5462 GB, free: 256 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01234/0.5706, allocations: 4.66 MB / 0.5507 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02148/0.5921, allocations: 14.43 MB / 0.5648 GB, free: 15.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.5922, allocations: 0 / 0.5648 GB, free: 15.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5922, allocations: 0 / 0.5648 GB, free: 15.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006695/0.5929, allocations: 0 / 0.5648 GB, free: 15.48 MB / 430.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.03352/0.6264, allocations: 9.763 MB / 0.5744 GB, free: 5.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/0.6265, allocations: 11.89 kB / 0.5744 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01961/0.6461, allocations: 3.678 MB / 0.578 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.6647, allocations: 6.579 MB / 0.5844 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006804/0.6654, allocations: 479.1 kB / 0.5849 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003476/0.6689, allocations: 0.638 MB / 0.5855 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04562/0.7145, allocations: 19.14 MB / 0.6042 GB, free: 6.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005148/0.7151, allocations: 85.33 kB / 0.6042 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00253/0.7177, allocations: 297.3 kB / 0.6045 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006412/0.7241, allocations: 3.416 MB / 0.6079 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03695/0.7611, allocations: 16.17 MB / 0.6237 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/0.8642, allocations: 70.2 MB / 0.6922 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02119/0.8855, allocations: 8.487 MB / 0.7005 GB, free: 3.086 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006651/0.8922, allocations: 4.532 MB / 0.7049 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.8933, allocations: 0.6679 MB / 0.7056 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.588e-05/0.8934, allocations: 68.88 kB / 0.7056 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=307): time 8.326e-06/0.8934, allocations: 0 / 0.7056 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=331): time 0.62/1.513, allocations: 34.99 MB / 0.7398 GB, free: 193.9 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.514, allocations: 294.3 kB / 0.7401 GB, free: 193.5 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01739/1.531, allocations: 7.644 MB / 0.7476 GB, free: 191.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001495/1.532, allocations: 77.98 kB / 0.7476 GB, free: 191.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005533/1.538, allocations: 5.493 MB / 0.753 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002238/1.54, allocations: 1.256 MB / 0.7542 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003579/1.544, allocations: 2.035 MB / 0.7562 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/1.544, allocations: 305.4 kB / 0.7565 GB, free: 184.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006404/1.55, allocations: 4.041 MB / 0.7605 GB, free: 183.6 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/1.561, allocations: 9.595 MB / 0.7698 GB, free: 174.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/1.576, allocations: 14.54 MB / 0.784 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001812/1.576, allocations: 53.12 kB / 0.7841 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02705/1.603, allocations: 15.48 MB / 0.7992 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.603, allocations: 88 kB / 0.7993 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002088/1.603, allocations: 192 kB / 0.7995 GB, free: 155.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/1.609, allocations: 2.305 MB / 0.8017 GB, free: 153 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007554/1.616, allocations: 2.336 MB / 0.804 GB, free: 150.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/1.632, allocations: 16.5 MB / 0.8201 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009572/1.642, allocations: 0.5668 MB / 0.8207 GB, free: 133.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/1.644, allocations: 0.5663 MB / 0.8212 GB, free: 132.5 MB / 0.5763 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.006888/1.651, allocations: 3.745 MB / 0.8249 GB, free: 128.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001833/1.653, allocations: 0.6544 MB / 0.8255 GB, free: 128.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.665, allocations: 7.886 MB / 0.8332 GB, free: 120.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.121e-05/1.665, allocations: 32 kB / 0.8332 GB, free: 120.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-05/1.665, allocations: 15.44 kB / 0.8332 GB, free: 120.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/1.665, allocations: 15.94 kB / 0.8333 GB, free: 120.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03047/1.695, allocations: 16.92 MB / 0.8498 GB, free: 103.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/1.695, allocations: 4 kB / 0.8498 GB, free: 103.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/1.698, allocations: 0.5969 MB / 0.8504 GB, free: 102.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004875/1.703, allocations: 1.973 MB / 0.8523 GB, free: 100.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005315/1.703, allocations: 59.36 kB / 0.8524 GB, free: 100.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.717, allocations: 15.33 MB / 0.8673 GB, free: 84.69 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.717, allocations: 0 / 0.8673 GB, free: 84.69 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/1.735, allocations: 12.26 MB / 0.8793 GB, free: 72.33 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004013/1.739, allocations: 1.25 MB / 0.8805 GB, free: 71.05 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/1.74, allocations: 59.94 kB / 0.8806 GB, free: 70.99 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003747/1.744, allocations: 231.3 kB / 0.8808 GB, free: 70.77 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006641/1.745, allocations: 190.4 kB / 0.881 GB, free: 70.58 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.745, allocations: 83.98 kB / 0.8811 GB, free: 70.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007795/1.753, allocations: 4.886 MB / 0.8858 GB, free: 65.65 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.91e-07/1.753, allocations: 3.938 kB / 0.8858 GB, free: 65.64 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01196/1.765, allocations: 1.958 MB / 0.8877 GB, free: 63.69 MB / 0.5763 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.0008179/1.766, allocations: 201.2 kB / 0.8879 GB, free: 63.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01392/1.78, allocations: 9.931 MB / 0.8976 GB, free: 53.55 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.78, allocations: 0 / 0.8976 GB, free: 53.55 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004973/1.785, allocations: 3.607 MB / 0.9012 GB, free: 49.89 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008221/1.793, allocations: 0.9563 MB / 0.9021 GB, free: 48.95 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/1.82, allocations: 18.24 MB / 0.9199 GB, free: 30.67 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005917/1.826, allocations: 5.737 MB / 0.9255 GB, free: 24.89 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00653/1.833, allocations: 3.022 MB / 0.9285 GB, free: 21.86 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.834, allocations: 447.4 kB / 0.9289 GB, free: 21.43 MB / 0.5763 GB Notification: Performance of SimCode: time 1.032e-06/1.834, allocations: 4 kB / 0.9289 GB, free: 21.42 MB / 0.5763 GB Notification: Performance of Templates: time 0.4029/2.237, allocations: 74.46 MB / 1.002 GB, free: 169 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (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)