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.001749/0.001749, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001998/0.001998, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3601/0.3601, allocations: 40 MB / 310.4 MB, free: 9.934 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.0005241/0.0005242, allocations: 19.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1497, allocations: 57.96 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3999/0.5497, allocations: 113.3 MB / 0.5373 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07757/0.6273, allocations: 22.46 MB / 0.5592 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03694/0.6643, allocations: 0.5222 MB / 0.5597 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02741/0.6917, allocations: 6.018 MB / 0.5656 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06385/0.7557, allocations: 17.35 MB / 0.5825 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.7657, allocations: 1.24 MB / 0.5837 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.5125/1.278, allocations: 67.4 MB / 0.6496 GB, free: 49.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02408/1.302, allocations: 9.662 MB / 0.659 GB, free: 48.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01255/1.315, allocations: 2.606 MB / 0.6615 GB, free: 48.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01315/1.328, allocations: 4.196 MB / 0.6656 GB, free: 48.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004288/1.333, allocations: 297.7 kB / 0.6659 GB, free: 48.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00763/1.34, allocations: 1.168 MB / 0.6671 GB, free: 48.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008611/1.349, allocations: 3.62 MB / 0.6706 GB, free: 48.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006373/1.355, allocations: 1.646 MB / 0.6722 GB, free: 48.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/1.376, allocations: 11.18 MB / 0.6831 GB, free: 44.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/1.376, allocations: 0 / 0.6831 GB, free: 44.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.558e-06/1.376, allocations: 0 / 0.6831 GB, free: 44.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001133/1.377, allocations: 0 / 0.6831 GB, free: 44.2 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.03117/1.408, allocations: 8.087 MB / 0.691 GB, free: 37.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/1.408, allocations: 10.56 kB / 0.691 GB, free: 37.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/1.428, allocations: 3.751 MB / 0.6947 GB, free: 33.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/1.446, allocations: 6.35 MB / 0.7009 GB, free: 28.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007242/1.447, allocations: 483 kB / 0.7014 GB, free: 28.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004206/1.451, allocations: 0.6447 MB / 0.702 GB, free: 28.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04886/1.5, allocations: 19.12 MB / 0.7207 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008282/1.501, allocations: 82.61 kB / 0.7207 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003981/1.505, allocations: 298 kB / 0.721 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006785/1.512, allocations: 3.419 MB / 0.7244 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04465/1.556, allocations: 16.13 MB / 0.7401 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1299/1.686, allocations: 70.58 MB / 0.809 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02506/1.711, allocations: 8.478 MB / 0.8173 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007888/1.719, allocations: 4.519 MB / 0.8217 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.72, allocations: 0.6649 MB / 0.8224 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/1.721, allocations: 75.17 kB / 0.8225 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=307): time 7.685e-06/1.721, allocations: 0 / 0.8225 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=331): time 0.4338/2.154, allocations: 34.95 MB / 0.8566 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/2.155, allocations: 297.3 kB / 0.8569 GB, free: 216.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01506/2.17, allocations: 7.594 MB / 0.8643 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/2.171, allocations: 80.36 kB / 0.8644 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004811/2.176, allocations: 5.495 MB / 0.8697 GB, free: 211.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002568/2.178, allocations: 1.263 MB / 0.871 GB, free: 210.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009154/2.179, allocations: 199.5 kB / 0.8712 GB, free: 210.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0005028/2.18, allocations: 0.7175 MB / 0.8719 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007148/2.187, allocations: 4.015 MB / 0.8758 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01569/2.203, allocations: 9.542 MB / 0.8851 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/2.219, allocations: 6.025 MB / 0.891 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000736/2.22, allocations: 54.69 kB / 0.891 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.04532/2.265, allocations: 15.39 MB / 0.9061 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008245/2.266, allocations: 87.28 kB / 0.9061 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009115/2.267, allocations: 193.1 kB / 0.9063 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008833/2.276, allocations: 2.33 MB / 0.9086 GB, free: 191.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/2.287, allocations: 2.342 MB / 0.9109 GB, free: 191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/2.307, allocations: 15.31 MB / 0.9258 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/2.319, allocations: 0.5729 MB / 0.9264 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00288/2.322, allocations: 0.5634 MB / 0.927 GB, free: 181.6 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01225/2.334, allocations: 3.737 MB / 0.9306 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00272/2.337, allocations: 0.6466 MB / 0.9312 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/2.355, allocations: 7.87 MB / 0.9389 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-05/2.355, allocations: 32.66 kB / 0.9389 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.844e-05/2.355, allocations: 12 kB / 0.939 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.68e-05/2.355, allocations: 20.72 kB / 0.939 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03994/2.395, allocations: 16.94 MB / 0.9555 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/2.395, allocations: 4.094 kB / 0.9555 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/2.398, allocations: 0.6006 MB / 0.9561 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004986/2.403, allocations: 1.964 MB / 0.958 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008646/2.404, allocations: 68.53 kB / 0.9581 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/2.418, allocations: 14.16 MB / 0.9719 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.418, allocations: 7.969 kB / 0.9719 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/2.436, allocations: 12.21 MB / 0.9839 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005045/2.441, allocations: 1.266 MB / 0.9851 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002472/2.444, allocations: 55.95 kB / 0.9851 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004157/2.448, allocations: 244.7 kB / 0.9854 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005464/2.449, allocations: 194.3 kB / 0.9856 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/2.449, allocations: 80.86 kB / 0.9856 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01005/2.459, allocations: 4.839 MB / 0.9904 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.5e-07/2.459, allocations: 0 / 0.9904 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01344/2.472, allocations: 1.964 MB / 0.9923 GB, free: 123.4 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009846/2.473, allocations: 198 kB / 0.9925 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01631/2.49, allocations: 9.854 MB / 1.002 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/2.49, allocations: 4.125 kB / 1.002 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004825/2.495, allocations: 3.595 MB / 1.006 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008101/2.503, allocations: 0.9083 MB / 1.006 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04107/2.544, allocations: 21.42 MB / 1.027 GB, free: 87.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009855/2.554, allocations: 5.729 MB / 1.033 GB, free: 81.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.009689/2.563, allocations: 3.033 MB / 1.036 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002114/2.565, allocations: 447.4 kB / 1.036 GB, free: 78.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/2.566, allocations: 0 / 1.036 GB, free: 78.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.4568/3.022, allocations: 74.31 MB / 1.109 GB, free: 200.2 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: