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.001054/0.001054, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002655, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001029/0.001029, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.002623, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9741/0.9741, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09461/1.069, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.2707/0.2707, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0283/0.299, allocations: 13.24 MB / 292.8 MB, free: 6.387 MB / 282.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.323e-06/1.323e-06, allocations: 0 / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.274e-05, allocations: 3.516 kB / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.03232/0.03235, allocations: 15.93 MB / 310 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.04452, allocations: 4.096 MB / 314.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004094/0.04861, allocations: 107.6 kB / 314.2 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005141/0.05376, allocations: 2.307 MB / 316.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008344/0.0621, allocations: 2.695 MB / 319.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.06336, allocations: 319.3 kB / 319.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008832/0.07219, allocations: 6.317 MB / 325.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003826/0.07602, allocations: 3.076 MB / 328.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.0806, allocations: 3.189 MB / 332.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.08435, allocations: 2.75 MB / 334.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.08542, allocations: 395.9 kB / 335.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.0871, allocations: 0.8505 MB / 336.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.08909, allocations: 2.641 MB / 338.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.09137, allocations: 1.378 MB / 340.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.09734, allocations: 6.262 MB / 346.4 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.09735, allocations: 0 / 346.4 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.09735, allocations: 0 / 346.4 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003261/0.09768, allocations: 0 / 346.4 MB, free: 0.5664 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.00803/0.1057, allocations: 7.921 MB / 354.3 MB, free: 8.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1057, allocations: 11.44 kB / 354.3 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/0.1118, allocations: 2.517 MB / 356.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.1153, allocations: 2.521 MB / 359.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.1154, allocations: 320.3 kB / 359.7 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005738/0.116, allocations: 420 kB / 360.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.1274, allocations: 8.015 MB / 368.1 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.76e-05/0.1274, allocations: 39.69 kB / 368.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004494/0.1279, allocations: 199.7 kB / 368.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003921/0.1318, allocations: 3.977 MB / 372.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.1424, allocations: 4.706 MB / 377 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0459/0.1883, allocations: 44.56 MB / 421.6 MB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005763/0.194, allocations: 3.22 MB / 424.8 MB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.1948, allocations: 0.5473 MB / 425.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009407/0.2042, allocations: 6.349 MB / 431.7 MB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2043, allocations: 64.5 kB / 431.7 MB, free: 8.598 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 4.748e-06/0.2043, allocations: 0 / 431.7 MB, free: 8.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.006832/0.2111, allocations: 3.35 MB / 435.1 MB, free: 5.215 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.2111, allocations: 99.11 kB / 435.2 MB, free: 5.094 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/0.2144, allocations: 3.818 MB / 439 MB, free: 1.258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.2146, allocations: 61.7 kB / 439.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1535/0.3681, allocations: 5.111 MB / 444.2 MB, free: 102.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001337/0.3694, allocations: 1.223 MB / 445.4 MB, free: 101.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.3711, allocations: 1.773 MB / 447.2 MB, free: 101.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.3712, allocations: 304.3 kB / 447.5 MB, free: 101 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.3724, allocations: 1.03 MB / 448.5 MB, free: 101 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.375, allocations: 6.374 MB / 454.9 MB, free: 93.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/0.3808, allocations: 9.123 MB / 464 MB, free: 86.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/0.3809, allocations: 56.56 kB / 464.1 MB, free: 86.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.00686/0.3878, allocations: 6.097 MB / 470.2 MB, free: 85.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/0.3878, allocations: 89.84 kB / 470.2 MB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001834/0.388, allocations: 211.4 kB / 470.4 MB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.3882, allocations: 263.4 kB / 470.7 MB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/0.3917, allocations: 2.292 MB / 473 MB, free: 85.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001537/0.3918, allocations: 390.2 kB / 473.4 MB, free: 85.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/0.3954, allocations: 1.22 MB / 474.6 MB, free: 84.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005309/0.3959, allocations: 490.3 kB / 475.1 MB, free: 84.61 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.002102/0.398, allocations: 0.8557 MB / 475.9 MB, free: 84.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.3984, allocations: 288.9 kB / 476.2 MB, free: 84.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.3989, allocations: 0.5121 MB / 476.7 MB, free: 84.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/0.3989, allocations: 44.31 kB / 476.8 MB, free: 84.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3989, allocations: 3.594 kB / 476.8 MB, free: 84.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.3989, allocations: 12.33 kB / 476.8 MB, free: 84.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00624/0.4052, allocations: 5.503 MB / 482.3 MB, free: 80.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.451e-05/0.4052, allocations: 35.55 kB / 482.3 MB, free: 80.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.4061, allocations: 395.4 kB / 482.7 MB, free: 80.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/0.4066, allocations: 450.8 kB / 483.1 MB, free: 79.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.4067, allocations: 20.66 kB / 483.2 MB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.4068, allocations: 69.5 kB / 483.2 MB, free: 79.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/0.4068, allocations: 31.5 kB / 483.3 MB, free: 79.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.4068, allocations: 23.88 kB / 483.3 MB, free: 79.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.4082, allocations: 1.841 MB / 485.1 MB, free: 78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.4085, allocations: 62 kB / 485.2 MB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.4092, allocations: 49.44 kB / 485.2 MB, free: 77.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.4094, allocations: 181.5 kB / 485.4 MB, free: 77.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.4095, allocations: 80.16 kB / 485.5 MB, free: 77.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001621/0.4111, allocations: 1.49 MB / 487 MB, free: 76.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4111, allocations: 0 / 487 MB, free: 76.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00538/0.4165, allocations: 2.048 MB / 489 MB, free: 74.79 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.0003668/0.4168, allocations: 183.2 kB / 489.2 MB, free: 74.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004651/0.4215, allocations: 3.794 MB / 493 MB, free: 71.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002515/0.4218, allocations: 144.1 kB / 493.1 MB, free: 71.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.4227, allocations: 0.8532 MB / 494 MB, free: 70.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.4248, allocations: 2.162 MB / 496.2 MB, free: 68.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.4397, allocations: 13.66 MB / 0.4979 GB, free: 55.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.4413, allocations: 2.125 MB / 0.4999 GB, free: 52.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001731/0.443, allocations: 0.7385 MB / 0.5007 GB, free: 52.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006523/0.4437, allocations: 0.6387 MB / 0.5013 GB, free: 51.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/0.4437, allocations: 0 / 0.5013 GB, free: 51.48 MB / 426.7 MB Notification: Performance of Templates: time 0.05454/0.4982, allocations: 30.13 MB / 0.5307 GB, free: 21.58 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7470388924703]