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.00159/0.00159, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001644/0.001644, allocations: 160.1 kB / 25.61 MB, free: 8.582 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.988/0.988, allocations: 177 MB / 205.9 MB, free: 4.461 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.1736/0.1736, allocations: 34.88 MB / 297.4 MB, free: 13.34 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 2.124e-06/2.124e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.875e-05/4.088e-05, allocations: 3.859 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.015/0.01504, allocations: 15.75 MB / 395.7 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.02589, allocations: 3.868 MB / 399.6 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004651/0.03054, allocations: 111.6 kB / 399.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006264/0.03681, allocations: 2.296 MB / 402 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009506/0.04631, allocations: 2.672 MB / 404.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.04793, allocations: 339.3 kB / 405 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0124/0.06032, allocations: 6.663 MB / 411.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006423/0.06675, allocations: 3.208 MB / 414.9 MB, free: 3.691 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006943/0.07369, allocations: 3.125 MB / 418 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.07904, allocations: 2.945 MB / 421 MB, free: 13.61 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001649/0.08068, allocations: 392 kB / 421.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.0833, allocations: 0.831 MB / 422.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003362/0.08666, allocations: 2.921 MB / 425.1 MB, free: 9.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00389/0.09055, allocations: 1.654 MB / 426.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009517/0.1001, allocations: 6.573 MB / 433.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.1001, allocations: 0 / 433.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1001, allocations: 0 / 433.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006338/0.1007, allocations: 0 / 433.3 MB, free: 1.199 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.01511/0.1158, allocations: 7.641 MB / 441 MB, free: 9.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.1159, allocations: 12.03 kB / 441 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00996/0.1258, allocations: 3.281 MB / 444.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00619/0.132, allocations: 2.828 MB / 447.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.1323, allocations: 324.3 kB / 447.4 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002203/0.1345, allocations: 420 kB / 447.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/0.1542, allocations: 8.564 MB / 456.4 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.1543, allocations: 39.61 kB / 456.4 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009016/0.1552, allocations: 203.7 kB / 456.6 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004578/0.1598, allocations: 4.165 MB / 460.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.1763, allocations: 4.597 MB / 465.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3019/0.4782, allocations: 58.78 MB / 0.5119 GB, free: 65.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007509/0.4857, allocations: 3.259 MB / 0.5151 GB, free: 65.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.487, allocations: 0.6526 MB / 0.5157 GB, free: 65.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.4982, allocations: 6.9 MB / 0.5224 GB, free: 64.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.4983, allocations: 64.3 kB / 0.5225 GB, free: 64.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 9.979e-06/0.4983, allocations: 0.75 kB / 0.5225 GB, free: 64.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.008361/0.5067, allocations: 3.956 MB / 0.5264 GB, free: 63.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.5067, allocations: 102.7 kB / 0.5265 GB, free: 63.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005674/0.5124, allocations: 4.857 MB / 0.5312 GB, free: 60.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004149/0.5128, allocations: 63.69 kB / 0.5313 GB, free: 60.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003329/0.5161, allocations: 5.554 MB / 0.5367 GB, free: 55.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/0.5176, allocations: 1.307 MB / 0.538 GB, free: 54.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/0.5196, allocations: 2.109 MB / 0.54 GB, free: 52.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.5197, allocations: 480.8 kB / 0.5405 GB, free: 51.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.5208, allocations: 0.7739 MB / 0.5412 GB, free: 51.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/0.5243, allocations: 8.899 MB / 0.5499 GB, free: 38.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008742/0.533, allocations: 10.85 MB / 0.5605 GB, free: 24.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002815/0.5333, allocations: 52 kB / 0.5606 GB, free: 24.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01401/0.5473, allocations: 7.184 MB / 0.5676 GB, free: 17.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.527e-05/0.5474, allocations: 88 kB / 0.5677 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/0.5476, allocations: 188 kB / 0.5679 GB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.5477, allocations: 252 kB / 0.5681 GB, free: 16.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/0.5521, allocations: 1.992 MB / 0.57 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002239/0.5523, allocations: 385.1 kB / 0.5704 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006372/0.5586, allocations: 1.206 MB / 0.5716 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/0.56, allocations: 500 kB / 0.5721 GB, free: 12.79 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.003711/0.5637, allocations: 0.8785 MB / 0.5729 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007062/0.5645, allocations: 0.5125 MB / 0.5734 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005546/0.565, allocations: 0.5066 MB / 0.5739 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/0.5651, allocations: 59.98 kB / 0.574 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.41e-05/0.5651, allocations: 0 / 0.574 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.5651, allocations: 15.91 kB / 0.574 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.5755, allocations: 6.353 MB / 0.5802 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.5755, allocations: 16 kB / 0.5802 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008983/0.5764, allocations: 347.4 kB / 0.5805 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-05/0.5764, allocations: 24 kB / 0.5806 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/0.5765, allocations: 56.66 kB / 0.5806 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.5765, allocations: 31.92 kB / 0.5806 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5765, allocations: 27.88 kB / 0.5807 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.5788, allocations: 2.527 MB / 0.5831 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006755/0.5795, allocations: 452.2 kB / 0.5836 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.5798, allocations: 55.98 kB / 0.5836 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000762/0.5806, allocations: 51.98 kB / 0.5837 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.5808, allocations: 180.7 kB / 0.5838 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.5809, allocations: 92.02 kB / 0.5839 GB, free: 15.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002289/0.5832, allocations: 1.804 MB / 0.5857 GB, free: 14.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5832, allocations: 0 / 0.5857 GB, free: 14.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008512/0.5917, allocations: 2.039 MB / 0.5877 GB, free: 12.12 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.0007284/0.5924, allocations: 206.7 kB / 0.5879 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008187/0.6006, allocations: 3.939 MB / 0.5917 GB, free: 8.008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/0.6006, allocations: 4 kB / 0.5917 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.6021, allocations: 0.8096 MB / 0.5925 GB, free: 7.191 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.6044, allocations: 442.1 kB / 0.5929 GB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/0.6319, allocations: 13.01 MB / 0.6057 GB, free: 9.387 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004387/0.6362, allocations: 2.168 MB / 0.6078 GB, free: 7.188 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00266/0.6389, allocations: 0.7709 MB / 0.6085 GB, free: 6.414 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.64, allocations: 0.7364 MB / 0.6092 GB, free: 5.676 MB / 442.7 MB Notification: Performance of SimCode: time 2.254e-06/0.64, allocations: 4 kB / 0.6092 GB, free: 5.672 MB / 442.7 MB Notification: Performance of Templates: time 0.06947/0.7095, allocations: 33.7 MB / 0.6422 GB, free: 4.559 MB / 474.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: 5.244112315122038]