Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005354/0.005354, allocations: 96.7 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.001162/0.001162, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.364/1.364, 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.1892/0.1892, allocations: 38.02 MB / 307.9 MB, free: 5.969 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.00149/0.00149, allocations: 65.78 kB / 433 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1172, allocations: 56.47 MB / 489.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01526/0.1325, allocations: 13.74 MB / 0.4914 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.1443, allocations: 4.591 MB / 0.4959 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.148, allocations: 87.75 kB / 0.496 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007706/0.1557, allocations: 3.761 MB / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009901/0.1657, allocations: 2.358 MB / 0.502 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.169, allocations: 1.01 MB / 0.503 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.1801, allocations: 5.902 MB / 0.5087 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007816/0.1879, allocations: 4.694 MB / 0.5133 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3115/0.4995, allocations: 2.074 MB / 0.5153 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006335/0.5059, allocations: 2.814 MB / 0.5181 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002724/0.5086, allocations: 446.6 kB / 0.5185 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00438/0.513, allocations: 1.468 MB / 0.52 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00385/0.5169, allocations: 2.621 MB / 0.5225 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006463/0.5234, allocations: 2.933 MB / 0.5254 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.5394, allocations: 9.411 MB / 0.5346 GB, free: 5.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.5394, allocations: 0 / 0.5346 GB, free: 5.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.5394, allocations: 1.156 kB / 0.5346 GB, free: 5.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004101/0.5398, allocations: 0 / 0.5346 GB, free: 5.988 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02262/0.5625, allocations: 6.562 MB / 0.541 GB, free: 2.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.5626, allocations: 13.33 kB / 0.541 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/0.5755, allocations: 2.668 MB / 0.5436 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.5866, allocations: 4.049 MB / 0.5475 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.5869, allocations: 304.3 kB / 0.5478 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.5888, allocations: 398.7 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0278/0.6166, allocations: 12.61 MB / 0.5605 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002779/0.6169, allocations: 59.66 kB / 0.5606 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/0.6185, allocations: 189.2 kB / 0.5608 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004799/0.6233, allocations: 2.405 MB / 0.5631 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02394/0.6472, allocations: 10.54 MB / 0.5734 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07798/0.7253, allocations: 48.7 MB / 0.621 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01299/0.7383, allocations: 4.788 MB / 0.6257 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/0.7425, allocations: 2.44 MB / 0.628 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/0.7602, allocations: 7.188 MB / 0.6351 GB, free: 8.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.646e-05/0.7603, allocations: 59.05 kB / 0.6351 GB, free: 8.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 7.293e-06/0.7603, allocations: 4 kB / 0.6351 GB, free: 8.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.06159/0.8219, allocations: 18.29 MB / 0.653 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.8221, allocations: 200.5 kB / 0.6532 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01505/0.8372, allocations: 5.848 MB / 0.6589 GB, free: 36 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006435/0.8379, allocations: 61.2 kB / 0.6589 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004905/0.8428, allocations: 4.097 MB / 0.6629 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001651/0.8445, allocations: 0.7946 MB / 0.6637 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005012/0.8495, allocations: 1.523 MB / 0.6652 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8497, allocations: 313.1 kB / 0.6655 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0053/0.855, allocations: 2.599 MB / 0.668 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009363/0.8644, allocations: 7.039 MB / 0.6749 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/0.8816, allocations: 10.33 MB / 0.685 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003686/0.8821, allocations: 44 kB / 0.685 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02804/0.9102, allocations: 10.43 MB / 0.6952 GB, free: 7.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.9104, allocations: 72 kB / 0.6953 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003239/0.9108, allocations: 159.9 kB / 0.6954 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/0.9146, allocations: 1.233 MB / 0.6966 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006631/0.9212, allocations: 1.704 MB / 0.6983 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.9335, allocations: 8.358 MB / 0.7065 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008917/0.9424, allocations: 403.5 kB / 0.7069 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002301/0.9448, allocations: 451.2 kB / 0.7073 GB, free: 10.47 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (904): * Single equations (assignments): 897 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009286/0.9541, allocations: 2.623 MB / 0.7098 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002058/0.9562, allocations: 0.5005 MB / 0.7103 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009985/0.9662, allocations: 3.982 MB / 0.7142 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.125e-05/0.9662, allocations: 20 kB / 0.7142 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/0.9663, allocations: 8 kB / 0.7142 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/0.9663, allocations: 7.969 kB / 0.7143 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02798/0.9943, allocations: 9.267 MB / 0.7233 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/0.9944, allocations: 4 kB / 0.7233 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.9965, allocations: 359.7 kB / 0.7237 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/0.9997, allocations: 0.9886 MB / 0.7246 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004373/1, allocations: 39.98 kB / 0.7247 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/1.011, allocations: 7.697 MB / 0.7322 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.011, allocations: 4.062 kB / 0.7322 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3111/1.322, allocations: 6.764 MB / 0.7388 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/1.324, allocations: 0.8506 MB / 0.7396 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008096/1.325, allocations: 30.06 kB / 0.7396 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.327, allocations: 119.2 kB / 0.7398 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.328, allocations: 113.4 kB / 0.7399 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/1.328, allocations: 53.14 kB / 0.7399 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008917/1.337, allocations: 3.736 MB / 0.7436 GB, free: 197 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/1.337, allocations: 0 / 0.7436 GB, free: 197 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008261/1.345, allocations: 1.273 MB / 0.7448 GB, free: 196.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0005101/1.346, allocations: 169.3 kB / 0.745 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.356, allocations: 6.239 MB / 0.7511 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.356, allocations: 0 / 0.7511 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/1.358, allocations: 1.891 MB / 0.7529 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00612/1.364, allocations: 0.6154 MB / 0.7535 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/1.386, allocations: 11.94 MB / 0.7652 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004431/1.391, allocations: 4.022 MB / 0.7691 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004843/1.396, allocations: 2.283 MB / 0.7713 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009238/1.397, allocations: 315.1 kB / 0.7716 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.343e-06/1.397, allocations: 0 / 0.7716 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.07811/1.475, allocations: 44.72 MB / 0.8153 GB, free: 141.2 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)