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.005892/0.005892, allocations: 106.1 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.001321/0.001321, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.3068/0.3068, allocations: 38 MB / 307.9 MB, free: 9.965 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.00181/0.00181, allocations: 72.31 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4028, allocations: 56.46 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01461/0.4175, allocations: 13.73 MB / 0.4914 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.4312, allocations: 4.601 MB / 0.4959 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004388/0.4357, allocations: 88.41 kB / 0.496 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008342/0.4441, allocations: 3.755 MB / 0.4997 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008133/0.4523, allocations: 2.434 MB / 0.502 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.4553, allocations: 1.005 MB / 0.503 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01057/0.4659, allocations: 5.921 MB / 0.5088 GB, free: 0 / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008059/0.474, allocations: 4.676 MB / 0.5134 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004709/0.4787, allocations: 2.087 MB / 0.5154 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00586/0.4846, allocations: 2.825 MB / 0.5182 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002483/0.4871, allocations: 448 kB / 0.5186 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005036/0.4922, allocations: 1.471 MB / 0.52 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005619/0.4978, allocations: 2.642 MB / 0.5226 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007915/0.5058, allocations: 2.932 MB / 0.5255 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.5224, allocations: 9.367 MB / 0.5346 GB, free: 9.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.5225, allocations: 0 / 0.5346 GB, free: 9.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5225, allocations: 0 / 0.5346 GB, free: 9.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004638/0.5229, allocations: 0 / 0.5346 GB, free: 9.383 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.01886/0.5418, allocations: 6.4 MB / 0.5409 GB, free: 2.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.5419, allocations: 11.89 kB / 0.5409 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.5543, allocations: 2.629 MB / 0.5435 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.5644, allocations: 4.02 MB / 0.5474 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.5647, allocations: 300 kB / 0.5477 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.5661, allocations: 411.5 kB / 0.5481 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02553/0.5916, allocations: 12.61 MB / 0.5604 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/0.5919, allocations: 55.53 kB / 0.5604 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006179/0.5925, allocations: 191.8 kB / 0.5606 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003967/0.5965, allocations: 2.409 MB / 0.563 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02436/0.6208, allocations: 10.54 MB / 0.5733 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08146/0.7024, allocations: 48.59 MB / 0.6207 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.7146, allocations: 4.805 MB / 0.6254 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/0.7185, allocations: 2.44 MB / 0.6278 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01537/0.7339, allocations: 7.173 MB / 0.6348 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/0.734, allocations: 55.86 kB / 0.6348 GB, free: 144 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.23e-06/0.734, allocations: 0 / 0.6348 GB, free: 144 kB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.3819/1.116, allocations: 17.99 MB / 0.6524 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/1.116, allocations: 199.6 kB / 0.6526 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.127, allocations: 5.844 MB / 0.6583 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004824/1.128, allocations: 52.36 kB / 0.6584 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002599/1.13, allocations: 3.952 MB / 0.6622 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.131, allocations: 0.7614 MB / 0.663 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002315/1.134, allocations: 1.506 MB / 0.6644 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.31e-05/1.134, allocations: 301.1 kB / 0.6647 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/1.138, allocations: 2.598 MB / 0.6673 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00634/1.145, allocations: 7.042 MB / 0.6741 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.156, allocations: 10.33 MB / 0.6842 GB, free: 97.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000266/1.156, allocations: 45.44 kB / 0.6843 GB, free: 97.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01889/1.175, allocations: 10.41 MB / 0.6944 GB, free: 90.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.394e-05/1.176, allocations: 68 kB / 0.6945 GB, free: 90.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.176, allocations: 160.2 kB / 0.6947 GB, free: 90.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002714/1.178, allocations: 1.226 MB / 0.6959 GB, free: 89.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/1.183, allocations: 1.7 MB / 0.6975 GB, free: 87.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007965/1.191, allocations: 8.347 MB / 0.7057 GB, free: 79.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007773/1.199, allocations: 415.3 kB / 0.7061 GB, free: 78.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/1.201, allocations: 444 kB / 0.7065 GB, free: 78.2 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.005291/1.206, allocations: 2.636 MB / 0.7091 GB, free: 75.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.207, allocations: 477.8 kB / 0.7095 GB, free: 75.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00726/1.215, allocations: 3.97 MB / 0.7134 GB, free: 71.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/1.215, allocations: 24 kB / 0.7134 GB, free: 71.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/1.215, allocations: 4 kB / 0.7134 GB, free: 71.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/1.215, allocations: 11.95 kB / 0.7134 GB, free: 71.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/1.234, allocations: 9.257 MB / 0.7225 GB, free: 61.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/1.234, allocations: 4 kB / 0.7225 GB, free: 61.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.235, allocations: 363.4 kB / 0.7228 GB, free: 61.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/1.238, allocations: 0.9848 MB / 0.7238 GB, free: 60.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002631/1.238, allocations: 39.94 kB / 0.7238 GB, free: 60.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007153/1.245, allocations: 7.685 MB / 0.7313 GB, free: 52.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.245, allocations: 4 kB / 0.7313 GB, free: 52.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009192/1.254, allocations: 6.751 MB / 0.7379 GB, free: 45.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003485/1.258, allocations: 0.8228 MB / 0.7387 GB, free: 44.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002229/1.26, allocations: 36 kB / 0.7388 GB, free: 44.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/1.263, allocations: 115.8 kB / 0.7389 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/1.263, allocations: 117 kB / 0.739 GB, free: 44.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/1.264, allocations: 56 kB / 0.739 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006323/1.27, allocations: 3.733 MB / 0.7427 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.27, allocations: 4 kB / 0.7427 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009063/1.279, allocations: 1.272 MB / 0.7439 GB, free: 39.43 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.0009767/1.28, allocations: 165.5 kB / 0.7441 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.291, allocations: 6.24 MB / 0.7502 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.291, allocations: 0 / 0.7502 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002741/1.294, allocations: 1.883 MB / 0.752 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007652/1.301, allocations: 0.6242 MB / 0.7526 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/1.324, allocations: 11.76 MB / 0.7641 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/1.327, allocations: 4.015 MB / 0.768 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004591/1.332, allocations: 2.279 MB / 0.7703 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008638/1.333, allocations: 315.4 kB / 0.7706 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/1.333, allocations: 0 / 0.7706 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.08992/1.423, allocations: 44.73 MB / 0.8142 GB, free: 15.43 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)