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.001413/0.001413, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001944/0.003357, 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.001224/0.001224, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002836, 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 1.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1157/1.173, 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.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.3567/0.3567, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02613/0.3829, allocations: 12.53 MB / 289.3 MB, free: 8.688 MB / 282.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 3.236e-06/3.236e-06, allocations: 3.984 kB / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.802e-05, allocations: 3.844 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.009642/0.009671, allocations: 10.8 MB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.0157, allocations: 2.915 MB / 304.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.01765, allocations: 67.75 kB / 304.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.01995, allocations: 1.381 MB / 305.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.02311, allocations: 1.338 MB / 307.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.02348, allocations: 75.78 kB / 307.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003535/0.02701, allocations: 2.831 MB / 310 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.02973, allocations: 1.597 MB / 311.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.03312, allocations: 1.628 MB / 313.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.03556, allocations: 1.453 MB / 314.7 MB, free: 116 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000835/0.0364, allocations: 204 kB / 314.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.03773, allocations: 479.3 kB / 315.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.03909, allocations: 1.379 MB / 316.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.04054, allocations: 0.72 MB / 317.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.04464, allocations: 3.236 MB / 320.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.948e-05/0.04466, allocations: 0 / 320.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.04467, allocations: 0 / 320.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001452/0.04481, allocations: 4 kB / 320.7 MB, free: 10.09 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.00598/0.05079, allocations: 4.122 MB / 324.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.05084, allocations: 8.031 kB / 324.8 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/0.05469, allocations: 1.395 MB / 326.2 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.05708, allocations: 1.145 MB / 327.4 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.0572, allocations: 180.6 kB / 327.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/0.05755, allocations: 224.2 kB / 327.7 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/0.06365, allocations: 4.165 MB / 331.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.06369, allocations: 27.73 kB / 331.9 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.06391, allocations: 111.8 kB / 332.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002257/0.06616, allocations: 2.151 MB / 334.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006433/0.07259, allocations: 2.308 MB / 336.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02743/0.1, allocations: 23.03 MB / 359.5 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.1023, allocations: 1.065 MB / 360.6 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.1027, allocations: 196.5 kB / 360.8 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.1027, allocations: 17 kB / 360.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1028, allocations: 51.5 kB / 360.9 MB, free: 0.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=148): time 4.138e-06/0.1028, allocations: 0 / 360.9 MB, free: 0.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=148): time 0.003403/0.1062, allocations: 1.343 MB / 362.2 MB, free: 15.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1062, allocations: 64.41 kB / 362.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.1081, allocations: 2.002 MB / 364.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.1082, allocations: 41.7 kB / 364.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.1096, allocations: 2.732 MB / 367 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.11, allocations: 0.5775 MB / 367.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007097/0.1107, allocations: 0.8942 MB / 368.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1108, allocations: 361.8 kB / 368.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.1114, allocations: 0.5042 MB / 369.4 MB, free: 7.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.1132, allocations: 3.291 MB / 372.7 MB, free: 3.121 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.1168, allocations: 4.397 MB / 377.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.633e-05/0.1169, allocations: 32 kB / 377.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.004501/0.1214, allocations: 3.17 MB / 380.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.1215, allocations: 52 kB / 380.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.1216, allocations: 100 kB / 380.4 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.1217, allocations: 136 kB / 380.5 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.1243, allocations: 1.146 MB / 381.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/0.1244, allocations: 207.2 kB / 381.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.1269, allocations: 0.6241 MB / 382.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/0.1272, allocations: 256 kB / 382.8 MB, free: 7.539 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.001478/0.1287, allocations: 0.5047 MB / 383.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.1289, allocations: 139.9 kB / 383.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.1292, allocations: 251.6 kB / 383.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.1292, allocations: 16 kB / 383.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.1293, allocations: 64 / 383.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1293, allocations: 7.984 kB / 383.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.1334, allocations: 3.046 MB / 386.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.1334, allocations: 4 kB / 386.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.1338, allocations: 175.8 kB / 386.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.1342, allocations: 222.1 kB / 387.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.1342, allocations: 12 kB / 387.1 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.1343, allocations: 27.98 kB / 387.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/0.1343, allocations: 15.92 kB / 387.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1343, allocations: 8 kB / 387.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008445/0.1351, allocations: 0.9915 MB / 388.2 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.1353, allocations: 24 kB / 388.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.1356, allocations: 23.98 kB / 388.2 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.1357, allocations: 88.28 kB / 388.3 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.1358, allocations: 40 kB / 388.3 MB, free: 1.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006885/0.1365, allocations: 0.7588 MB / 389.1 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1365, allocations: 0 / 389.1 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002639/0.1391, allocations: 1.063 MB / 390.2 MB, free: 15.79 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.0003034/0.1394, allocations: 144 kB / 390.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.142, allocations: 1.745 MB / 392 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001344/0.1421, allocations: 74.5 kB / 392.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.1424, allocations: 280.7 kB / 392.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.1433, allocations: 365.3 kB / 392.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.1535, allocations: 6.802 MB / 399.6 MB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.1546, allocations: 1.061 MB / 400.6 MB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001046/0.1556, allocations: 358.4 kB / 401 MB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.1561, allocations: 363.3 kB / 401.3 MB, free: 4.441 MB / 394.7 MB Notification: Performance of SimCode: time 2.404e-06/0.1561, allocations: 0 / 401.3 MB, free: 4.441 MB / 394.7 MB Notification: Performance of Templates: time 0.03281/0.1889, allocations: 15.7 MB / 417 MB, free: 4.941 MB / 410.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 -ignoreHideResult -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.9079015711322427]