Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9557/0.9557, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2602/0.2602, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] 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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.084e-05, allocations: 2.875 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01027/0.0103, allocations: 12.24 MB / 391 MB, free: 5.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008055/0.01836, allocations: 4.433 MB / 395.5 MB, free: 1.305 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.02001, allocations: 103.5 kB / 395.6 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004132/0.02415, allocations: 3.984 MB / 399.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00474/0.02889, allocations: 2.333 MB / 401.9 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.03069, allocations: 1.111 MB / 403 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006462/0.03716, allocations: 6.8 MB / 409.8 MB, free: 2.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/0.04141, allocations: 4.139 MB / 413.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/0.04623, allocations: 3.969 MB / 417.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003253/0.04949, allocations: 2.927 MB / 420.8 MB, free: 7.816 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000798/0.05029, allocations: 420 kB / 421.2 MB, free: 7.406 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.052, allocations: 1.392 MB / 422.6 MB, free: 6.012 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.05377, allocations: 2.63 MB / 425.3 MB, free: 3.375 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.05491, allocations: 1.593 MB / 426.8 MB, free: 1.777 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.05929, allocations: 5.683 MB / 432.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.05929, allocations: 4 kB / 432.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.05929, allocations: 0 / 432.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-05/0.05933, allocations: 0 / 432.5 MB, free: 12.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.00708/0.06641, allocations: 6.6 MB / 439.1 MB, free: 5.398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.06646, allocations: 12.03 kB / 439.1 MB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006115/0.07257, allocations: 3.025 MB / 442.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1655/0.2381, allocations: 3.144 MB / 445.3 MB, free: 76.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.2383, allocations: 278.5 kB / 445.6 MB, free: 76.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007987/0.2391, allocations: 378.8 kB / 446 MB, free: 76.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008899/0.248, allocations: 7.258 MB / 453.2 MB, free: 73.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.2481, allocations: 62.39 kB / 453.3 MB, free: 73.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003139/0.2484, allocations: 179.9 kB / 453.4 MB, free: 73.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001562/0.25, allocations: 2.034 MB / 455.5 MB, free: 73.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007153/0.2572, allocations: 3.692 MB / 459.2 MB, free: 73.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02483/0.282, allocations: 51.43 MB / 0.4986 GB, free: 32.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004511/0.2865, allocations: 1.947 MB / 0.5005 GB, free: 32.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.2872, allocations: 0.5078 MB / 0.501 GB, free: 32.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006086/0.2933, allocations: 4.263 MB / 0.5052 GB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.2933, allocations: 48.16 kB / 0.5052 GB, free: 30.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.007e-06/0.2934, allocations: 4 kB / 0.5053 GB, free: 30.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01342/0.3068, allocations: 8.459 MB / 0.5135 GB, free: 26.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3068, allocations: 205.2 kB / 0.5137 GB, free: 26.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004604/0.3114, allocations: 4.553 MB / 0.5182 GB, free: 24.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.3115, allocations: 40.83 kB / 0.5182 GB, free: 24.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.3132, allocations: 4.175 MB / 0.5223 GB, free: 21.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.3135, allocations: 0.5888 MB / 0.5228 GB, free: 20.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.3147, allocations: 1.539 MB / 0.5243 GB, free: 19.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.3147, allocations: 483.9 kB / 0.5248 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009708/0.3157, allocations: 0.6342 MB / 0.5254 GB, free: 19.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.3188, allocations: 7.425 MB / 0.5327 GB, free: 10.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005198/0.324, allocations: 8.814 MB / 0.5413 GB, free: 14.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.527e-05/0.324, allocations: 44 kB / 0.5413 GB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.006728/0.3308, allocations: 5.908 MB / 0.5471 GB, free: 9.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.227e-05/0.3308, allocations: 76 kB / 0.5472 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/0.331, allocations: 160 kB / 0.5473 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.3315, allocations: 291.2 kB / 0.5476 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.3345, allocations: 1.626 MB / 0.5492 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.3363, allocations: 3.818 MB / 0.5529 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.3389, allocations: 461.4 kB / 0.5534 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/0.3392, allocations: 435.3 kB / 0.5538 GB, free: 2.582 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (872): * Single equations (assignments): 865 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001238/0.3405, allocations: 0.7446 MB / 0.5545 GB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.3409, allocations: 441.1 kB / 0.5549 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/0.3418, allocations: 0.7896 MB / 0.5557 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.3418, allocations: 17.97 kB / 0.5557 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3418, allocations: 0 / 0.5557 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3418, allocations: 7.422 kB / 0.5557 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/0.3484, allocations: 4.801 MB / 0.5604 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3484, allocations: 4 kB / 0.5604 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.3489, allocations: 241 kB / 0.5606 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/0.3491, allocations: 86.81 kB / 0.5607 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.3492, allocations: 31 kB / 0.5608 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.3506, allocations: 3.522 MB / 0.5642 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.3506, allocations: 8 kB / 0.5642 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.3527, allocations: 2.013 MB / 0.5662 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.3531, allocations: 406 kB / 0.5666 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.3534, allocations: 27.7 kB / 0.5666 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/0.3541, allocations: 127.3 kB / 0.5667 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.3542, allocations: 87.67 kB / 0.5668 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.3542, allocations: 40 kB / 0.5668 GB, free: 5.992 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002031/0.3563, allocations: 1.97 MB / 0.5687 GB, free: 4.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3563, allocations: 0 / 0.5687 GB, free: 4.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003365/0.3596, allocations: 1.125 MB / 0.5698 GB, free: 3.027 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 99 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003235/0.36, allocations: 166 kB / 0.57 GB, free: 2.859 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004103/0.3641, allocations: 3.217 MB / 0.5731 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3641, allocations: 0 / 0.5731 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.3646, allocations: 0.7024 MB / 0.5738 GB, free: 14.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.3662, allocations: 0.526 MB / 0.5743 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.3767, allocations: 8.65 MB / 0.5828 GB, free: 5.551 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.3779, allocations: 1.452 MB / 0.5842 GB, free: 4.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002523/0.3804, allocations: 1.795 MB / 0.586 GB, free: 2.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.3808, allocations: 260.5 kB / 0.5862 GB, free: 2.016 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3808, allocations: 3.938 kB / 0.5862 GB, free: 2.012 MB / 458.7 MB Notification: Performance of Templates: time 0.1942/0.5751, allocations: 28.8 MB / 0.6143 GB, free: 134.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.249831322114915]