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.001322/0.001322, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00158/0.00158, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.514/1.514, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3367/0.3367, allocations: 37.98 MB / 307.4 MB, free: 10.14 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.001452/0.001452, allocations: 74.23 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 56.47 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3591/0.5008, allocations: 124.8 MB / 0.5429 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07025/0.5711, allocations: 23.32 MB / 0.5657 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03794/0.6091, allocations: 0.5339 MB / 0.5662 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01291/0.6221, allocations: 6.146 MB / 0.5722 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.6332, allocations: 3.005 MB / 0.5752 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00468/0.638, allocations: 1.51 MB / 0.5766 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.015/0.653, allocations: 10.02 MB / 0.5864 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01205/0.6651, allocations: 8.657 MB / 0.5949 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008072/0.6732, allocations: 3.427 MB / 0.5982 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008666/0.6819, allocations: 5.134 MB / 0.6033 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00328/0.6852, allocations: 0.75 MB / 0.604 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006062/0.6913, allocations: 1.768 MB / 0.6057 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007605/0.6989, allocations: 4.244 MB / 0.6099 GB, free: 5.863 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01165/0.7106, allocations: 4.693 MB / 0.6144 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02685/0.7375, allocations: 14.09 MB / 0.6282 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.7376, allocations: 3.938 kB / 0.6282 GB, free: 3.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.7376, allocations: 0 / 0.6282 GB, free: 3.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000665/0.7383, allocations: 0 / 0.6282 GB, free: 3.004 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.5112/1.25, allocations: 9.76 MB / 0.6377 GB, free: 151.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.25, allocations: 17.48 kB / 0.6378 GB, free: 151.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/1.269, allocations: 3.672 MB / 0.6413 GB, free: 150.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/1.286, allocations: 6.47 MB / 0.6477 GB, free: 148.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006189/1.286, allocations: 479 kB / 0.6481 GB, free: 147.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003774/1.29, allocations: 0.6439 MB / 0.6487 GB, free: 147.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04732/1.338, allocations: 19.12 MB / 0.6674 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005868/1.338, allocations: 90.38 kB / 0.6675 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002534/1.341, allocations: 300.5 kB / 0.6678 GB, free: 139.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008189/1.349, allocations: 3.412 MB / 0.6711 GB, free: 138.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04143/1.39, allocations: 16.17 MB / 0.6869 GB, free: 129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.491, allocations: 70.58 MB / 0.7558 GB, free: 56.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.509, allocations: 8.479 MB / 0.7641 GB, free: 48.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006735/1.516, allocations: 4.521 MB / 0.7685 GB, free: 43.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.517, allocations: 0.6724 MB / 0.7692 GB, free: 42.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.8e-05/1.517, allocations: 64.88 kB / 0.7692 GB, free: 42.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 8.857e-06/1.517, allocations: 4 kB / 0.7693 GB, free: 42.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.08994/1.607, allocations: 35.01 MB / 0.8034 GB, free: 7.555 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.607, allocations: 295.6 kB / 0.8037 GB, free: 7.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/1.619, allocations: 7.65 MB / 0.8112 GB, free: 15.58 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001333/1.62, allocations: 77.7 kB / 0.8113 GB, free: 15.5 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005181/1.625, allocations: 5.493 MB / 0.8166 GB, free: 9.945 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002585/1.628, allocations: 1.261 MB / 0.8179 GB, free: 8.668 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004024/1.632, allocations: 2.026 MB / 0.8198 GB, free: 6.629 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.632, allocations: 301.1 kB / 0.8201 GB, free: 6.332 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006512/1.639, allocations: 4.052 MB / 0.8241 GB, free: 2.273 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3373/1.976, allocations: 9.581 MB / 0.8334 GB, free: 142.5 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/1.993, allocations: 14.53 MB / 0.8476 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000363/1.993, allocations: 55.09 kB / 0.8477 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03467/2.028, allocations: 15.48 MB / 0.8628 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002968/2.028, allocations: 87.94 kB / 0.8629 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004342/2.029, allocations: 195.5 kB / 0.8631 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006905/2.036, allocations: 2.312 MB / 0.8653 GB, free: 126.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009462/2.045, allocations: 2.336 MB / 0.8676 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/2.067, allocations: 16.5 MB / 0.8837 GB, free: 116.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009493/2.076, allocations: 0.5674 MB / 0.8843 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/2.079, allocations: 0.5624 MB / 0.8848 GB, free: 116.1 MB / 0.4982 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.00857/2.087, allocations: 3.745 MB / 0.8885 GB, free: 114.5 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/2.089, allocations: 0.6572 MB / 0.8891 GB, free: 114.5 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/2.103, allocations: 7.874 MB / 0.8968 GB, free: 111.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/2.103, allocations: 35.8 kB / 0.8969 GB, free: 111.8 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.966e-05/2.103, allocations: 7.75 kB / 0.8969 GB, free: 111.8 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.334e-05/2.103, allocations: 19.61 kB / 0.8969 GB, free: 111.8 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/2.134, allocations: 16.99 MB / 0.9135 GB, free: 101.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/2.134, allocations: 0 / 0.9135 GB, free: 101.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/2.137, allocations: 0.6007 MB / 0.9141 GB, free: 101 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004822/2.142, allocations: 1.983 MB / 0.916 GB, free: 98.98 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007449/2.143, allocations: 68.09 kB / 0.9161 GB, free: 98.91 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/2.157, allocations: 15.32 MB / 0.931 GB, free: 83.17 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/2.157, allocations: 5.047 kB / 0.931 GB, free: 83.16 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/2.177, allocations: 12.25 MB / 0.943 GB, free: 71 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003842/2.181, allocations: 1.25 MB / 0.9442 GB, free: 69.73 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/2.183, allocations: 59.91 kB / 0.9443 GB, free: 69.67 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004165/2.187, allocations: 227.7 kB / 0.9445 GB, free: 69.45 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007385/2.188, allocations: 202.2 kB / 0.9447 GB, free: 69.25 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/2.188, allocations: 83.94 kB / 0.9448 GB, free: 69.16 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008101/2.197, allocations: 4.882 MB / 0.9495 GB, free: 64.32 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.01e-07/2.197, allocations: 0 / 0.9495 GB, free: 64.32 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01107/2.208, allocations: 1.963 MB / 0.9514 GB, free: 62.36 MB / 0.4982 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.000962/2.209, allocations: 204.5 kB / 0.9516 GB, free: 62.15 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0192/2.228, allocations: 12.15 MB / 0.9635 GB, free: 50.03 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/2.228, allocations: 0 / 0.9635 GB, free: 50.03 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005661/2.234, allocations: 3.601 MB / 0.967 GB, free: 46.38 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007161/2.241, allocations: 0.9456 MB / 0.9679 GB, free: 45.45 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03554/2.276, allocations: 22.22 MB / 0.9896 GB, free: 23.2 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009327/2.286, allocations: 5.737 MB / 0.9952 GB, free: 17.42 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009898/2.296, allocations: 3.022 MB / 0.9982 GB, free: 14.39 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/2.298, allocations: 451.4 kB / 0.9986 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of SimCode: time 1.443e-06/2.298, allocations: 0 / 0.9986 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of Templates: time 0.4425/2.74, allocations: 80.42 MB / 1.077 GB, free: 111.9 MB / 0.4982 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)