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.001515/0.001515, allocations: 83.58 kB / 21.19 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.001343/0.001343, allocations: 165 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.9483/0.9483, allocations: 177.1 MB / 205 MB, free: 5.289 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.2822/0.2822, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.713e-06/1.713e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.072e-05, allocations: 9.906 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.00925/0.009271, allocations: 10.95 MB / 389 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005299/0.01457, allocations: 2.807 MB / 391.8 MB, free: 4.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.01585, allocations: 59.81 kB / 391.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.01765, allocations: 1.413 MB / 393.3 MB, free: 3.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.01948, allocations: 1.33 MB / 394.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.01972, allocations: 87.77 kB / 394.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.02209, allocations: 2.813 MB / 397.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.02372, allocations: 1.686 MB / 399.2 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.02539, allocations: 1.566 MB / 400.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.02692, allocations: 1.554 MB / 402.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.02726, allocations: 208 kB / 402.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006958/0.02795, allocations: 467.4 kB / 403 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.02898, allocations: 1.519 MB / 404.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008175/0.0298, allocations: 0.8677 MB / 405.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.03239, allocations: 3.403 MB / 408.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.0324, allocations: 0 / 408.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0324, allocations: 0 / 408.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.765e-05/0.0325, allocations: 0 / 408.7 MB, free: 3.801 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.003566/0.03606, allocations: 4.054 MB / 412.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.03611, allocations: 8.031 kB / 412.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.04149, allocations: 3.477 MB / 416.3 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.04313, allocations: 1.47 MB / 417.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.04321, allocations: 172.6 kB / 417.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.04346, allocations: 228.2 kB / 418.1 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.04826, allocations: 4.893 MB / 423 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.04831, allocations: 27.75 kB / 423.1 MB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.04852, allocations: 107.8 kB / 423.2 MB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002289/0.0508, allocations: 2.435 MB / 425.6 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005634/0.05644, allocations: 2.839 MB / 428.4 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1868/0.2432, allocations: 31.22 MB / 459.7 MB, free: 69.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.2454, allocations: 1.104 MB / 460.8 MB, free: 69.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.2458, allocations: 265.7 kB / 461 MB, free: 69.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.2458, allocations: 25.02 kB / 461 MB, free: 69.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2459, allocations: 50.23 kB / 461.1 MB, free: 69.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 4.579e-06/0.2459, allocations: 0 / 461.1 MB, free: 69.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.003326/0.2492, allocations: 1.768 MB / 462.9 MB, free: 68.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.2492, allocations: 67.75 kB / 462.9 MB, free: 68.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.2514, allocations: 2.543 MB / 465.5 MB, free: 68.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.2515, allocations: 45.11 kB / 465.5 MB, free: 68.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.2526, allocations: 2.943 MB / 468.5 MB, free: 66.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.253, allocations: 0.6174 MB / 469.1 MB, free: 66.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007887/0.2538, allocations: 1.057 MB / 470.1 MB, free: 66.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.2539, allocations: 0.521 MB / 470.7 MB, free: 66.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007793/0.2547, allocations: 492.1 kB / 471.1 MB, free: 66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.2565, allocations: 4.811 MB / 475.9 MB, free: 60.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/0.26, allocations: 5.858 MB / 481.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-05/0.2601, allocations: 35.39 kB / 481.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.004308/0.2644, allocations: 3.984 MB / 485.8 MB, free: 52.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.2644, allocations: 49.16 kB / 485.9 MB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.517e-05/0.2645, allocations: 104.1 kB / 486 MB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-05/0.2646, allocations: 138.4 kB / 486.1 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.2663, allocations: 1.059 MB / 487.2 MB, free: 52.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001165/0.2664, allocations: 203.5 kB / 487.4 MB, free: 52.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.2681, allocations: 0.6359 MB / 488 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.2684, allocations: 295.2 kB / 488.3 MB, free: 51.72 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.001038/0.2694, allocations: 0.5392 MB / 488.8 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.2697, allocations: 266.4 kB / 489.1 MB, free: 51.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.2699, allocations: 248.2 kB / 489.3 MB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-05/0.2699, allocations: 18.69 kB / 489.4 MB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-05/0.27, allocations: 0 / 489.4 MB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.27, allocations: 10.72 kB / 489.4 MB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/0.2763, allocations: 4.342 MB / 493.7 MB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2763, allocations: 6.5 kB / 493.7 MB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.2767, allocations: 183.8 kB / 493.9 MB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.2767, allocations: 10.75 kB / 493.9 MB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.2768, allocations: 30.59 kB / 493.9 MB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.2768, allocations: 18.86 kB / 493.9 MB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.2768, allocations: 7.188 kB / 494 MB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.278, allocations: 1.29 MB / 495.2 MB, free: 48.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.2782, allocations: 236.3 kB / 495.5 MB, free: 47.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.2783, allocations: 27.81 kB / 495.5 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.2787, allocations: 49.34 kB / 495.6 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2788, allocations: 80.08 kB / 495.6 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.2788, allocations: 57.66 kB / 495.7 MB, free: 47.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.28, allocations: 1.046 MB / 496.7 MB, free: 47.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.28, allocations: 1 kB / 496.7 MB, free: 47.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00271/0.2827, allocations: 1.048 MB / 497.8 MB, free: 47.05 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.0002927/0.283, allocations: 161.8 kB / 497.9 MB, free: 46.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002847/0.2858, allocations: 2.063 MB / 0.4883 GB, free: 46.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2858, allocations: 5.719 kB / 0.4883 GB, free: 46.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.2862, allocations: 358.2 kB / 0.4886 GB, free: 46.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/0.287, allocations: 216.8 kB / 0.4888 GB, free: 46.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/0.2948, allocations: 6.429 MB / 0.4951 GB, free: 42.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/0.2957, allocations: 1.082 MB / 0.4962 GB, free: 42.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001727/0.2974, allocations: 1.42 MB / 0.4976 GB, free: 42.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.2977, allocations: 158.3 kB / 0.4977 GB, free: 42.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.2977, allocations: 0 / 0.4977 GB, free: 42.25 MB / 410.7 MB Notification: Performance of Templates: time 0.02551/0.3232, allocations: 14.16 MB / 0.5115 GB, free: 36.68 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.802145498804748]