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.001047/0.001047, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.0009279/0.0009279, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 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.9666/0.9666, allocations: 177.1 MB / 205 MB, free: 5.621 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.2602/0.2602, allocations: 34.26 MB / 295.7 MB, free: 0.6602 MB / 266.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.563e-06/1.563e-06, allocations: 0 / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.155e-05, allocations: 2.312 kB / 378 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.008412/0.008433, allocations: 10.96 MB / 389 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.01269, allocations: 2.803 MB / 391.8 MB, free: 4.785 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.01329, allocations: 59.81 kB / 391.8 MB, free: 4.727 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.01502, allocations: 1.409 MB / 393.3 MB, free: 3.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.01651, allocations: 1.334 MB / 394.6 MB, free: 1.973 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.01672, allocations: 79.84 kB / 394.7 MB, free: 1.895 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.01869, allocations: 2.81 MB / 397.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.02002, allocations: 1.694 MB / 399.2 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.02129, allocations: 1.559 MB / 400.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.02257, allocations: 1.554 MB / 402.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.02283, allocations: 204 kB / 402.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.02348, allocations: 467.4 kB / 402.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008974/0.02437, allocations: 1.519 MB / 404.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006772/0.02505, allocations: 0.8716 MB / 405.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.02752, allocations: 3.4 MB / 408.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.02752, allocations: 0 / 408.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02752, allocations: 0 / 408.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.327e-05/0.02756, allocations: 0 / 408.7 MB, free: 3.762 MB / 378.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.003429/0.03098, allocations: 4.05 MB / 412.8 MB, free: 15.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.03103, allocations: 12.03 kB / 412.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005618/0.03665, allocations: 3.477 MB / 416.3 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.03813, allocations: 1.427 MB / 417.7 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.03821, allocations: 168.7 kB / 417.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.03847, allocations: 228.2 kB / 418.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.0433, allocations: 4.901 MB / 423 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.04334, allocations: 23.75 kB / 423 MB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.04355, allocations: 107.8 kB / 423.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005185/0.04873, allocations: 2.439 MB / 425.6 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/0.05384, allocations: 2.833 MB / 428.4 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1762/0.23, allocations: 31.21 MB / 459.6 MB, free: 69.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.2328, allocations: 1.111 MB / 460.7 MB, free: 69.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.2333, allocations: 270.1 kB / 461 MB, free: 69.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.2334, allocations: 22.44 kB / 461 MB, free: 69.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.2334, allocations: 47.52 kB / 461 MB, free: 69.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 4.498e-06/0.2334, allocations: 0 / 461 MB, free: 69.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.003491/0.2369, allocations: 1.773 MB / 462.8 MB, free: 69.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2369, allocations: 63.91 kB / 462.9 MB, free: 69.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.2389, allocations: 2.543 MB / 465.4 MB, free: 68.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.2389, allocations: 43.2 kB / 465.5 MB, free: 68.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008898/0.2398, allocations: 2.943 MB / 468.4 MB, free: 67.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.2401, allocations: 0.6183 MB / 469 MB, free: 66.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007673/0.2409, allocations: 1.056 MB / 470.1 MB, free: 66.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.241, allocations: 0.5207 MB / 470.6 MB, free: 66.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006805/0.2416, allocations: 493 kB / 471.1 MB, free: 65.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.2433, allocations: 4.811 MB / 475.9 MB, free: 60.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/0.2463, allocations: 5.858 MB / 481.7 MB, free: 53.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-05/0.2464, allocations: 33.16 kB / 481.8 MB, free: 53.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.003766/0.2501, allocations: 3.985 MB / 485.8 MB, free: 52.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.2502, allocations: 47.97 kB / 485.8 MB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-05/0.2502, allocations: 105.8 kB / 485.9 MB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.225e-05/0.2503, allocations: 139.2 kB / 486.1 MB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.2525, allocations: 1.056 MB / 487.1 MB, free: 52.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000129/0.2526, allocations: 207.9 kB / 487.3 MB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.256, allocations: 0.6396 MB / 488 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/0.2564, allocations: 293.1 kB / 488.2 MB, free: 51.61 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.001162/0.2576, allocations: 0.548 MB / 488.8 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.2578, allocations: 253 kB / 489 MB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.2581, allocations: 247.8 kB / 489.3 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.2581, allocations: 29.03 kB / 489.3 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.2581, allocations: 0 / 489.3 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2581, allocations: 6.422 kB / 489.3 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007394/0.2655, allocations: 4.338 MB / 493.6 MB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.2655, allocations: 6.531 kB / 493.7 MB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.266, allocations: 179.1 kB / 493.8 MB, free: 48.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/0.266, allocations: 14.08 kB / 493.8 MB, free: 48.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.2661, allocations: 31.14 kB / 493.9 MB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/0.2661, allocations: 17.5 kB / 493.9 MB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.2661, allocations: 15.97 kB / 493.9 MB, free: 48.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2677, allocations: 1.287 MB / 495.2 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.2681, allocations: 228.6 kB / 495.4 MB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.2683, allocations: 28.75 kB / 495.4 MB, free: 47.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.2687, allocations: 50.02 kB / 495.5 MB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.2688, allocations: 80.08 kB / 495.6 MB, free: 47.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.2689, allocations: 54 kB / 495.6 MB, free: 47.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001492/0.2704, allocations: 1.048 MB / 496.7 MB, free: 47.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2704, allocations: 0 / 496.7 MB, free: 47.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003781/0.2742, allocations: 1.056 MB / 497.7 MB, free: 46.94 MB / 410.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.0003516/0.2746, allocations: 161.4 kB / 497.9 MB, free: 46.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003494/0.278, allocations: 2.058 MB / 499.9 MB, free: 46.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.2781, allocations: 6.094 kB / 499.9 MB, free: 46.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.2786, allocations: 365.4 kB / 0.4886 GB, free: 46.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.2796, allocations: 214 kB / 0.4888 GB, free: 45.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.2911, allocations: 6.436 MB / 0.4951 GB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.2921, allocations: 1.082 MB / 0.4961 GB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001975/0.2941, allocations: 1.414 MB / 0.4975 GB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.2945, allocations: 168.2 kB / 0.4977 GB, free: 42.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.864e-06/0.2945, allocations: 0 / 0.4977 GB, free: 42.13 MB / 410.7 MB Notification: Performance of Templates: time 0.02571/0.3202, allocations: 13.57 MB / 0.5109 GB, free: 36.9 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 -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.9053310197778046]