Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 71.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.347, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01696/0.364, allocations: 15.42 MB / 0.5467 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.3769, allocations: 5.058 MB / 0.5517 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004112/0.3811, allocations: 111.6 kB / 0.5518 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009172/0.3903, allocations: 4.98 MB / 0.5566 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.3979, allocations: 2.513 MB / 0.5591 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.4012, allocations: 1.232 MB / 0.5603 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.4121, allocations: 7.935 MB / 0.568 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007456/0.4196, allocations: 5.949 MB / 0.5739 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.4236, allocations: 2.512 MB / 0.5763 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005136/0.4288, allocations: 3.439 MB / 0.5797 GB, free: 360 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.4307, allocations: 0.5352 MB / 0.5802 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/0.4348, allocations: 1.553 MB / 0.5817 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004215/0.439, allocations: 3.145 MB / 0.5848 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007303/0.4463, allocations: 3.465 MB / 0.5882 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.461, allocations: 10.78 MB / 0.5987 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.461, allocations: 0 / 0.5987 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.461, allocations: 0 / 0.5987 GB, free: 12.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003593/0.4614, allocations: 0 / 0.5987 GB, free: 12.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.01877/0.4801, allocations: 7.502 MB / 0.606 GB, free: 5.215 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4802, allocations: 8.031 kB / 0.606 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.4946, allocations: 3.038 MB / 0.609 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.506, allocations: 4.813 MB / 0.6137 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.5064, allocations: 357.7 kB / 0.614 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001818/0.5082, allocations: 491.8 kB / 0.6145 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02625/0.5345, allocations: 14.26 MB / 0.6284 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003037/0.5348, allocations: 71.36 kB / 0.6285 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/0.5359, allocations: 227.8 kB / 0.6287 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004412/0.5403, allocations: 2.539 MB / 0.6312 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/0.5631, allocations: 11.77 MB / 0.6427 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06782/0.631, allocations: 55.67 MB / 0.6971 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.6432, allocations: 4.696 MB / 0.7016 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004112/0.6473, allocations: 2.943 MB / 0.7045 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.6475, allocations: 40.95 kB / 0.7046 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.6476, allocations: 56.19 kB / 0.7046 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 4.769e-06/0.6476, allocations: 0 / 0.7046 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.3496/0.9972, allocations: 23.22 MB / 0.7273 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.9973, allocations: 259.5 kB / 0.7275 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.008, allocations: 6.703 MB / 0.7341 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005144/1.008, allocations: 61.25 kB / 0.7341 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002648/1.011, allocations: 4.462 MB / 0.7385 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/1.012, allocations: 0.8394 MB / 0.7393 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001999/1.014, allocations: 1.667 MB / 0.7409 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.089e-05/1.014, allocations: 305.1 kB / 0.7412 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/1.017, allocations: 2.885 MB / 0.7441 GB, free: 150 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004891/1.022, allocations: 7.789 MB / 0.7517 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009234/1.031, allocations: 11.42 MB / 0.7628 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.032, allocations: 52 kB / 0.7629 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.01878/1.05, allocations: 11.89 MB / 0.7745 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/1.051, allocations: 81.72 kB / 0.7746 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002415/1.051, allocations: 172 kB / 0.7747 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/1.055, allocations: 1.762 MB / 0.7764 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005849/1.061, allocations: 1.91 MB / 0.7783 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.073, allocations: 12.41 MB / 0.7904 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006794/1.08, allocations: 450 kB / 0.7909 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/1.081, allocations: 492 kB / 0.7913 GB, free: 100.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (994): * Single equations (assignments): 988 * 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.005677/1.087, allocations: 2.961 MB / 0.7942 GB, free: 97.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/1.088, allocations: 0.536 MB / 0.7947 GB, free: 96.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008288/1.097, allocations: 4.837 MB / 0.7995 GB, free: 91.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/1.097, allocations: 15.95 kB / 0.7995 GB, free: 91.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/1.097, allocations: 0 / 0.7995 GB, free: 91.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.098, allocations: 0.6226 MB / 0.8001 GB, free: 91.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/1.1, allocations: 32 kB / 0.8001 GB, free: 91.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.102, allocations: 139.8 kB / 0.8002 GB, free: 90.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/1.102, allocations: 145.1 kB / 0.8004 GB, free: 90.81 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008448/1.111, allocations: 5.378 MB / 0.8056 GB, free: 85.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006722/1.118, allocations: 6.55 MB / 0.812 GB, free: 78.88 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001593/1.119, allocations: 1.659 MB / 0.8137 GB, free: 77.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00682/1.126, allocations: 4.277 MB / 0.8178 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of Backend: time 3.81e-07/1.126, allocations: 0 / 0.8178 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.137, allocations: 5.845 MB / 0.8235 GB, free: 67.14 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02225/1.16, allocations: 13.72 MB / 0.8369 GB, free: 53.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.1044/1.264, allocations: 66.36 MB / 0.9017 GB, free: 3.438 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)