Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000959/0.000959, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 160.6 kB / 24.91 MB, free: 8.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.965/0.965, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2454/0.2454, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.94e-05, allocations: 2.312 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01464/0.01466, allocations: 15.76 MB / 341.7 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008331/0.02299, allocations: 4.053 MB / 345.7 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.02458, allocations: 111.6 kB / 345.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.02703, allocations: 2.323 MB / 348.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.03043, allocations: 2.687 MB / 350.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.03104, allocations: 339.3 kB / 351.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005822/0.03686, allocations: 6.473 MB / 357.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.03999, allocations: 3.321 MB / 361 MB, free: 3.949 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.04336, allocations: 3.118 MB / 364.1 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/0.04647, allocations: 2.782 MB / 366.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006063/0.04708, allocations: 392 kB / 367.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.0486, allocations: 0.831 MB / 368.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001949/0.05055, allocations: 2.921 MB / 371 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.05226, allocations: 1.654 MB / 372.6 MB, free: 8.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006283/0.05855, allocations: 6.566 MB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.05855, allocations: 0 / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.05855, allocations: 0 / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001796/0.05873, allocations: 0 / 379.2 MB, free: 1.637 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.007949/0.06668, allocations: 6.589 MB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.06672, allocations: 8.031 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008693/0.07542, allocations: 2.529 MB / 388.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/0.07993, allocations: 2.521 MB / 390.9 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.08015, allocations: 324.3 kB / 391.2 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007232/0.08087, allocations: 416 kB / 391.6 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.09351, allocations: 8.018 MB / 399.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.324e-05/0.09359, allocations: 35.69 kB / 399.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005287/0.09412, allocations: 211.6 kB / 399.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005192/0.09932, allocations: 4.157 MB / 404 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.11, allocations: 4.707 MB / 408.7 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2564/0.3664, allocations: 44.55 MB / 453.3 MB, free: 81.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005636/0.372, allocations: 3.268 MB / 456.5 MB, free: 81.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/0.3728, allocations: 0.5601 MB / 457.1 MB, free: 81.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008078/0.3808, allocations: 6.447 MB / 463.5 MB, free: 80.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3809, allocations: 59.5 kB / 463.6 MB, free: 80.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 5.24e-06/0.3809, allocations: 0 / 463.6 MB, free: 80.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.0066/0.3875, allocations: 3.434 MB / 467 MB, free: 79.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3875, allocations: 100.5 kB / 467.1 MB, free: 79.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.3899, allocations: 3.824 MB / 471 MB, free: 78.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.39, allocations: 64.28 kB / 471 MB, free: 78.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.3913, allocations: 5.113 MB / 476.1 MB, free: 74.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004747/0.3918, allocations: 1.219 MB / 477.3 MB, free: 73.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.393, allocations: 1.755 MB / 479.1 MB, free: 72.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.945e-05/0.393, allocations: 301.1 kB / 479.4 MB, free: 72.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.394, allocations: 1.03 MB / 480.4 MB, free: 71.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.3964, allocations: 6.192 MB / 486.6 MB, free: 62.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004524/0.401, allocations: 8.293 MB / 494.9 MB, free: 52.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.021e-05/0.401, allocations: 52 kB / 495 MB, free: 52.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.005222/0.4062, allocations: 6.022 MB / 0.4892 GB, free: 46.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.4063, allocations: 88 kB / 0.4893 GB, free: 46.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.377e-05/0.4064, allocations: 195.2 kB / 0.4895 GB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.4065, allocations: 256 kB / 0.4898 GB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.4093, allocations: 1.985 MB / 0.4917 GB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000129/0.4095, allocations: 378.5 kB / 0.4921 GB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/0.4121, allocations: 1.204 MB / 0.4932 GB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/0.4125, allocations: 492.1 kB / 0.4937 GB, free: 41.88 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.001705/0.4142, allocations: 0.8317 MB / 0.4945 GB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.4144, allocations: 287.7 kB / 0.4948 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.4148, allocations: 0.5066 MB / 0.4953 GB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/0.4149, allocations: 59.97 kB / 0.4953 GB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.4149, allocations: 4.766 kB / 0.4953 GB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4149, allocations: 15.89 kB / 0.4954 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/0.4213, allocations: 5.522 MB / 0.5008 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.4213, allocations: 14 kB / 0.5008 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.422, allocations: 351.4 kB / 0.5011 GB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.4221, allocations: 24 kB / 0.5011 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/0.4221, allocations: 55.98 kB / 0.5012 GB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.4222, allocations: 27.55 kB / 0.5012 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.4222, allocations: 24.41 kB / 0.5012 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.4235, allocations: 1.855 MB / 0.503 GB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.4238, allocations: 460.1 kB / 0.5035 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.424, allocations: 55.98 kB / 0.5035 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.4246, allocations: 51.98 kB / 0.5036 GB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.4248, allocations: 180.7 kB / 0.5038 GB, free: 31.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.747e-05/0.4249, allocations: 79.97 kB / 0.5038 GB, free: 31.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009222/0.4258, allocations: 1.484 MB / 0.5053 GB, free: 29.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4258, allocations: 0 / 0.5053 GB, free: 29.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003873/0.4297, allocations: 2.04 MB / 0.5073 GB, free: 27.49 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.0002968/0.43, allocations: 183.8 kB / 0.5074 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.4328, allocations: 3.55 MB / 0.5109 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001513/0.433, allocations: 116.2 kB / 0.511 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.4336, allocations: 0.695 MB / 0.5117 GB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4347, allocations: 442 kB / 0.5121 GB, free: 22.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.4456, allocations: 13.31 MB / 0.5251 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.447, allocations: 2.133 MB / 0.5272 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0016/0.4486, allocations: 0.7722 MB / 0.528 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008417/0.4494, allocations: 0.6985 MB / 0.5286 GB, free: 5.297 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4494, allocations: 0 / 0.5286 GB, free: 5.297 MB / 410.7 MB Notification: Performance of Templates: time 0.05406/0.5035, allocations: 32.86 MB / 0.5607 GB, free: 4.875 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.27225091913715]