Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001258/0.001258, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002417/0.003675, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.00138/0.00138, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001713/0.003093, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9098/0.9098, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.161/1.071, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.133/0.133, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03822/0.1713, allocations: 12.29 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.936e-05, allocations: 6.25 kB / 267.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009671/0.00969, allocations: 13.09 MB / 280.4 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.01673, allocations: 4.714 MB / 285.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.01794, allocations: 107.4 kB / 285.2 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003802/0.02174, allocations: 3.815 MB / 289 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004614/0.02635, allocations: 2.492 MB / 291.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.02795, allocations: 1.029 MB / 292.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006325/0.03428, allocations: 6.167 MB / 298.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/0.03853, allocations: 3.914 MB / 302.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.043, allocations: 3.771 MB / 306.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.0464, allocations: 2.993 MB / 309.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006596/0.04706, allocations: 452 kB / 309.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.04902, allocations: 1.482 MB / 311.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.05095, allocations: 2.537 MB / 313.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.05287, allocations: 1.41 MB / 315.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006959/0.05983, allocations: 5.706 MB / 320.9 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.888e-05/0.05985, allocations: 4 kB / 320.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.05985, allocations: 0 / 320.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002407/0.06009, allocations: 0 / 320.9 MB, free: 0.5391 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.008329/0.06842, allocations: 7.185 MB / 328.1 MB, free: 9.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.06845, allocations: 8.031 kB / 328.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/0.07182, allocations: 1.405 MB / 329.5 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.07539, allocations: 2.756 MB / 332.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.07555, allocations: 304 kB / 332.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004785/0.07602, allocations: 396.1 kB / 333 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1342/0.2102, allocations: 6.17 MB / 339.1 MB, free: 47.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002124/0.2104, allocations: 58.56 kB / 339.2 MB, free: 47.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000428/0.2109, allocations: 190.5 kB / 339.4 MB, free: 47.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001794/0.2127, allocations: 2.142 MB / 341.5 MB, free: 47.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006116/0.2188, allocations: 3.103 MB / 344.6 MB, free: 47.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.2476, allocations: 38.63 MB / 383.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.2513, allocations: 1.734 MB / 385 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.2519, allocations: 421.6 kB / 385.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00548/0.2574, allocations: 4.056 MB / 389.5 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2574, allocations: 54.81 kB / 389.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 3.567e-06/0.2574, allocations: 7.391 kB / 389.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.009582/0.267, allocations: 4.304 MB / 393.8 MB, free: 5.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.267, allocations: 145.5 kB / 394 MB, free: 5.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/0.27, allocations: 4.225 MB / 398.2 MB, free: 1.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.27, allocations: 49.39 kB / 398.2 MB, free: 1.863 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001661/0.2717, allocations: 3.918 MB / 402.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/0.2721, allocations: 0.667 MB / 402.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.2732, allocations: 1.418 MB / 404.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.2733, allocations: 309.3 kB / 404.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.2746, allocations: 0.8683 MB / 405.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/0.278, allocations: 5.448 MB / 410.9 MB, free: 2.871 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005526/0.2835, allocations: 6.96 MB / 417.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.57e-05/0.2836, allocations: 48 kB / 417.9 MB, free: 9.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.006371/0.29, allocations: 5.014 MB / 422.9 MB, free: 4.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.29, allocations: 78.5 kB / 423 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.2902, allocations: 168 kB / 423.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.2906, allocations: 292 kB / 423.4 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.2938, allocations: 1.876 MB / 425.3 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.2955, allocations: 2.741 MB / 428 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/0.2988, allocations: 331.6 kB / 428.4 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004516/0.2993, allocations: 392 kB / 428.7 MB, free: 14.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 760 * Number of states: 0 () * Number of discrete variables: 45 (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 (932): * Single equations (assignments): 925 * 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.001433/0.3007, allocations: 0.7361 MB / 429.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/0.3013, allocations: 255.7 kB / 429.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.3023, allocations: 0.8214 MB / 430.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.3024, allocations: 16 kB / 430.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3024, allocations: 7.938 kB / 430.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3024, allocations: 3.984 kB / 430.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.3093, allocations: 4.32 MB / 434.9 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.3093, allocations: 8 kB / 434.9 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006874/0.31, allocations: 276 kB / 435.2 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.311, allocations: 0.5048 MB / 435.7 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.3115, allocations: 316.9 kB / 436 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.3116, allocations: 32 kB / 436 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3127, allocations: 2.432 MB / 438.4 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.3127, allocations: 11.94 kB / 438.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.3143, allocations: 1.767 MB / 440.2 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/0.3148, allocations: 35.98 kB / 440.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.3155, allocations: 40.02 kB / 440.3 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3156, allocations: 108.2 kB / 440.4 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.3157, allocations: 39.98 kB / 440.4 MB, free: 2.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001721/0.3174, allocations: 1.58 MB / 442 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3174, allocations: 0 / 442 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003888/0.3213, allocations: 1.234 MB / 443.3 MB, free: 15.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (130): * Single equations (assignments): 125 * 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.0003534/0.3217, allocations: 175.9 kB / 443.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003825/0.3255, allocations: 2.951 MB / 446.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002279/0.3257, allocations: 126.7 kB / 446.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.3263, allocations: 0.5762 MB / 447.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.3293, allocations: 1.096 MB / 448.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.3442, allocations: 9.534 MB / 457.7 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.3456, allocations: 1.57 MB / 459.3 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001795/0.3474, allocations: 0.606 MB / 459.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00092/0.3483, allocations: 0.6495 MB / 460.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.454e-06/0.3483, allocations: 0 / 460.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of Templates: time 0.05064/0.3989, allocations: 34.3 MB / 494.8 MB, free: 11.67 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.123476433567703]