Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009048/0.0009048, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001541/0.001541, allocations: 167.5 kB / 25.61 MB, free: 8.578 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.9318/0.9318, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1547/0.1547, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.835e-05, allocations: 6.141 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01006/0.01008, allocations: 11.96 MB / 389.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007229/0.0173, allocations: 4.366 MB / 393.6 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.01854, allocations: 107.4 kB / 393.7 MB, free: 9.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004459/0.023, allocations: 3.929 MB / 397.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.02654, allocations: 2.333 MB / 400 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.02808, allocations: 1.119 MB / 401.1 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006658/0.03474, allocations: 6.797 MB / 407.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004482/0.03922, allocations: 4.154 MB / 412 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004938/0.04416, allocations: 3.988 MB / 416 MB, free: 2.637 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.04809, allocations: 2.919 MB / 418.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007051/0.04879, allocations: 420 kB / 419.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.05081, allocations: 1.385 MB / 420.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.05295, allocations: 2.614 MB / 423.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.05479, allocations: 1.593 MB / 424.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005936/0.06073, allocations: 5.687 MB / 430.6 MB, free: 3.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.06073, allocations: 3.984 kB / 430.6 MB, free: 3.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.06074, allocations: 0 / 430.6 MB, free: 3.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.06084, allocations: 0 / 430.6 MB, free: 3.984 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.009593/0.07043, allocations: 6.299 MB / 436.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.07047, allocations: 11.98 kB / 436.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005666/0.07613, allocations: 2.112 MB / 439.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.08017, allocations: 2.772 MB / 441.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.08034, allocations: 279.5 kB / 442.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005746/0.08091, allocations: 380.1 kB / 442.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00795/0.08886, allocations: 6.492 MB / 449 MB, free: 364 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.08897, allocations: 55.55 kB / 449 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.08929, allocations: 183.8 kB / 449.2 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/0.0912, allocations: 1.889 MB / 451.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006246/0.09745, allocations: 2.802 MB / 453.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1929/0.2904, allocations: 51.15 MB / 0.4932 GB, free: 72.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.2944, allocations: 1.701 MB / 0.4949 GB, free: 72.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.2949, allocations: 446.7 kB / 0.4953 GB, free: 72.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004225/0.2991, allocations: 4.064 MB / 0.4993 GB, free: 71.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.2991, allocations: 56.5 kB / 0.4993 GB, free: 71.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.536e-06/0.2991, allocations: 0 / 0.4993 GB, free: 71.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.00984/0.309, allocations: 4.613 MB / 0.5038 GB, free: 70.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.309, allocations: 200.7 kB / 0.504 GB, free: 70.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.3119, allocations: 4.522 MB / 0.5084 GB, free: 69.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.312, allocations: 44.73 kB / 0.5085 GB, free: 69.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.3133, allocations: 4.205 MB / 0.5126 GB, free: 67.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.3136, allocations: 0.5951 MB / 0.5131 GB, free: 67.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.3146, allocations: 1.573 MB / 0.5147 GB, free: 66.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.47e-05/0.3146, allocations: 476.8 kB / 0.5151 GB, free: 65.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.3154, allocations: 0.5717 MB / 0.5157 GB, free: 65.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.3177, allocations: 7.397 MB / 0.5229 GB, free: 55.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/0.3217, allocations: 8.677 MB / 0.5314 GB, free: 44.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.285e-05/0.3218, allocations: 48 kB / 0.5314 GB, free: 44.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.005074/0.3269, allocations: 5.54 MB / 0.5369 GB, free: 38.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.3269, allocations: 72 kB / 0.5369 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.066e-05/0.327, allocations: 164 kB / 0.5371 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/0.3274, allocations: 283.6 kB / 0.5373 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.3295, allocations: 1.575 MB / 0.5389 GB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3307, allocations: 3.778 MB / 0.5426 GB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/0.3336, allocations: 315.8 kB / 0.5429 GB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.3339, allocations: 388 kB / 0.5432 GB, free: 31.82 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.0009801/0.3349, allocations: 0.7384 MB / 0.544 GB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.3352, allocations: 445.1 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/0.336, allocations: 0.7497 MB / 0.5451 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.336, allocations: 15.94 kB / 0.5451 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.336, allocations: 4 kB / 0.5451 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.336, allocations: 3.984 kB / 0.5451 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/0.3409, allocations: 4.634 MB / 0.5497 GB, free: 25.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3409, allocations: 8 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.3413, allocations: 190.6 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.3416, allocations: 91.61 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.3416, allocations: 27.98 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008645/0.3425, allocations: 3.473 MB / 0.5534 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3425, allocations: 11.94 kB / 0.5534 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3437, allocations: 1.909 MB / 0.5552 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.344, allocations: 397.1 kB / 0.5556 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.3443, allocations: 28 kB / 0.5556 GB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.3449, allocations: 26.94 kB / 0.5557 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.345, allocations: 96.11 kB / 0.5558 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.3451, allocations: 36 kB / 0.5558 GB, free: 18.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.3465, allocations: 1.822 MB / 0.5576 GB, free: 16.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3465, allocations: 4 kB / 0.5576 GB, free: 16.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003294/0.3498, allocations: 1.113 MB / 0.5587 GB, free: 15.45 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.000313/0.3501, allocations: 174.8 kB / 0.5588 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002633/0.3527, allocations: 3.068 MB / 0.5618 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3527, allocations: 384 / 0.5618 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.3531, allocations: 0.662 MB / 0.5625 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.3546, allocations: 0.5283 MB / 0.563 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008131/0.3627, allocations: 8.639 MB / 0.5714 GB, free: 2.184 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009858/0.3637, allocations: 1.447 MB / 0.5728 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001157/0.3649, allocations: 0.574 MB / 0.5734 GB, free: 148 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008067/0.3657, allocations: 0.6699 MB / 0.5741 GB, free: 15.47 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3657, allocations: 0 / 0.5741 GB, free: 15.47 MB / 426.7 MB Notification: Performance of Templates: time 0.05499/0.4207, allocations: 31.53 MB / 0.6048 GB, free: 0.5352 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.305696691852063]