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.009504/0.009504, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.00205/0.00205, allocations: 190.5 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.337/0.337, allocations: 37.99 MB / 307.9 MB, free: 10.05 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.001557/0.001557, allocations: 71.91 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3802, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01839/0.3987, allocations: 13.73 MB / 0.4914 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.4136, allocations: 4.597 MB / 0.4959 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004086/0.4177, allocations: 88.91 kB / 0.496 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008347/0.4262, allocations: 3.758 MB / 0.4997 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009548/0.4358, allocations: 2.357 MB / 0.502 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.4391, allocations: 1.016 MB / 0.503 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.4503, allocations: 5.908 MB / 0.5087 GB, free: 36 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008001/0.4583, allocations: 4.688 MB / 0.5133 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005836/0.4642, allocations: 2.083 MB / 0.5154 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007848/0.4721, allocations: 2.83 MB / 0.5181 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002607/0.4747, allocations: 444 kB / 0.5185 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004958/0.4797, allocations: 1.463 MB / 0.52 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004075/0.4838, allocations: 2.642 MB / 0.5226 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004947/0.4888, allocations: 2.932 MB / 0.5254 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.5027, allocations: 9.367 MB / 0.5346 GB, free: 9.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5028, allocations: 3.938 kB / 0.5346 GB, free: 9.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5028, allocations: 0 / 0.5346 GB, free: 9.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003161/0.5031, allocations: 4 kB / 0.5346 GB, free: 9.441 MB / 414.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.01678/0.5199, allocations: 6.393 MB / 0.5408 GB, free: 2.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.52, allocations: 11.89 kB / 0.5408 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.5322, allocations: 2.637 MB / 0.5434 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.5433, allocations: 4.02 MB / 0.5473 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.5436, allocations: 292 kB / 0.5476 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/0.5454, allocations: 415.5 kB / 0.548 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02701/0.5724, allocations: 12.62 MB / 0.5603 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/0.5726, allocations: 55.52 kB / 0.5604 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006012/0.5733, allocations: 187.8 kB / 0.5606 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004027/0.5773, allocations: 2.405 MB / 0.5629 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/0.6021, allocations: 10.55 MB / 0.5732 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07274/0.6749, allocations: 48.59 MB / 0.6206 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.6874, allocations: 4.802 MB / 0.6253 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003999/0.6914, allocations: 2.443 MB / 0.6277 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/0.7067, allocations: 7.173 MB / 0.6347 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.7068, allocations: 51.88 kB / 0.6348 GB, free: 212 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.239e-06/0.7069, allocations: 0 / 0.6348 GB, free: 212 kB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.3719/1.079, allocations: 17.98 MB / 0.6523 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.079, allocations: 200.4 kB / 0.6525 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.091, allocations: 5.841 MB / 0.6582 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006335/1.092, allocations: 56.05 kB / 0.6583 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00292/1.095, allocations: 3.951 MB / 0.6621 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001174/1.096, allocations: 0.7652 MB / 0.6629 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002267/1.098, allocations: 1.501 MB / 0.6644 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/1.098, allocations: 302.5 kB / 0.6646 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/1.103, allocations: 2.604 MB / 0.6672 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006693/1.109, allocations: 7.04 MB / 0.6741 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.12, allocations: 10.34 MB / 0.6842 GB, free: 97.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001849/1.12, allocations: 44.91 kB / 0.6842 GB, free: 97.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01652/1.137, allocations: 10.4 MB / 0.6944 GB, free: 90.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/1.137, allocations: 76.03 kB / 0.6944 GB, free: 90.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/1.137, allocations: 156 kB / 0.6946 GB, free: 90.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/1.14, allocations: 1.223 MB / 0.6958 GB, free: 89.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/1.144, allocations: 1.7 MB / 0.6974 GB, free: 87.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008406/1.153, allocations: 8.355 MB / 0.7056 GB, free: 79.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007452/1.16, allocations: 407.3 kB / 0.706 GB, free: 78.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000928/1.161, allocations: 448 kB / 0.7064 GB, free: 78.27 MB / 0.4981 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.004961/1.166, allocations: 2.634 MB / 0.709 GB, free: 75.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.167, allocations: 473.8 kB / 0.7094 GB, free: 75.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/1.173, allocations: 3.979 MB / 0.7133 GB, free: 71.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.173, allocations: 24 kB / 0.7133 GB, free: 71.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/1.173, allocations: 4 kB / 0.7134 GB, free: 71.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.173, allocations: 7.969 kB / 0.7134 GB, free: 71.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.189, allocations: 9.258 MB / 0.7224 GB, free: 61.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.189, allocations: 4 kB / 0.7224 GB, free: 61.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.19, allocations: 359.4 kB / 0.7227 GB, free: 61.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.193, allocations: 0.985 MB / 0.7237 GB, free: 60.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/1.193, allocations: 43.3 kB / 0.7237 GB, free: 60.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007002/1.2, allocations: 7.688 MB / 0.7313 GB, free: 52.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.2, allocations: 4 kB / 0.7313 GB, free: 52.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008792/1.209, allocations: 6.751 MB / 0.7379 GB, free: 45.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0032/1.212, allocations: 0.8267 MB / 0.7387 GB, free: 44.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/1.213, allocations: 32 kB / 0.7387 GB, free: 44.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/1.215, allocations: 115.8 kB / 0.7388 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.215, allocations: 117 kB / 0.7389 GB, free: 44.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.215, allocations: 55.5 kB / 0.739 GB, free: 44.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00516/1.22, allocations: 3.737 MB / 0.7426 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.22, allocations: 0 / 0.7426 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007508/1.228, allocations: 1.268 MB / 0.7439 GB, free: 39.5 MB / 0.4981 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.0005287/1.229, allocations: 165 kB / 0.744 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009289/1.238, allocations: 6.236 MB / 0.7501 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.238, allocations: 4.125 kB / 0.7501 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/1.24, allocations: 1.883 MB / 0.7519 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004884/1.245, allocations: 0.6261 MB / 0.7526 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/1.263, allocations: 11.75 MB / 0.764 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00374/1.267, allocations: 4.015 MB / 0.7679 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005213/1.272, allocations: 2.287 MB / 0.7702 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/1.273, allocations: 311.4 kB / 0.7705 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/1.273, allocations: 0 / 0.7705 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.08835/1.362, allocations: 44.69 MB / 0.8141 GB, free: 15.61 MB / 0.545 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)