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.00128/0.00128, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002007/0.003286, allocations: 449.8 kB / 10.44 MB, free: 252 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.001297/0.001297, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001936/0.003233, allocations: 479.5 kB / 11.83 MB, free: 2.344 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 1.049/1.049, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.11/1.159, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.3556/0.3556, allocations: 34.24 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02936/0.3849, allocations: 13.11 MB / 291.5 MB, free: 7.348 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.733e-06/1.733e-06, allocations: 0 / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.149e-05, allocations: 2.969 kB / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.009465/0.009497, allocations: 10.81 MB / 303.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.01609, allocations: 2.912 MB / 306.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.01808, allocations: 63.81 kB / 306.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.0203, allocations: 1.381 MB / 308 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.02419, allocations: 1.338 MB / 309.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008686/0.02506, allocations: 79.78 kB / 309.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.029, allocations: 2.828 MB / 312.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.03114, allocations: 1.601 MB / 313.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.03361, allocations: 1.624 MB / 315.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.03599, allocations: 1.449 MB / 316.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000576/0.03656, allocations: 208 kB / 317.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009477/0.03751, allocations: 479.3 kB / 317.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.03852, allocations: 1.375 MB / 319 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009362/0.03946, allocations: 0.7238 MB / 319.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.04281, allocations: 3.232 MB / 322.9 MB, free: 7.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.04282, allocations: 3.984 kB / 322.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.04282, allocations: 0 / 322.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002143/0.04304, allocations: 0 / 322.9 MB, free: 7.992 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.005531/0.04857, allocations: 4.127 MB / 327 MB, free: 3.816 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.04861, allocations: 8.031 kB / 327 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.0522, allocations: 1.391 MB / 328.4 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.05399, allocations: 1.149 MB / 329.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.734e-05/0.05409, allocations: 176.6 kB / 329.8 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.05437, allocations: 224.2 kB / 330 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005698/0.06006, allocations: 4.169 MB / 334.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/0.06011, allocations: 31.69 kB / 334.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.06032, allocations: 111.8 kB / 334.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/0.06232, allocations: 2.018 MB / 336.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005633/0.06795, allocations: 2.298 MB / 338.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.09404, allocations: 23.04 MB / 361.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.09624, allocations: 1.06 MB / 362.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.09653, allocations: 199.7 kB / 362.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.09658, allocations: 17 kB / 362.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.09661, allocations: 47.56 kB / 363 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=148): time 3.226e-06/0.09662, allocations: 0 / 363 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=148): time 0.003014/0.09963, allocations: 1.347 MB / 364.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.09968, allocations: 64.34 kB / 364.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.1018, allocations: 2.002 MB / 366.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.1018, allocations: 45.69 kB / 366.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.1031, allocations: 2.728 MB / 369.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.1035, allocations: 0.5736 MB / 369.7 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006961/0.1042, allocations: 0.9059 MB / 370.6 MB, free: 6.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1043, allocations: 349.8 kB / 371 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.1048, allocations: 0.5003 MB / 371.5 MB, free: 5.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.107, allocations: 3.291 MB / 374.8 MB, free: 1.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/0.1109, allocations: 4.75 MB / 379.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.853e-05/0.1109, allocations: 32 kB / 379.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.003853/0.1148, allocations: 3.166 MB / 382.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.1148, allocations: 48 kB / 382.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.1149, allocations: 124.1 kB / 382.9 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.911e-05/0.115, allocations: 136 kB / 383 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.1169, allocations: 1.146 MB / 384.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001212/0.117, allocations: 203.2 kB / 384.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/0.1203, allocations: 0.6203 MB / 385 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/0.1207, allocations: 259.9 kB / 385.2 MB, free: 5.219 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.001598/0.1223, allocations: 0.5006 MB / 385.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.1225, allocations: 143.9 kB / 385.9 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.1228, allocations: 247.6 kB / 386.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/0.1228, allocations: 12 kB / 386.1 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1229, allocations: 0 / 386.1 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.1229, allocations: 3.984 kB / 386.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/0.1282, allocations: 3.046 MB / 389.2 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.1282, allocations: 19.98 kB / 389.2 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.1287, allocations: 171.8 kB / 389.4 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.1291, allocations: 230.1 kB / 389.6 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.1291, allocations: 8 kB / 389.6 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.1292, allocations: 27.98 kB / 389.6 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.1292, allocations: 15.94 kB / 389.6 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.1292, allocations: 11.94 kB / 389.6 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.1302, allocations: 0.9953 MB / 390.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.1304, allocations: 27.98 kB / 390.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.1308, allocations: 20 kB / 390.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.1309, allocations: 84.36 kB / 390.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.701e-05/0.131, allocations: 43.97 kB / 390.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008646/0.1319, allocations: 0.7588 MB / 391.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1319, allocations: 0 / 391.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003628/0.1355, allocations: 1.047 MB / 392.6 MB, free: 13.48 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.0004499/0.136, allocations: 144.1 kB / 392.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.139, allocations: 1.842 MB / 394.6 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001856/0.1392, allocations: 74.98 kB / 394.7 MB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.1408, allocations: 0.784 MB / 395.5 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.1427, allocations: 1.141 MB / 396.6 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.1536, allocations: 6.519 MB / 403.1 MB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.1547, allocations: 1.065 MB / 404.2 MB, free: 1.625 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001288/0.156, allocations: 342.5 kB / 404.5 MB, free: 1.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.1566, allocations: 339.3 kB / 404.8 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of SimCode: time 3.436e-06/0.1566, allocations: 0 / 404.8 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of Templates: time 0.03163/0.1882, allocations: 13.84 MB / 418.7 MB, free: 3.168 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.406426371075213]