Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006377/0.006376, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001272/0.001272, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3338/0.3338, allocations: 38 MB / 307.9 MB, free: 10.15 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.001639/0.001639, allocations: 71.91 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.364, allocations: 56.45 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.02219/0.3863, allocations: 16.95 MB / 0.4946 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.4023, allocations: 5.304 MB / 0.4997 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006553/0.4089, allocations: 112.3 kB / 0.4999 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01324/0.4223, allocations: 5.073 MB / 0.5048 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01461/0.4369, allocations: 2.773 MB / 0.5075 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006864/0.4438, allocations: 1.24 MB / 0.5087 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02179/0.4657, allocations: 7.743 MB / 0.5163 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01414/0.4799, allocations: 6.153 MB / 0.5223 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007951/0.4879, allocations: 2.699 MB / 0.5249 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008917/0.4968, allocations: 3.75 MB / 0.5286 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003317/0.5002, allocations: 0.5898 MB / 0.5292 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005973/0.5062, allocations: 1.596 MB / 0.5307 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00697/0.5132, allocations: 3.452 MB / 0.5341 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009586/0.5228, allocations: 3.807 MB / 0.5378 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.5446, allocations: 11.91 MB / 0.5494 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.5447, allocations: 0 / 0.5494 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5447, allocations: 0 / 0.5494 GB, free: 10.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005997/0.5453, allocations: 0 / 0.5494 GB, free: 10.15 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02893/0.5742, allocations: 8.063 MB / 0.5573 GB, free: 2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5743, allocations: 15.89 kB / 0.5573 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.5906, allocations: 3.17 MB / 0.5604 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/0.6059, allocations: 5.228 MB / 0.5655 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/0.6064, allocations: 390.4 kB / 0.5659 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/0.6086, allocations: 0.5231 MB / 0.5664 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/0.6454, allocations: 15.78 MB / 0.5818 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/0.6457, allocations: 75.3 kB / 0.5819 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009351/0.6466, allocations: 247.8 kB / 0.5821 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005731/0.6524, allocations: 2.931 MB / 0.585 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02927/0.6816, allocations: 13.15 MB / 0.5978 GB, free: 7.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6564/1.338, allocations: 60.12 MB / 0.6566 GB, free: 83.2 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01645/1.355, allocations: 6.085 MB / 0.6625 GB, free: 82.31 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005752/1.36, allocations: 3.38 MB / 0.6658 GB, free: 80.88 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/1.361, allocations: 50.88 kB / 0.6658 GB, free: 80.87 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/1.361, allocations: 62.11 kB / 0.6659 GB, free: 80.82 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=242): time 5.77e-06/1.361, allocations: 0 / 0.6659 GB, free: 80.82 MB / 0.4982 GB Notification: Performance of matching and sorting (n=260): time 0.06931/1.43, allocations: 25.88 MB / 0.6912 GB, free: 70.88 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.43, allocations: 264 kB / 0.6914 GB, free: 70.59 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009694/1.44, allocations: 6.976 MB / 0.6982 GB, free: 67.04 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007057/1.441, allocations: 65.2 kB / 0.6983 GB, free: 66.98 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003064/1.444, allocations: 4.799 MB / 0.703 GB, free: 62.8 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.445, allocations: 1.011 MB / 0.704 GB, free: 61.96 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002779/1.448, allocations: 1.803 MB / 0.7057 GB, free: 60.94 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/1.448, allocations: 301.1 kB / 0.706 GB, free: 60.64 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/1.453, allocations: 3.319 MB / 0.7093 GB, free: 59.02 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007181/1.46, allocations: 8.489 MB / 0.7176 GB, free: 49.18 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/1.474, allocations: 12.64 MB / 0.7299 GB, free: 34.13 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002122/1.474, allocations: 52 kB / 0.7299 GB, free: 34.08 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02406/1.498, allocations: 13.08 MB / 0.7427 GB, free: 20.98 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.498, allocations: 88.03 kB / 0.7428 GB, free: 20.89 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/1.499, allocations: 180 kB / 0.743 GB, free: 20.71 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/1.503, allocations: 1.777 MB / 0.7447 GB, free: 18.93 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007271/1.51, allocations: 2.113 MB / 0.7468 GB, free: 16.82 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.522, allocations: 12.44 MB / 0.7589 GB, free: 3.992 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008651/1.531, allocations: 495.2 kB / 0.7594 GB, free: 3.508 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/1.532, allocations: 0.5156 MB / 0.7599 GB, free: 2.992 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1087): * Single equations (assignments): 1081 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.005496/1.538, allocations: 3.214 MB / 0.763 GB, free: 15.76 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.539, allocations: 0.5707 MB / 0.7636 GB, free: 15.18 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.552, allocations: 5.808 MB / 0.7693 GB, free: 9.355 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.108e-05/1.552, allocations: 28 kB / 0.7693 GB, free: 9.328 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.584e-05/1.552, allocations: 19.92 kB / 0.7693 GB, free: 9.309 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.877e-05/1.552, allocations: 7.969 kB / 0.7693 GB, free: 9.301 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02947/1.582, allocations: 12.88 MB / 0.7819 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/1.582, allocations: 0 / 0.7819 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002651/1.584, allocations: 0.5031 MB / 0.7824 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00422/1.589, allocations: 1.482 MB / 0.7838 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003543/1.589, allocations: 43.83 kB / 0.7839 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/1.603, allocations: 11.48 MB / 0.7951 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.603, allocations: 4.125 kB / 0.7951 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/1.62, allocations: 9.45 MB / 0.8043 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00413/1.624, allocations: 1.052 MB / 0.8053 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/1.625, allocations: 43.94 kB / 0.8054 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002914/1.628, allocations: 171.8 kB / 0.8056 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/1.628, allocations: 153.6 kB / 0.8057 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.629, allocations: 67.98 kB / 0.8058 GB, free: 3.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00843/1.637, allocations: 4.451 MB / 0.8101 GB, free: 15.01 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.91e-07/1.637, allocations: 0 / 0.8101 GB, free: 15.01 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01093/1.648, allocations: 1.62 MB / 0.8117 GB, free: 13.39 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0008202/1.649, allocations: 187.5 kB / 0.8119 GB, free: 13.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01476/1.664, allocations: 8.114 MB / 0.8198 GB, free: 5.094 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-05/1.664, allocations: 0 / 0.8198 GB, free: 5.094 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00451/1.668, allocations: 2.724 MB / 0.8225 GB, free: 2.328 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006351/1.675, allocations: 0.7995 MB / 0.8232 GB, free: 1.539 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/1.707, allocations: 15.1 MB / 0.838 GB, free: 2.41 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007851/1.715, allocations: 4.892 MB / 0.8428 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007671/1.722, allocations: 2.749 MB / 0.8454 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002003/1.724, allocations: 387.4 kB / 0.8458 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/1.725, allocations: 0 / 0.8458 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of Templates: time 0.4378/2.162, allocations: 58.8 MB / 0.9032 GB, free: 203.7 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)