Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009478/0.0009478, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0008857/0.0008857, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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.8534/0.8534, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.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.156/0.156, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.79e-05, allocations: 2.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.1579/0.158, allocations: 15.93 MB / 315.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007468/0.1654, allocations: 3.993 MB / 319.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008545/0.1663, allocations: 114.8 kB / 319.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.1684, allocations: 2.277 MB / 321.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.171, allocations: 2.685 MB / 324.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1714, allocations: 349.8 kB / 324.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.1748, allocations: 6.298 MB / 330.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.1769, allocations: 3.318 MB / 334.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.1789, allocations: 3.145 MB / 337.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.1809, allocations: 2.785 MB / 340 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.1812, allocations: 392 kB / 340.4 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.1821, allocations: 0.8467 MB / 341.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.1837, allocations: 2.968 MB / 344.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.1848, allocations: 1.697 MB / 345.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004545/0.1893, allocations: 6.678 MB / 352.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1893, allocations: 0 / 352.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1893, allocations: 0 / 352.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.49e-05/0.1894, allocations: 0 / 352.6 MB, free: 8.531 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.005443/0.1948, allocations: 6.653 MB / 359.2 MB, free: 1.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1949, allocations: 8.031 kB / 359.3 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006451/0.2013, allocations: 2.521 MB / 361.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.204, allocations: 2.533 MB / 364.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.2042, allocations: 320.8 kB / 364.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/0.2047, allocations: 420 kB / 365 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007531/0.2122, allocations: 8.003 MB / 373 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.299e-05/0.2123, allocations: 39.62 kB / 373.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/0.2127, allocations: 213.3 kB / 373.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003505/0.2162, allocations: 4.165 MB / 377.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/0.2247, allocations: 4.701 MB / 382.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03963/0.2644, allocations: 44.56 MB / 426.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.2702, allocations: 3.285 MB / 430 MB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007942/0.271, allocations: 0.5473 MB / 430.5 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008779/0.2798, allocations: 6.448 MB / 437 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.2798, allocations: 64.5 kB / 437 MB, free: 1.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=321): time 4.058e-06/0.2798, allocations: 0 / 437 MB, free: 1.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=321): time 0.007175/0.287, allocations: 3.444 MB / 440.5 MB, free: 14.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.2871, allocations: 107.1 kB / 440.6 MB, free: 13.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.2901, allocations: 3.818 MB / 444.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.2902, allocations: 65.64 kB / 444.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.2924, allocations: 5.103 MB / 449.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006951/0.2931, allocations: 1.221 MB / 450.8 MB, free: 3.633 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.2946, allocations: 1.76 MB / 452.6 MB, free: 1.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.2947, allocations: 305.1 kB / 452.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.2958, allocations: 1.024 MB / 453.9 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1614/0.4571, allocations: 6.187 MB / 460.1 MB, free: 113.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008275/0.4654, allocations: 8.299 MB / 468.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/0.4656, allocations: 59.19 kB / 468.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.009415/0.475, allocations: 6.001 MB / 474.4 MB, free: 104.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.833e-05/0.4751, allocations: 91.36 kB / 474.5 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/0.4752, allocations: 189.4 kB / 474.7 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.4755, allocations: 254 kB / 475 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003672/0.4791, allocations: 2.08 MB / 477 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002438/0.4794, allocations: 377.8 kB / 477.4 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/0.4832, allocations: 1.196 MB / 478.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005023/0.4837, allocations: 494 kB / 479.1 MB, free: 104.5 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.002201/0.4859, allocations: 0.8349 MB / 479.9 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.4863, allocations: 294.8 kB / 480.2 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.4867, allocations: 0.5092 MB / 480.7 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.006e-05/0.4868, allocations: 53.08 kB / 480.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.4868, allocations: 3.531 kB / 480.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4868, allocations: 16.88 kB / 480.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/0.4933, allocations: 5.529 MB / 486.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.4933, allocations: 19.06 kB / 486.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/0.4942, allocations: 365.4 kB / 486.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.4942, allocations: 25.86 kB / 486.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/0.4943, allocations: 54.16 kB / 486.8 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.862e-05/0.4943, allocations: 29.78 kB / 486.8 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.4944, allocations: 28.59 kB / 486.8 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.4959, allocations: 1.851 MB / 488.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.4964, allocations: 455.2 kB / 489.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.4967, allocations: 57.2 kB / 489.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/0.4973, allocations: 51.36 kB / 489.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.4975, allocations: 177 kB / 489.4 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.4976, allocations: 82.94 kB / 489.5 MB, free: 101.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.4987, allocations: 1.491 MB / 491 MB, free: 99.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4987, allocations: 0 / 491 MB, free: 99.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005213/0.5039, allocations: 2.071 MB / 493 MB, free: 98.09 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.0003319/0.5042, allocations: 184.5 kB / 493.2 MB, free: 97.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003823/0.508, allocations: 3.571 MB / 496.8 MB, free: 94.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001646/0.5082, allocations: 120.4 kB / 496.9 MB, free: 94.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.5088, allocations: 0.6847 MB / 497.6 MB, free: 94.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.51, allocations: 437.1 kB / 498 MB, free: 93.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.5225, allocations: 13.32 MB / 0.4994 GB, free: 80.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.5239, allocations: 2.136 MB / 0.5014 GB, free: 78.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00165/0.5255, allocations: 0.7697 MB / 0.5022 GB, free: 77.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008874/0.5264, allocations: 0.7102 MB / 0.5029 GB, free: 77.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5264, allocations: 0 / 0.5029 GB, free: 77.27 MB / 410.7 MB Notification: Performance of Templates: time 0.05124/0.5776, allocations: 32.85 MB / 0.535 GB, free: 44.53 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.209645297843963]