Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 173.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9968/0.9968, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2434/0.2434, allocations: 34.26 MB / 296.1 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.013e-05, allocations: 3.672 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01118/0.0112, allocations: 12.01 MB / 337.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00721/0.01841, allocations: 4.574 MB / 341.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008748/0.01928, allocations: 99.5 kB / 342 MB, free: 6.926 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004334/0.02362, allocations: 3.909 MB / 345.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.02701, allocations: 2.317 MB / 348.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.02862, allocations: 1.111 MB / 349.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006757/0.03538, allocations: 6.767 MB / 356.1 MB, free: 8.785 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004375/0.03975, allocations: 4.018 MB / 360.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004733/0.04449, allocations: 3.887 MB / 364 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003788/0.04828, allocations: 2.782 MB / 366.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000745/0.04902, allocations: 420 kB / 367.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.05125, allocations: 1.428 MB / 368.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.05336, allocations: 2.618 MB / 371.2 MB, free: 9.527 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.05525, allocations: 1.597 MB / 372.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00633/0.06158, allocations: 5.687 MB / 378.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.06158, allocations: 0 / 378.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.06158, allocations: 0 / 378.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001245/0.06171, allocations: 0 / 378.5 MB, free: 2.219 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.008588/0.0703, allocations: 5.628 MB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.07034, allocations: 8.031 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.07556, allocations: 1.296 MB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004393/0.07995, allocations: 2.603 MB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.08015, allocations: 279.5 kB / 388.3 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.08057, allocations: 376.1 kB / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005388/0.08596, allocations: 5.793 MB / 394.5 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.823e-05/0.08604, allocations: 55.52 kB / 394.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.08629, allocations: 179.8 kB / 394.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001352/0.08765, allocations: 1.893 MB / 396.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.09148, allocations: 2.855 MB / 399.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/0.1139, allocations: 36.6 MB / 436.1 MB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.1175, allocations: 1.695 MB / 437.8 MB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.1179, allocations: 361.1 kB / 438.1 MB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004522/0.1225, allocations: 3.791 MB / 441.9 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1225, allocations: 55.14 kB / 442 MB, free: 268 kB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.447e-06/0.1225, allocations: 3.984 kB / 442 MB, free: 264 kB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.1994/0.3219, allocations: 4.051 MB / 446 MB, free: 111.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.322, allocations: 199.2 kB / 446.2 MB, free: 111.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.3248, allocations: 4.053 MB / 450.3 MB, free: 110.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.3249, allocations: 42.64 kB / 450.3 MB, free: 110.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.3259, allocations: 3.668 MB / 454 MB, free: 108.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.3261, allocations: 0.572 MB / 454.5 MB, free: 108.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008222/0.3269, allocations: 1.348 MB / 455.9 MB, free: 108.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.099e-05/0.327, allocations: 304.2 kB / 456.2 MB, free: 107.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009922/0.328, allocations: 0.7973 MB / 457 MB, free: 107.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.33, allocations: 5.224 MB / 462.2 MB, free: 102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/0.3336, allocations: 6.637 MB / 468.8 MB, free: 94.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-05/0.3337, allocations: 47.39 kB / 468.9 MB, free: 94.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.004056/0.3377, allocations: 4.754 MB / 473.6 MB, free: 91.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.3378, allocations: 72 kB / 473.7 MB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.476e-05/0.3379, allocations: 164 kB / 473.9 MB, free: 90.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.3382, allocations: 281.2 kB / 474.1 MB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.3403, allocations: 1.637 MB / 475.8 MB, free: 88.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.3413, allocations: 2.732 MB / 478.5 MB, free: 86.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.3434, allocations: 312.8 kB / 478.8 MB, free: 85.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.3436, allocations: 384 kB / 479.2 MB, free: 85.53 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.0009953/0.3446, allocations: 0.7008 MB / 479.9 MB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.3448, allocations: 235.7 kB / 480.1 MB, free: 84.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006233/0.3455, allocations: 0.6793 MB / 480.8 MB, free: 83.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.3455, allocations: 16 kB / 480.8 MB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3455, allocations: 0 / 480.8 MB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3455, allocations: 7.922 kB / 480.8 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.3488, allocations: 3.873 MB / 484.7 MB, free: 79.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.3488, allocations: 8 kB / 484.7 MB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.3493, allocations: 206.4 kB / 484.9 MB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/0.3496, allocations: 316.6 kB / 485.2 MB, free: 79.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.3497, allocations: 24 kB / 485.2 MB, free: 79.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007458/0.3504, allocations: 2.425 MB / 487.7 MB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3504, allocations: 8 kB / 487.7 MB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3515, allocations: 1.595 MB / 489.3 MB, free: 74.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.3518, allocations: 377.2 kB / 489.6 MB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.352, allocations: 30.75 kB / 489.7 MB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.3525, allocations: 27.98 kB / 489.7 MB, free: 74.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.3526, allocations: 88.19 kB / 489.8 MB, free: 74.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.3527, allocations: 28 kB / 489.8 MB, free: 74.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009617/0.3536, allocations: 1.517 MB / 491.3 MB, free: 72.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3536, allocations: 3.938 kB / 491.3 MB, free: 72.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002553/0.3562, allocations: 1.121 MB / 492.5 MB, free: 71.76 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.0002556/0.3565, allocations: 147.4 kB / 492.6 MB, free: 71.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.3585, allocations: 2.763 MB / 495.4 MB, free: 68.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001364/0.3586, allocations: 116.3 kB / 495.5 MB, free: 68.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.359, allocations: 0.5162 MB / 496 MB, free: 68.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.3605, allocations: 0.753 MB / 496.7 MB, free: 67.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/0.3674, allocations: 8.49 MB / 0.4934 GB, free: 58.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008701/0.3682, allocations: 1.432 MB / 0.4948 GB, free: 57.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00103/0.3693, allocations: 0.5718 MB / 0.4953 GB, free: 56.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/0.3699, allocations: 0.6182 MB / 0.4959 GB, free: 56.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3699, allocations: 0 / 0.4959 GB, free: 56.16 MB / 410.7 MB Notification: Performance of Templates: time 0.05798/0.4279, allocations: 30.83 MB / 0.5261 GB, free: 25.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.14813870145008]