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.001546/0.001546, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001999/0.001999, allocations: 173.1 kB / 25.61 MB, free: 8.457 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.9839/0.9839, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.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.1531/0.1531, allocations: 34.26 MB / 296.9 MB, free: 13.92 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 2.315e-06/2.315e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.065e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.007005/0.007036, allocations: 10.66 MB / 389.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004876/0.01191, allocations: 2.778 MB / 392.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.01309, allocations: 63.81 kB / 392.8 MB, free: 9.863 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.01464, allocations: 1.393 MB / 394.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.01644, allocations: 1.33 MB / 395.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.01667, allocations: 79.78 kB / 395.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.01862, allocations: 2.822 MB / 398.4 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.02005, allocations: 1.682 MB / 400.1 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.02192, allocations: 1.578 MB / 401.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.02351, allocations: 1.547 MB / 403.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000415/0.02392, allocations: 204 kB / 403.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.02472, allocations: 475.3 kB / 403.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009319/0.02565, allocations: 1.511 MB / 405.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008514/0.0265, allocations: 0.8755 MB / 406.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00285/0.02935, allocations: 3.403 MB / 409.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.02936, allocations: 0 / 409.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02936, allocations: 0 / 409.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.632e-05/0.02945, allocations: 0 / 409.7 MB, free: 8.891 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.004142/0.03359, allocations: 4.041 MB / 413.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.03364, allocations: 12.03 kB / 413.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/0.03793, allocations: 1.692 MB / 415.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.03973, allocations: 1.314 MB / 416.7 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.677e-05/0.03983, allocations: 176.6 kB / 416.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.04016, allocations: 224.2 kB / 417.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/0.04569, allocations: 4.482 MB / 421.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/0.04574, allocations: 23.75 kB / 421.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.04599, allocations: 111.8 kB / 421.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001958/0.04794, allocations: 2.135 MB / 423.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0049/0.05285, allocations: 2.305 MB / 426.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02527/0.07812, allocations: 30.88 MB / 457 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.08013, allocations: 1.031 MB / 458.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.08043, allocations: 232.2 kB / 458.3 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.08047, allocations: 17 kB / 458.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.0805, allocations: 46.95 kB / 458.4 MB, free: 6.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 4.228e-06/0.08051, allocations: 0 / 458.4 MB, free: 6.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=148): time 0.003239/0.08374, allocations: 1.681 MB / 460 MB, free: 4.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.08378, allocations: 60.41 kB / 460.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.08588, allocations: 2.524 MB / 462.6 MB, free: 2.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.08593, allocations: 41.7 kB / 462.7 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.0875, allocations: 2.953 MB / 465.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.08789, allocations: 0.6204 MB / 466.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008255/0.08872, allocations: 1.076 MB / 467.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.08885, allocations: 0.5276 MB / 467.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.08931, allocations: 381.2 kB / 468.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.09165, allocations: 4.734 MB / 472.9 MB, free: 5.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/0.09536, allocations: 5.729 MB / 478.7 MB, free: 14.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.198e-05/0.09542, allocations: 35.94 kB / 478.7 MB, free: 14 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.004516/0.09993, allocations: 3.702 MB / 482.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.09998, allocations: 48 kB / 482.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.352e-05/0.1001, allocations: 108 kB / 482.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.923e-05/0.1001, allocations: 136 kB / 482.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.1018, allocations: 1.033 MB / 483.7 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.993e-05/0.1019, allocations: 199.2 kB / 483.9 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.1037, allocations: 0.6287 MB / 484.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.1039, allocations: 263.9 kB / 484.8 MB, free: 7.891 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.001044/0.105, allocations: 0.5434 MB / 485.4 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.1052, allocations: 262.4 kB / 485.6 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1055, allocations: 239.6 kB / 485.8 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.1055, allocations: 20 kB / 485.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1055, allocations: 0 / 485.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1055, allocations: 11.97 kB / 485.9 MB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/0.11, allocations: 3.229 MB / 489.1 MB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.11, allocations: 8 kB / 489.1 MB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.1103, allocations: 151.8 kB / 489.3 MB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1103, allocations: 15.94 kB / 489.3 MB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.1104, allocations: 31.98 kB / 489.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.1104, allocations: 12 kB / 489.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.1104, allocations: 7.938 kB / 489.3 MB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.1114, allocations: 1.245 MB / 490.6 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.1116, allocations: 222.1 kB / 490.8 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.1118, allocations: 27.98 kB / 490.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.1121, allocations: 24 kB / 490.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.1122, allocations: 88.34 kB / 490.9 MB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.228e-05/0.1122, allocations: 39.98 kB / 491 MB, free: 1.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000755/0.113, allocations: 0.977 MB / 491.9 MB, free: 428 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.113, allocations: 7.938 kB / 492 MB, free: 420 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.002654/0.1156, allocations: 1.055 MB / 493 MB, free: 15.35 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.0002634/0.1159, allocations: 158.8 kB / 493.2 MB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002406/0.1183, allocations: 1.923 MB / 495.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1183, allocations: 0 / 495.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.1186, allocations: 336.7 kB / 495.4 MB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.1193, allocations: 222.7 kB / 495.6 MB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.1266, allocations: 6.43 MB / 0.4903 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.1276, allocations: 1.08 MB / 0.4913 GB, free: 5.008 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008404/0.1285, allocations: 354.4 kB / 0.4917 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.1289, allocations: 390.1 kB / 0.4921 GB, free: 4.273 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1289, allocations: 0 / 0.4921 GB, free: 4.273 MB / 426.7 MB Notification: Performance of Templates: time 0.1614/0.2903, allocations: 15.88 MB / 0.5076 GB, free: 123.9 MB / 426.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 -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.9713968583382666]