Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00161/0.00161, 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.001987/0.001987, allocations: 171.8 kB / 24.91 MB, free: 9.148 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2963/0.2963, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.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.1.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.1.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.225e-05, allocations: 9.719 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01129/0.01131, allocations: 15.81 MB / 341.1 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007786/0.0191, allocations: 4.048 MB / 345.1 MB, free: 3.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.02127, allocations: 115.6 kB / 345.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.02412, allocations: 2.3 MB / 347.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004731/0.02886, allocations: 2.672 MB / 350.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.02948, allocations: 347.2 kB / 350.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006287/0.03577, allocations: 6.466 MB / 357 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.03903, allocations: 3.321 MB / 360.3 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/0.04257, allocations: 3.125 MB / 363.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003161/0.04573, allocations: 2.774 MB / 366.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005656/0.04629, allocations: 392 kB / 366.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.04755, allocations: 0.8466 MB / 367.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.04927, allocations: 2.913 MB / 370.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.05108, allocations: 1.657 MB / 372 MB, free: 8.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006089/0.05716, allocations: 6.57 MB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.05717, allocations: 7.938 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.05717, allocations: 0 / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002245/0.0574, allocations: 0 / 378.6 MB, free: 2.059 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.006146/0.06354, allocations: 6.577 MB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.06358, allocations: 12.03 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006416/0.07, allocations: 2.529 MB / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.07422, allocations: 2.521 MB / 390.3 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.07442, allocations: 324.2 kB / 390.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008518/0.07527, allocations: 420 kB / 391 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.08951, allocations: 8.01 MB / 399 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.896e-05/0.08961, allocations: 31.69 kB / 399 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006494/0.09026, allocations: 207.7 kB / 399.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003919/0.09418, allocations: 4.161 MB / 403.4 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.1068, allocations: 4.708 MB / 408.1 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2275/0.3344, allocations: 44.55 MB / 452.7 MB, free: 80.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006256/0.3406, allocations: 3.27 MB / 455.9 MB, free: 80.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008247/0.3414, allocations: 0.5564 MB / 456.5 MB, free: 80.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009298/0.3507, allocations: 6.451 MB / 462.9 MB, free: 79.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3508, allocations: 64.2 kB / 463 MB, free: 79.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 6.853e-06/0.3508, allocations: 0 / 463 MB, free: 79.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.007015/0.3578, allocations: 3.439 MB / 466.4 MB, free: 79.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3578, allocations: 103.1 kB / 466.5 MB, free: 78.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/0.3609, allocations: 3.82 MB / 470.4 MB, free: 78.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.3611, allocations: 68.25 kB / 470.4 MB, free: 78.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.3629, allocations: 5.108 MB / 475.5 MB, free: 74.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005938/0.3635, allocations: 1.221 MB / 476.8 MB, free: 73.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/0.3647, allocations: 1.754 MB / 478.5 MB, free: 72.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.3648, allocations: 301.1 kB / 478.8 MB, free: 71.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3659, allocations: 1.027 MB / 479.8 MB, free: 70.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.3681, allocations: 6.192 MB / 486 MB, free: 62.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/0.3731, allocations: 8.29 MB / 494.3 MB, free: 52.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/0.3732, allocations: 59.98 kB / 494.4 MB, free: 52 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.006731/0.38, allocations: 6.01 MB / 0.4886 GB, free: 46.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/0.3801, allocations: 89.88 kB / 0.4887 GB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/0.3802, allocations: 188.9 kB / 0.4889 GB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.3803, allocations: 255.9 kB / 0.4892 GB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.3837, allocations: 2.078 MB / 0.4912 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001299/0.3838, allocations: 374.5 kB / 0.4915 GB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/0.3874, allocations: 1.205 MB / 0.4927 GB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/0.3878, allocations: 488 kB / 0.4932 GB, free: 41.46 MB / 410.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.001974/0.3898, allocations: 0.8395 MB / 0.494 GB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.3902, allocations: 283.7 kB / 0.4943 GB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.3906, allocations: 0.5105 MB / 0.4948 GB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.763e-05/0.3906, allocations: 63.92 kB / 0.4948 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.3906, allocations: 2.25 kB / 0.4948 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3906, allocations: 11.95 kB / 0.4948 GB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.4006, allocations: 5.526 MB / 0.5002 GB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/0.4007, allocations: 15.72 kB / 0.5003 GB, free: 33.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.4021, allocations: 371.4 kB / 0.5006 GB, free: 33.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/0.4021, allocations: 24 kB / 0.5006 GB, free: 33.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.4023, allocations: 51.98 kB / 0.5007 GB, free: 33.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.359e-05/0.4023, allocations: 31.92 kB / 0.5007 GB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/0.4024, allocations: 27.81 kB / 0.5007 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.4048, allocations: 1.847 MB / 0.5025 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007843/0.4056, allocations: 452.1 kB / 0.503 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004874/0.4061, allocations: 55.98 kB / 0.503 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.4073, allocations: 47.98 kB / 0.5031 GB, free: 30.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.4076, allocations: 184.7 kB / 0.5033 GB, free: 30.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/0.4078, allocations: 87.91 kB / 0.5033 GB, free: 30.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002066/0.4099, allocations: 1.488 MB / 0.5048 GB, free: 29.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4099, allocations: 0 / 0.5048 GB, free: 29.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008992/0.4189, allocations: 2.028 MB / 0.5068 GB, free: 27.04 MB / 410.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.0005661/0.4194, allocations: 187.7 kB / 0.507 GB, free: 26.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007181/0.4266, allocations: 3.561 MB / 0.5104 GB, free: 23.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004242/0.427, allocations: 116.2 kB / 0.5105 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.4284, allocations: 0.6931 MB / 0.5112 GB, free: 22.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.4311, allocations: 423.6 kB / 0.5116 GB, free: 22.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/0.4562, allocations: 13.32 MB / 0.5246 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.4585, allocations: 2.137 MB / 0.5267 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002108/0.4606, allocations: 0.7706 MB / 0.5275 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009472/0.4616, allocations: 0.6985 MB / 0.5281 GB, free: 4.824 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.4616, allocations: 0 / 0.5281 GB, free: 4.824 MB / 410.7 MB Notification: Performance of Templates: time 0.0604/0.522, allocations: 32.87 MB / 0.5602 GB, free: 4.395 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.424586148001254]