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.001155/0.001155, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002358/0.003513, allocations: 449.8 kB / 10.44 MB, free: 252 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.0011/0.0011, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002667, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1233/1.148, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.3084/0.3084, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02906/0.3374, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.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 2.013e-06/2.013e-06, allocations: 0 / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.595e-05, allocations: 3.406 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01608/0.01612, allocations: 15.94 MB / 308.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009272/0.02539, allocations: 4.072 MB / 312.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.02859, allocations: 111.6 kB / 313 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.03286, allocations: 2.311 MB / 315.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007079/0.03994, allocations: 2.695 MB / 318 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.04103, allocations: 315.3 kB / 318.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009067/0.05009, allocations: 6.318 MB / 324.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005659/0.05575, allocations: 3.068 MB / 327.7 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006938/0.06269, allocations: 3.193 MB / 330.8 MB, free: 16 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005255/0.06794, allocations: 2.754 MB / 333.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001722/0.06967, allocations: 395.9 kB / 334 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.07259, allocations: 0.8466 MB / 334.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003307/0.07589, allocations: 2.649 MB / 337.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.07919, allocations: 1.378 MB / 338.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008306/0.08749, allocations: 6.254 MB / 345.1 MB, free: 1.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.08751, allocations: 0 / 345.1 MB, free: 1.699 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.08751, allocations: 4 kB / 345.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003381/0.08785, allocations: 0 / 345.1 MB, free: 1.695 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.01352/0.1014, allocations: 7.925 MB / 353 MB, free: 9.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1014, allocations: 12.03 kB / 353.1 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.1137, allocations: 2.517 MB / 355.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006748/0.1204, allocations: 2.521 MB / 358.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.1207, allocations: 328.2 kB / 358.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/0.1225, allocations: 416 kB / 358.8 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.1476, allocations: 8.014 MB / 366.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.1478, allocations: 31.69 kB / 366.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/0.1491, allocations: 203.7 kB / 367.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004309/0.1534, allocations: 3.969 MB / 371 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.1682, allocations: 4.699 MB / 375.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05457/0.2228, allocations: 44.58 MB / 420.3 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/0.2296, allocations: 3.21 MB / 423.5 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.2306, allocations: 0.5473 MB / 424.1 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.2416, allocations: 6.344 MB / 430.4 MB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.2416, allocations: 60.56 kB / 430.5 MB, free: 9.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 7.184e-06/0.2416, allocations: 4 kB / 430.5 MB, free: 9.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.007639/0.2492, allocations: 3.342 MB / 433.8 MB, free: 6.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.2493, allocations: 107 kB / 433.9 MB, free: 6.227 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/0.2533, allocations: 3.818 MB / 437.7 MB, free: 2.387 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003464/0.2536, allocations: 69.69 kB / 437.8 MB, free: 2.312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.188/0.4416, allocations: 5.111 MB / 442.9 MB, free: 104 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001635/0.4433, allocations: 1.223 MB / 444.1 MB, free: 103.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002426/0.4457, allocations: 1.772 MB / 445.9 MB, free: 103.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.4457, allocations: 303.8 kB / 446.2 MB, free: 102.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.4474, allocations: 1.031 MB / 447.2 MB, free: 102.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003603/0.451, allocations: 6.369 MB / 453.6 MB, free: 95.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009464/0.4605, allocations: 9.125 MB / 462.7 MB, free: 88.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000375/0.4608, allocations: 55.53 kB / 462.8 MB, free: 88.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0131/0.4739, allocations: 6.097 MB / 468.9 MB, free: 87.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.474, allocations: 89.19 kB / 469 MB, free: 87.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002869/0.4743, allocations: 215.8 kB / 469.2 MB, free: 87.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.4745, allocations: 259.8 kB / 469.4 MB, free: 87.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005279/0.4798, allocations: 2.293 MB / 471.7 MB, free: 87.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002974/0.4801, allocations: 396.5 kB / 472.1 MB, free: 87.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00532/0.4854, allocations: 1.216 MB / 473.3 MB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/0.4868, allocations: 487.6 kB / 473.8 MB, free: 86.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1170): * Single equations (assignments): 1158 * 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 prepare postOptimizeDAE: time 0.004086/0.4909, allocations: 0.8506 MB / 474.7 MB, free: 85.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/0.4914, allocations: 297.3 kB / 475 MB, free: 85.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.4921, allocations: 0.5128 MB / 475.5 MB, free: 85.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.416e-05/0.4922, allocations: 42.84 kB / 475.5 MB, free: 85.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.4922, allocations: 0 / 475.5 MB, free: 85.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.4922, allocations: 12.09 kB / 475.5 MB, free: 85.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008972/0.5012, allocations: 5.507 MB / 481 MB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.5012, allocations: 32.19 kB / 481.1 MB, free: 82.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009635/0.5022, allocations: 398.3 kB / 481.4 MB, free: 82.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007539/0.503, allocations: 450.8 kB / 481.9 MB, free: 81.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.032e-05/0.503, allocations: 24 kB / 481.9 MB, free: 81.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.5031, allocations: 61.09 kB / 482 MB, free: 81.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/0.5031, allocations: 35.72 kB / 482 MB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.5031, allocations: 19.94 kB / 482 MB, free: 81.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.5047, allocations: 1.85 MB / 483.9 MB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005254/0.5053, allocations: 52.89 kB / 483.9 MB, free: 79.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000774/0.506, allocations: 52.03 kB / 484 MB, free: 79.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.5062, allocations: 180.7 kB / 484.2 MB, free: 79.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.5064, allocations: 83.58 kB / 484.2 MB, free: 79.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001423/0.5078, allocations: 1.488 MB / 485.7 MB, free: 78.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5078, allocations: 0 / 485.7 MB, free: 78.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006166/0.514, allocations: 2.045 MB / 487.8 MB, free: 76.67 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.0006176/0.5146, allocations: 188.2 kB / 488 MB, free: 76.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006343/0.5209, allocations: 3.802 MB / 491.8 MB, free: 73.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0005125/0.5214, allocations: 142.5 kB / 491.9 MB, free: 73.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.5228, allocations: 0.8545 MB / 492.7 MB, free: 72.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.5257, allocations: 2.155 MB / 494.9 MB, free: 70.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/0.548, allocations: 13.66 MB / 0.4966 GB, free: 57.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.5498, allocations: 2.117 MB / 0.4987 GB, free: 54.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002015/0.5518, allocations: 0.7383 MB / 0.4994 GB, free: 54.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007453/0.5526, allocations: 0.6385 MB / 0.5001 GB, free: 53.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5526, allocations: 0 / 0.5001 GB, free: 53.48 MB / 426.7 MB Notification: Performance of Templates: time 0.05879/0.6114, allocations: 30.14 MB / 0.5295 GB, free: 23.57 MB / 426.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2019153237342834]