Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.001023/0.001023, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001084/0.001084, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9497/0.9497, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 32.81 MB / 294.6 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.086e-05, allocations: 3.188 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.008695/0.008715, allocations: 10.67 MB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005689/0.0144, allocations: 2.888 MB / 336.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008983/0.0153, allocations: 63.81 kB / 336.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.01729, allocations: 1.42 MB / 338.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.01935, allocations: 1.326 MB / 339.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.01957, allocations: 79.78 kB / 339.7 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.02204, allocations: 2.817 MB / 342.5 MB, free: 6.375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.02381, allocations: 1.745 MB / 344.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.02553, allocations: 1.582 MB / 345.8 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.02722, allocations: 1.461 MB / 347.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003475/0.02757, allocations: 204 kB / 347.5 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.02828, allocations: 471.4 kB / 347.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.02933, allocations: 1.519 MB / 349.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.0301, allocations: 0.8638 MB / 350.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.03287, allocations: 3.4 MB / 353.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.03288, allocations: 0 / 353.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03288, allocations: 0 / 353.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.997e-05/0.03292, allocations: 0 / 353.7 MB, free: 11.07 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.003311/0.03623, allocations: 3.467 MB / 357.2 MB, free: 7.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.03626, allocations: 8.031 kB / 357.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/0.04067, allocations: 1.312 MB / 358.5 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.04223, allocations: 1.16 MB / 359.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.04235, allocations: 180.6 kB / 359.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/0.04271, allocations: 224.1 kB / 360 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004997/0.04771, allocations: 4.162 MB / 364.2 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-05/0.04776, allocations: 27.75 kB / 364.2 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.04805, allocations: 107.9 kB / 364.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/0.05063, allocations: 2.139 MB / 366.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004188/0.05481, allocations: 2.311 MB / 368.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.07511, allocations: 23.01 MB / 391.8 MB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.07743, allocations: 1.083 MB / 392.9 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.07768, allocations: 196.5 kB / 393.1 MB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.07772, allocations: 24.94 kB / 393.1 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.07775, allocations: 39.56 kB / 393.1 MB, free: 2.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=148): time 3.246e-06/0.07775, allocations: 0 / 393.1 MB, free: 2.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=148): time 0.002672/0.08042, allocations: 1.378 MB / 394.5 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.08045, allocations: 64.41 kB / 394.6 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.08176, allocations: 2.01 MB / 396.6 MB, free: 14.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.08181, allocations: 45.64 kB / 396.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.083, allocations: 2.725 MB / 399.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.08326, allocations: 0.5775 MB / 399.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006527/0.08391, allocations: 0.9059 MB / 400.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.08401, allocations: 349.8 kB / 401.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.08452, allocations: 0.5081 MB / 401.7 MB, free: 9.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.08621, allocations: 3.287 MB / 405 MB, free: 4.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.0889, allocations: 4.413 MB / 409.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/0.08893, allocations: 28 kB / 409.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.002888/0.09182, allocations: 3.166 MB / 412.6 MB, free: 11.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.09186, allocations: 52.91 kB / 412.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.698e-05/0.09192, allocations: 104 kB / 412.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.46e-05/0.09199, allocations: 139.9 kB / 412.9 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.09351, allocations: 1.037 MB / 413.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.78e-05/0.0936, allocations: 203.2 kB / 414.1 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.09495, allocations: 0.6165 MB / 414.7 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.09516, allocations: 260 kB / 415 MB, free: 9.34 MB / 394.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.000799/0.09596, allocations: 0.5006 MB / 415.5 MB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.0961, allocations: 139.8 kB / 415.6 MB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.09631, allocations: 255.6 kB / 415.9 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.09633, allocations: 16 kB / 415.9 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.09634, allocations: 0 / 415.9 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.09634, allocations: 3.984 kB / 415.9 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.09996, allocations: 3.049 MB / 418.9 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.09997, allocations: 8 kB / 418.9 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.1003, allocations: 156.7 kB / 419.1 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.1003, allocations: 12 kB / 419.1 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.1004, allocations: 28 kB / 419.1 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/0.1004, allocations: 15.88 kB / 419.2 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.1004, allocations: 11.98 kB / 419.2 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.1012, allocations: 0.9915 MB / 420.2 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.1014, allocations: 222.1 kB / 420.4 MB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.1015, allocations: 27.98 kB / 420.4 MB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.1018, allocations: 31.98 kB / 420.4 MB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.1019, allocations: 84.28 kB / 420.5 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.1019, allocations: 40 kB / 420.6 MB, free: 3.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005673/0.1025, allocations: 0.7588 MB / 421.3 MB, free: 2.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1025, allocations: 0 / 421.3 MB, free: 2.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002141/0.1046, allocations: 1.059 MB / 422.4 MB, free: 1.609 MB / 394.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.0002497/0.1049, allocations: 140.9 kB / 422.5 MB, free: 1.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.1066, allocations: 1.749 MB / 424.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001173/0.1067, allocations: 59.94 kB / 424.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.107, allocations: 276.4 kB / 424.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.1076, allocations: 218.2 kB / 424.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.1139, allocations: 6.64 MB / 431.4 MB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009749/0.1148, allocations: 1.069 MB / 432.5 MB, free: 7.281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007247/0.1156, allocations: 354.4 kB / 432.9 MB, free: 6.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/0.116, allocations: 355.3 kB / 433.2 MB, free: 6.582 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.116, allocations: 4 kB / 433.2 MB, free: 6.578 MB / 410.7 MB Notification: Performance of Templates: time 0.02675/0.1427, allocations: 15.5 MB / 448.7 MB, free: 7.27 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.635604040697217]