Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007219/0.0007219, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009463/0.001668, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006856/0.0006856, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008669/0.001552, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9737/0.9737, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09727/1.071, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 34.27 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02656/0.2684, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.893e-05, allocations: 3.078 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01903/0.01905, allocations: 10.8 MB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.03007, allocations: 2.924 MB / 306.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007824/0.03086, allocations: 63.81 kB / 306.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005095/0.03595, allocations: 1.378 MB / 307.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.03776, allocations: 1.334 MB / 309.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.03796, allocations: 71.84 kB / 309.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.04021, allocations: 2.843 MB / 312 MB, free: 2.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.04125, allocations: 1.601 MB / 313.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.04258, allocations: 1.624 MB / 315.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.04364, allocations: 1.449 MB / 316.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.04383, allocations: 208 kB / 316.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005145/0.04434, allocations: 479.4 kB / 317.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007272/0.04507, allocations: 1.375 MB / 318.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.04561, allocations: 0.7238 MB / 319.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.04788, allocations: 3.24 MB / 322.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.04789, allocations: 0 / 322.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.04789, allocations: 0 / 322.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.614e-05/0.04793, allocations: 0 / 322.7 MB, free: 8.055 MB / 314.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.002759/0.05069, allocations: 4.123 MB / 326.8 MB, free: 3.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.05071, allocations: 8.031 kB / 326.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.05372, allocations: 1.399 MB / 328.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.05504, allocations: 1.145 MB / 329.4 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.05513, allocations: 172.7 kB / 329.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.05539, allocations: 224.2 kB / 329.8 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/0.05871, allocations: 4.169 MB / 333.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.05875, allocations: 27.75 kB / 334 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.05893, allocations: 107.8 kB / 334.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.06087, allocations: 2.159 MB / 336.2 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.06369, allocations: 2.303 MB / 338.5 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.07874, allocations: 23.04 MB / 361.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.08043, allocations: 1.06 MB / 362.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.08067, allocations: 199.7 kB / 362.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.08071, allocations: 17 kB / 362.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.08073, allocations: 43.56 kB / 362.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=148): time 2.404e-06/0.08074, allocations: 0 / 362.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=148): time 0.002511/0.08325, allocations: 1.343 MB / 364.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.08328, allocations: 68.41 kB / 364.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.0845, allocations: 2.006 MB / 366.3 MB, free: 11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.08455, allocations: 41.7 kB / 366.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.08566, allocations: 2.736 MB / 369.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.08595, allocations: 0.5697 MB / 369.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.08658, allocations: 0.8982 MB / 370.5 MB, free: 6.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.08666, allocations: 361.8 kB / 370.9 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.08717, allocations: 0.4964 MB / 371.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.08887, allocations: 3.295 MB / 374.7 MB, free: 1.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/0.09174, allocations: 4.401 MB / 379.1 MB, free: 11.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-05/0.09177, allocations: 32 kB / 379.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.003022/0.09479, allocations: 3.17 MB / 382.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.09483, allocations: 52 kB / 382.3 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.606e-05/0.09489, allocations: 104.1 kB / 382.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.281e-05/0.09496, allocations: 136 kB / 382.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.09661, allocations: 1.15 MB / 383.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-05/0.0967, allocations: 199.2 kB / 383.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.09796, allocations: 0.6203 MB / 384.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.09816, allocations: 260 kB / 384.8 MB, free: 5.5 MB / 378.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.0006444/0.09881, allocations: 0.4967 MB / 385.3 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.09895, allocations: 151.7 kB / 385.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.0994, allocations: 247.6 kB / 385.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.09942, allocations: 16 kB / 385.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.09943, allocations: 0 / 385.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.09943, allocations: 3.984 kB / 385.7 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.1025, allocations: 3.034 MB / 388.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1025, allocations: 4.875 kB / 388.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.1028, allocations: 179.8 kB / 388.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.103, allocations: 226.1 kB / 389.1 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.103, allocations: 8 kB / 389.1 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.103, allocations: 31.98 kB / 389.2 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.1031, allocations: 11.94 kB / 389.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.1031, allocations: 11.94 kB / 389.2 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.1038, allocations: 0.9992 MB / 390.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.1039, allocations: 24 kB / 390.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.1041, allocations: 20 kB / 390.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.1042, allocations: 92.33 kB / 390.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.1043, allocations: 39.98 kB / 390.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.1048, allocations: 0.7588 MB / 391.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1048, allocations: 0 / 391.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001794/0.1066, allocations: 1.051 MB / 392.2 MB, free: 13.77 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.0002335/0.1068, allocations: 140.1 kB / 392.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.1085, allocations: 1.753 MB / 394.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.815e-05/0.1086, allocations: 75 kB / 394.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.1088, allocations: 279.3 kB / 394.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.1094, allocations: 353.9 kB / 394.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/0.1165, allocations: 6.814 MB / 401.6 MB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/0.1173, allocations: 1.069 MB / 402.6 MB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006786/0.118, allocations: 354.4 kB / 403 MB, free: 2.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.1184, allocations: 359.3 kB / 403.3 MB, free: 2.418 MB / 394.7 MB Notification: Performance of SimCode: time 1.843e-06/0.1184, allocations: 0 / 403.3 MB, free: 2.418 MB / 394.7 MB Notification: Performance of Templates: time 0.02665/0.1451, allocations: 15.7 MB / 419 MB, free: 2.906 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.3921220330521464]