Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.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.001569/0.001569, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002048/0.003617, allocations: 449.7 kB / 10.37 MB, free: 328 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.00136/0.00136, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001773/0.003132, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.205/1.205, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1455/1.351, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.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.3491/0.3491, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03186/0.3809, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.504e-05, allocations: 9.125 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01442/0.01445, allocations: 15.94 MB / 306.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.02448, allocations: 4.067 MB / 310.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002786/0.02726, allocations: 119.5 kB / 310.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.03053, allocations: 2.296 MB / 313 MB, free: 1.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.03555, allocations: 2.703 MB / 315.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.03623, allocations: 315.3 kB / 316 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00766/0.04389, allocations: 6.331 MB / 322.4 MB, free: 8.445 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004276/0.04817, allocations: 3.068 MB / 325.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.0528, allocations: 3.193 MB / 328.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.0553, allocations: 2.747 MB / 331.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004492/0.05575, allocations: 392 kB / 331.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.05708, allocations: 0.8504 MB / 332.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.05903, allocations: 2.649 MB / 335.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.0603, allocations: 1.374 MB / 336.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005173/0.06548, allocations: 6.266 MB / 342.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.857e-05/0.06549, allocations: 0 / 342.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.0655, allocations: 3.984 kB / 342.9 MB, free: 3.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001179/0.06562, allocations: 0 / 342.9 MB, free: 3.797 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.007471/0.07309, allocations: 7.927 MB / 350.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.07314, allocations: 8.031 kB / 350.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/0.07917, allocations: 2.517 MB / 353.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/0.08278, allocations: 2.518 MB / 355.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.08295, allocations: 320.3 kB / 356.2 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005107/0.08346, allocations: 420 kB / 356.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008791/0.09225, allocations: 8.007 MB / 364.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.37e-05/0.09232, allocations: 35.62 kB / 364.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003827/0.09271, allocations: 207.7 kB / 364.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004086/0.09679, allocations: 4.2 MB / 369 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008421/0.1052, allocations: 4.707 MB / 373.7 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0542/0.1594, allocations: 44.53 MB / 418.3 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008269/0.1677, allocations: 3.204 MB / 421.5 MB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.1687, allocations: 0.5536 MB / 422 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.1811, allocations: 6.305 MB / 428.3 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.1812, allocations: 56.56 kB / 428.4 MB, free: 11.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 6.021e-06/0.1812, allocations: 0 / 428.4 MB, free: 11.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.007208/0.1884, allocations: 3.345 MB / 431.7 MB, free: 8.316 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.1885, allocations: 103.1 kB / 431.8 MB, free: 8.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.1925, allocations: 3.814 MB / 435.7 MB, free: 4.359 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.1926, allocations: 69.69 kB / 435.7 MB, free: 4.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2559/0.4485, allocations: 5.094 MB / 440.8 MB, free: 125 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002566/0.451, allocations: 1.222 MB / 442 MB, free: 124.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003045/0.4541, allocations: 1.76 MB / 443.8 MB, free: 124.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.4541, allocations: 301.1 kB / 444.1 MB, free: 124.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.4555, allocations: 1.027 MB / 445.1 MB, free: 124 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/0.459, allocations: 6.197 MB / 451.3 MB, free: 117.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007276/0.4662, allocations: 8.286 MB / 459.6 MB, free: 109.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/0.4664, allocations: 55.19 kB / 459.7 MB, free: 109.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.008667/0.475, allocations: 6.018 MB / 465.7 MB, free: 108 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.4751, allocations: 88.81 kB / 465.8 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/0.4753, allocations: 191 kB / 465.9 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.4755, allocations: 254 kB / 466.2 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/0.4794, allocations: 2.214 MB / 468.4 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002445/0.4797, allocations: 381.2 kB / 468.8 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/0.4839, allocations: 1.202 MB / 470 MB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004812/0.4844, allocations: 487.9 kB / 470.5 MB, free: 105.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002978/0.4874, allocations: 0.8313 MB / 471.3 MB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.4878, allocations: 293.5 kB / 471.6 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.4884, allocations: 0.5118 MB / 472.1 MB, free: 104 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.155e-05/0.4884, allocations: 59.78 kB / 472.1 MB, free: 104 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.248e-05/0.4885, allocations: 0 / 472.1 MB, free: 104 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.4885, allocations: 11.62 kB / 472.2 MB, free: 104 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/0.4957, allocations: 5.506 MB / 477.7 MB, free: 99.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.4957, allocations: 16 kB / 477.7 MB, free: 99.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/0.4966, allocations: 389.1 kB / 478.1 MB, free: 99.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.497, allocations: 458.6 kB / 478.5 MB, free: 98.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.497, allocations: 24 kB / 478.5 MB, free: 98.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-05/0.4971, allocations: 57.91 kB / 478.6 MB, free: 98.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.742e-05/0.4971, allocations: 33.89 kB / 478.6 MB, free: 98.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/0.4971, allocations: 20.34 kB / 478.6 MB, free: 98.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.4987, allocations: 1.856 MB / 480.5 MB, free: 96.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.499, allocations: 59.14 kB / 480.6 MB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.4995, allocations: 55.92 kB / 480.6 MB, free: 96.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.4997, allocations: 181 kB / 480.8 MB, free: 96.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.4998, allocations: 74.95 kB / 480.9 MB, free: 96.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001232/0.5011, allocations: 1.486 MB / 482.3 MB, free: 95.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5011, allocations: 0 / 482.3 MB, free: 95.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005332/0.5064, allocations: 2.033 MB / 484.4 MB, free: 93.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003697/0.5068, allocations: 192.5 kB / 484.6 MB, free: 92.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004112/0.5109, allocations: 3.559 MB / 488.1 MB, free: 89.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002826/0.5112, allocations: 145.6 kB / 488.3 MB, free: 89.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.5119, allocations: 0.6853 MB / 489 MB, free: 88.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.5137, allocations: 0.691 MB / 489.6 MB, free: 87.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.5324, allocations: 13.64 MB / 0.4915 GB, free: 73.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.5342, allocations: 2.14 MB / 0.4936 GB, free: 71.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002259/0.5365, allocations: 0.7702 MB / 0.4943 GB, free: 71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009661/0.5374, allocations: 0.7102 MB / 0.495 GB, free: 70.29 MB / 426.7 MB Notification: Performance of SimCode: time 3.657e-06/0.5374, allocations: 0 / 0.495 GB, free: 70.29 MB / 426.7 MB Notification: Performance of Templates: time 0.06106/0.5985, allocations: 33.29 MB / 0.5275 GB, free: 37.42 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.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: 5.024655904620886]