Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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.001182/0.001182, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001219/0.001219, allocations: 164.5 kB / 25.61 MB, free: 8.852 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.9109/0.9109, allocations: 177 MB / 205.9 MB, free: 4.43 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.1542/0.1542, allocations: 34.88 MB / 297.4 MB, free: 13.32 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.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.[0-9,]+.|fixedTranslation.frame_b.f.[0-9,]+.|fixedTranslation.frame_b.t.[0-9,]+.|fixed1.frame_b.r_0.[0-9,]+.|fixed1.frame_b.f.[0-9,]+.|fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.[0-9,]+.|fixedTranslation.frame_b.f.[0-9,]+.|fixedTranslation.frame_b.t.[0-9,]+.|fixed1.frame_b.r_0.[0-9,]+.|fixed1.frame_b.f.[0-9,]+.|fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.554e-05, allocations: 2.312 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.007656/0.007682, allocations: 10.67 MB / 390.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.01196, allocations: 2.774 MB / 393.4 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009198/0.01288, allocations: 63.81 kB / 393.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.01434, allocations: 1.397 MB / 394.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.01583, allocations: 1.318 MB / 396.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.01602, allocations: 83.77 kB / 396.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.01773, allocations: 2.813 MB / 399.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.01882, allocations: 1.694 MB / 400.8 MB, free: 1.828 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.01993, allocations: 1.563 MB / 402.4 MB, free: 268 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.0215, allocations: 1.558 MB / 403.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005648/0.02206, allocations: 204 kB / 404.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.02297, allocations: 471.2 kB / 404.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.02406, allocations: 1.519 MB / 406.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.02528, allocations: 0.8677 MB / 407 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.02885, allocations: 3.396 MB / 410.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.02885, allocations: 0 / 410.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.02885, allocations: 3.938 kB / 410.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001641/0.02902, allocations: 4 kB / 410.4 MB, free: 8.223 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.004888/0.03391, allocations: 4.045 MB / 414.4 MB, free: 4.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.03394, allocations: 12.03 kB / 414.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.03806, allocations: 1.699 MB / 416.1 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.03988, allocations: 1.298 MB / 417.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.012e-05/0.03997, allocations: 184.6 kB / 417.6 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.04025, allocations: 224.2 kB / 417.8 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/0.04568, allocations: 4.49 MB / 422.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/0.04573, allocations: 23.75 kB / 422.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.04595, allocations: 103.8 kB / 422.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/0.04799, allocations: 2.143 MB / 424.6 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00454/0.05253, allocations: 2.296 MB / 426.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02565/0.07818, allocations: 30.88 MB / 457.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.08025, allocations: 1.031 MB / 458.8 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.08055, allocations: 224.2 kB / 459 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.0806, allocations: 21 kB / 459 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.08062, allocations: 46.94 kB / 459.1 MB, free: 5.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.727e-06/0.08063, allocations: 4 kB / 459.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=148): time 0.003183/0.08381, allocations: 1.681 MB / 460.8 MB, free: 4.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.08385, allocations: 64.39 kB / 460.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.08612, allocations: 2.513 MB / 463.3 MB, free: 1.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.08618, allocations: 45.69 kB / 463.4 MB, free: 1.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.08783, allocations: 2.956 MB / 466.3 MB, free: 14.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.08828, allocations: 0.6165 MB / 467 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008505/0.08913, allocations: 1.076 MB / 468 MB, free: 12.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.08928, allocations: 0.5235 MB / 468.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.0898, allocations: 385.2 kB / 468.9 MB, free: 11.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/0.09237, allocations: 4.738 MB / 473.7 MB, free: 5.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00414/0.09651, allocations: 5.725 MB / 479.4 MB, free: 13.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.84e-05/0.09659, allocations: 28 kB / 479.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.004714/0.1013, allocations: 3.714 MB / 483.1 MB, free: 9.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.1014, allocations: 48 kB / 483.2 MB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.211e-05/0.1014, allocations: 104 kB / 483.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.899e-05/0.1015, allocations: 136 kB / 483.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.1032, allocations: 1.033 MB / 484.5 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001027/0.1034, allocations: 203.2 kB / 484.7 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.1054, allocations: 0.6242 MB / 485.3 MB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/0.1057, allocations: 256 kB / 485.5 MB, free: 7.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * 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.001269/0.107, allocations: 0.5474 MB / 486.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.1073, allocations: 266.4 kB / 486.3 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1075, allocations: 243.6 kB / 486.6 MB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.1076, allocations: 20 kB / 486.6 MB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.1076, allocations: 0 / 486.6 MB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.1076, allocations: 3.984 kB / 486.6 MB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005414/0.113, allocations: 3.233 MB / 489.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.113, allocations: 12.03 kB / 489.8 MB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.1134, allocations: 155.8 kB / 490 MB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.1134, allocations: 12 kB / 490 MB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.1135, allocations: 28 kB / 490 MB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.1135, allocations: 11.98 kB / 490 MB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.1135, allocations: 11.94 kB / 490.1 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.1146, allocations: 1.241 MB / 491.3 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.1149, allocations: 226.1 kB / 491.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.1151, allocations: 27.98 kB / 491.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.1154, allocations: 27.94 kB / 491.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1155, allocations: 84.34 kB / 491.7 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.1156, allocations: 43.98 kB / 491.7 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008504/0.1164, allocations: 0.9692 MB / 492.7 MB, free: 15.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1164, allocations: 3.938 kB / 492.7 MB, free: 15.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003199/0.1196, allocations: 1.059 MB / 493.7 MB, free: 14.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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.0002935/0.1199, allocations: 154.8 kB / 493.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.1226, allocations: 1.924 MB / 495.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1226, allocations: 4.062 kB / 495.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.123, allocations: 339.5 kB / 496.1 MB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.1237, allocations: 215 kB / 496.3 MB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009007/0.1327, allocations: 6.426 MB / 0.491 GB, free: 5.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.1338, allocations: 1.084 MB / 0.492 GB, free: 4.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008686/0.1347, allocations: 358.4 kB / 0.4924 GB, free: 3.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.1351, allocations: 394.1 kB / 0.4928 GB, free: 3.598 MB / 426.7 MB Notification: Performance of SimCode: time 2.915e-06/0.1351, allocations: 0 / 0.4928 GB, free: 3.598 MB / 426.7 MB Notification: Performance of Templates: time 0.1768/0.3119, allocations: 15.87 MB / 0.5083 GB, free: 122.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.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: 3.9041068595834076]