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.0009631/0.0009631, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001103/0.001103, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 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.9975/0.9975, allocations: 177 MB / 205.2 MB, free: 5.051 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.251/0.251, allocations: 34.86 MB / 296.6 MB, free: 448 kB / 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 1.423e-06/1.423e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.254e-05, allocations: 4.984 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009557/0.00958, allocations: 12.01 MB / 338 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007741/0.01732, allocations: 4.571 MB / 342.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.01913, allocations: 99.5 kB / 342.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.0233, allocations: 3.917 MB / 346.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.02754, allocations: 2.313 MB / 348.9 MB, free: 84 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.02915, allocations: 1.107 MB / 350 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006371/0.03552, allocations: 6.767 MB / 356.8 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004265/0.03978, allocations: 4.011 MB / 360.8 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0046/0.04438, allocations: 3.879 MB / 364.6 MB, free: 216 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/0.04781, allocations: 2.79 MB / 367.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008507/0.04866, allocations: 416 kB / 367.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.05062, allocations: 1.435 MB / 369.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.05255, allocations: 2.618 MB / 371.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00226/0.05481, allocations: 1.593 MB / 373.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005276/0.06008, allocations: 5.691 MB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.06009, allocations: 0 / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.06009, allocations: 0 / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001613/0.06025, allocations: 0 / 379.2 MB, free: 1.637 MB / 346.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.006661/0.06691, allocations: 5.622 MB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.06695, allocations: 8.031 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/0.0704, allocations: 1.296 MB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.07399, allocations: 2.603 MB / 388.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.07412, allocations: 275.5 kB / 389 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/0.07453, allocations: 388.1 kB / 389.4 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006851/0.08138, allocations: 5.792 MB / 395.1 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.08148, allocations: 51.56 kB / 395.2 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.08177, allocations: 179.8 kB / 395.4 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001593/0.08337, allocations: 1.889 MB / 397.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005582/0.08895, allocations: 2.859 MB / 400.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02975/0.1187, allocations: 36.61 MB / 436.7 MB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/0.1227, allocations: 1.685 MB / 438.4 MB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.1231, allocations: 369.2 kB / 438.8 MB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1581/0.2813, allocations: 3.783 MB / 442.6 MB, free: 110.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.2813, allocations: 48.98 kB / 442.6 MB, free: 110 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.949e-06/0.2813, allocations: 0 / 442.6 MB, free: 110 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01133/0.2927, allocations: 4.065 MB / 446.7 MB, free: 109.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.2927, allocations: 196.1 kB / 446.9 MB, free: 109.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/0.2964, allocations: 4.055 MB / 450.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.2965, allocations: 45.61 kB / 451 MB, free: 109.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.2977, allocations: 3.675 MB / 454.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/0.2981, allocations: 0.5704 MB / 455.2 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000874/0.299, allocations: 1.339 MB / 456.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.744e-05/0.299, allocations: 301.1 kB / 456.8 MB, free: 106.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.3001, allocations: 0.7973 MB / 457.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.3022, allocations: 5.223 MB / 462.9 MB, free: 100.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003664/0.3059, allocations: 6.637 MB / 469.5 MB, free: 93.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.69e-05/0.306, allocations: 44 kB / 469.5 MB, free: 93.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.005256/0.3112, allocations: 4.749 MB / 474.3 MB, free: 89.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.3113, allocations: 75.75 kB / 474.4 MB, free: 89.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/0.3114, allocations: 163.5 kB / 474.5 MB, free: 89.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.3118, allocations: 285.4 kB / 474.8 MB, free: 89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.3142, allocations: 1.637 MB / 476.4 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.3157, allocations: 2.732 MB / 479.2 MB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.3189, allocations: 313 kB / 479.5 MB, free: 84.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/0.3192, allocations: 380 kB / 479.9 MB, free: 84.02 MB / 410.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.001195/0.3204, allocations: 0.7088 MB / 480.6 MB, free: 83.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.3207, allocations: 236.4 kB / 480.8 MB, free: 83.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.3214, allocations: 0.6754 MB / 481.5 MB, free: 82.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.3214, allocations: 16 kB / 481.5 MB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3214, allocations: 0 / 481.5 MB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3214, allocations: 3.984 kB / 481.5 MB, free: 82.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.3252, allocations: 3.872 MB / 485.4 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.3252, allocations: 8 kB / 485.4 MB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.3257, allocations: 216.2 kB / 485.6 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.3261, allocations: 304.4 kB / 485.9 MB, free: 77.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.3261, allocations: 35.97 kB / 485.9 MB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007979/0.3269, allocations: 2.435 MB / 488.3 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3269, allocations: 8 kB / 488.4 MB, free: 75.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.328, allocations: 1.584 MB / 489.9 MB, free: 73.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.3284, allocations: 385.1 kB / 490.3 MB, free: 73.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.3286, allocations: 28.06 kB / 490.3 MB, free: 73.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.3292, allocations: 28 kB / 490.4 MB, free: 73.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.3293, allocations: 92.17 kB / 490.5 MB, free: 72.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.3293, allocations: 32 kB / 490.5 MB, free: 72.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.3304, allocations: 1.509 MB / 492 MB, free: 71.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3304, allocations: 0 / 492 MB, free: 71.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003584/0.3339, allocations: 1.113 MB / 493.1 MB, free: 70.26 MB / 410.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.000305/0.3342, allocations: 167.9 kB / 493.3 MB, free: 70.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002959/0.3372, allocations: 2.754 MB / 496 MB, free: 67.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001524/0.3374, allocations: 108.2 kB / 496.1 MB, free: 67.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.3378, allocations: 0.5237 MB / 496.7 MB, free: 66.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.3402, allocations: 0.7508 MB / 497.4 MB, free: 65.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00944/0.3496, allocations: 8.489 MB / 0.494 GB, free: 57.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009662/0.3506, allocations: 1.44 MB / 0.4954 GB, free: 55.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001402/0.352, allocations: 0.5697 MB / 0.496 GB, free: 55.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007585/0.3528, allocations: 0.6182 MB / 0.4966 GB, free: 54.67 MB / 410.7 MB Notification: Performance of SimCode: time 2.234e-06/0.3528, allocations: 0 / 0.4966 GB, free: 54.67 MB / 410.7 MB Notification: Performance of Templates: time 0.05331/0.4061, allocations: 30.81 MB / 0.5267 GB, free: 24.27 MB / 410.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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: 3.9778945022262633]