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.00116/0.00116, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002769, allocations: 449.7 kB / 10.37 MB, free: 324 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.001079/0.001079, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002389, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9603/0.9603, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09197/1.052, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.2644/0.2644, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02683/0.2912, allocations: 13.23 MB / 292.6 MB, free: 6.457 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.382e-06/1.382e-06, allocations: 0 / 293.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.102e-05, allocations: 5.766 kB / 293.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01551/0.01553, allocations: 15.93 MB / 309.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009333/0.02486, allocations: 4.088 MB / 313.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.02744, allocations: 111.6 kB / 314 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.031, allocations: 2.3 MB / 316.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.03673, allocations: 2.707 MB / 319 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.0375, allocations: 315.3 kB / 319.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008289/0.04578, allocations: 6.318 MB / 325.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004884/0.05067, allocations: 3.064 MB / 328.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/0.05651, allocations: 3.189 MB / 331.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004621/0.06113, allocations: 2.766 MB / 334.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.06239, allocations: 388 kB / 335 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.06464, allocations: 0.8466 MB / 335.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003149/0.06779, allocations: 2.645 MB / 338.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.0707, allocations: 1.378 MB / 339.9 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007217/0.07792, allocations: 6.266 MB / 346.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634e-05/0.07794, allocations: 0 / 346.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.07794, allocations: 4 kB / 346.1 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002916/0.07823, allocations: 0 / 346.1 MB, free: 0.6523 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.008548/0.08678, allocations: 7.918 MB / 354.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.08681, allocations: 12.92 kB / 354.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/0.09316, allocations: 2.521 MB / 356.6 MB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.09707, allocations: 2.521 MB / 359.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.09726, allocations: 336.2 kB / 359.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007857/0.09805, allocations: 412 kB / 359.8 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.1107, allocations: 8.01 MB / 367.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.161e-05/0.1108, allocations: 35.69 kB / 367.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004781/0.1113, allocations: 199.7 kB / 368.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003759/0.115, allocations: 4.208 MB / 372.3 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.127, allocations: 4.693 MB / 377 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04921/0.1762, allocations: 44.53 MB / 421.5 MB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008243/0.1844, allocations: 3.225 MB / 424.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.1856, allocations: 0.5396 MB / 425.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.1977, allocations: 6.305 MB / 431.6 MB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.198, allocations: 60.55 kB / 431.6 MB, free: 8.543 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 6.863e-06/0.198, allocations: 8 kB / 431.7 MB, free: 8.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.009412/0.2074, allocations: 3.334 MB / 435 MB, free: 5.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2074, allocations: 99.11 kB / 435.1 MB, free: 5.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.2117, allocations: 3.825 MB / 438.9 MB, free: 1.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.2119, allocations: 61.7 kB / 439 MB, free: 1.137 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1456/0.3575, allocations: 5.102 MB / 444.1 MB, free: 120.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/0.3588, allocations: 1.222 MB / 445.3 MB, free: 119.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/0.3607, allocations: 1.755 MB / 447 MB, free: 119.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.148e-05/0.3607, allocations: 303.3 kB / 447.3 MB, free: 119.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.3619, allocations: 1.028 MB / 448.4 MB, free: 119.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.3643, allocations: 6.199 MB / 454.6 MB, free: 112.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005061/0.3694, allocations: 8.286 MB / 462.9 MB, free: 104.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/0.3695, allocations: 57.5 kB / 462.9 MB, free: 104.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.007473/0.377, allocations: 6.015 MB / 468.9 MB, free: 103.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.3771, allocations: 86.28 kB / 469 MB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/0.3773, allocations: 189.7 kB / 469.2 MB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.3775, allocations: 254.2 kB / 469.4 MB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/0.381, allocations: 2.219 MB / 471.7 MB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001345/0.3811, allocations: 373.1 kB / 472 MB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.3845, allocations: 1.206 MB / 473.2 MB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004768/0.385, allocations: 486.7 kB / 473.7 MB, free: 99.97 MB / 426.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.001939/0.3869, allocations: 0.8339 MB / 474.5 MB, free: 99.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.3873, allocations: 286.3 kB / 474.8 MB, free: 99.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.3877, allocations: 0.513 MB / 475.3 MB, free: 98.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/0.3877, allocations: 59.94 kB / 475.4 MB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.3877, allocations: 3.609 kB / 475.4 MB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3877, allocations: 11.31 kB / 475.4 MB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006143/0.3939, allocations: 5.501 MB / 480.9 MB, free: 93.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.3939, allocations: 14.12 kB / 480.9 MB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/0.3948, allocations: 398.1 kB / 481.3 MB, free: 93.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.3953, allocations: 454.1 kB / 481.8 MB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.3953, allocations: 20.66 kB / 481.8 MB, free: 93.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.3954, allocations: 66.92 kB / 481.8 MB, free: 92.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.3954, allocations: 34.89 kB / 481.9 MB, free: 92.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.3954, allocations: 21.95 kB / 481.9 MB, free: 92.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3968, allocations: 1.851 MB / 483.7 MB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/0.3971, allocations: 62.97 kB / 483.8 MB, free: 90.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.3977, allocations: 44 kB / 483.9 MB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.3979, allocations: 180.8 kB / 484 MB, free: 90.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.398, allocations: 87.91 kB / 484.1 MB, free: 90.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.3991, allocations: 1.484 MB / 485.6 MB, free: 89.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3991, allocations: 0 / 485.6 MB, free: 89.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00487/0.404, allocations: 2.028 MB / 487.6 MB, free: 87.23 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.0004603/0.4044, allocations: 195.7 kB / 487.8 MB, free: 87.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003731/0.4082, allocations: 3.552 MB / 491.4 MB, free: 83.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002144/0.4084, allocations: 140 kB / 491.5 MB, free: 83.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.409, allocations: 0.6852 MB / 492.2 MB, free: 82.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.4104, allocations: 0.7025 MB / 492.9 MB, free: 81.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.4265, allocations: 13.65 MB / 0.4947 GB, free: 68.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.4283, allocations: 2.14 MB / 0.4968 GB, free: 65.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001897/0.4302, allocations: 0.7664 MB / 0.4975 GB, free: 65.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/0.4311, allocations: 0.7024 MB / 0.4982 GB, free: 64.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.684e-06/0.4311, allocations: 0 / 0.4982 GB, free: 64.41 MB / 426.7 MB Notification: Performance of Templates: time 0.05328/0.4844, allocations: 33.3 MB / 0.5307 GB, free: 31.54 MB / 426.7 MB " [Timeout remaining time 660] 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.376391805708408]