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.0009676/0.0009676, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009868/0.0009868, allocations: 161 kB / 24.56 MB, free: 20 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.9454/0.9454, allocations: 177.2 MB / 205 MB, free: 5.289 MB / 186.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.2584/0.2584, allocations: 32.81 MB / 294.3 MB, free: 1.16 MB / 266.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 2.355e-06/2.355e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.839e-05, allocations: 6.25 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.008312/0.00834, allocations: 10.96 MB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.01271, allocations: 2.795 MB / 389.8 MB, free: 6.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009002/0.01361, allocations: 59.81 kB / 389.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.01536, allocations: 1.409 MB / 391.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.01747, allocations: 1.322 MB / 392.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.01772, allocations: 79.83 kB / 392.6 MB, free: 3.957 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002628/0.02035, allocations: 2.822 MB / 395.5 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.0222, allocations: 1.686 MB / 397.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.02405, allocations: 1.566 MB / 398.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.02586, allocations: 1.547 MB / 400.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.02624, allocations: 208 kB / 400.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007696/0.02701, allocations: 471.4 kB / 400.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.0281, allocations: 1.519 MB / 402.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009153/0.02902, allocations: 0.8676 MB / 403.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003224/0.03224, allocations: 3.392 MB / 406.7 MB, free: 5.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.03225, allocations: 0 / 406.7 MB, free: 5.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03225, allocations: 0 / 406.7 MB, free: 5.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.614e-05/0.03234, allocations: 7.938 kB / 406.7 MB, free: 5.816 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.00476/0.03709, allocations: 4.05 MB / 410.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.03713, allocations: 8.031 kB / 410.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007981/0.04512, allocations: 3.489 MB / 414.2 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.04752, allocations: 1.416 MB / 415.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.04764, allocations: 176.7 kB / 415.8 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.048, allocations: 224.2 kB / 416.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006478/0.05448, allocations: 4.901 MB / 421 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/0.05452, allocations: 31.69 kB / 421 MB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.05479, allocations: 107.8 kB / 421.1 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003115/0.05791, allocations: 2.435 MB / 423.5 MB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006385/0.06429, allocations: 2.833 MB / 426.4 MB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1692/0.2335, allocations: 31.21 MB / 457.6 MB, free: 71.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.2362, allocations: 1.117 MB / 458.7 MB, free: 71.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.2366, allocations: 267.2 kB / 458.9 MB, free: 71.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.085e-05/0.2367, allocations: 20.44 kB / 459 MB, free: 71.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2367, allocations: 48.23 kB / 459 MB, free: 71.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.547e-06/0.2367, allocations: 0 / 459 MB, free: 71.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.004211/0.2409, allocations: 1.778 MB / 460.8 MB, free: 70.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.241, allocations: 65.75 kB / 460.9 MB, free: 70.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.2432, allocations: 2.54 MB / 463.4 MB, free: 70.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.2432, allocations: 39.33 kB / 463.4 MB, free: 70.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.2443, allocations: 2.948 MB / 466.4 MB, free: 68.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.2447, allocations: 0.6181 MB / 467 MB, free: 68.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009752/0.2456, allocations: 1.06 MB / 468.1 MB, free: 68.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.2457, allocations: 0.5185 MB / 468.6 MB, free: 67.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008629/0.2466, allocations: 488.5 kB / 469.1 MB, free: 67.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.2485, allocations: 4.82 MB / 473.9 MB, free: 62.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/0.2521, allocations: 5.854 MB / 479.7 MB, free: 56.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-05/0.2521, allocations: 32.81 kB / 479.8 MB, free: 56.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.004173/0.2563, allocations: 3.979 MB / 483.7 MB, free: 54.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.2563, allocations: 49.53 kB / 483.8 MB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/0.2564, allocations: 103.2 kB / 483.9 MB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.22e-05/0.2565, allocations: 140.2 kB / 484 MB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.258, allocations: 1.059 MB / 485.1 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-05/0.2581, allocations: 201.7 kB / 485.3 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2595, allocations: 0.6433 MB / 485.9 MB, free: 53.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.2597, allocations: 293 kB / 486.2 MB, free: 53.93 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.000677/0.2604, allocations: 0.5368 MB / 486.7 MB, free: 53.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.2606, allocations: 265.1 kB / 487 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.2608, allocations: 245.3 kB / 487.2 MB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.2608, allocations: 18.2 kB / 487.3 MB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.2608, allocations: 7.938 kB / 487.3 MB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2608, allocations: 9.656 kB / 487.3 MB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.2654, allocations: 4.341 MB / 491.6 MB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.2655, allocations: 6.469 kB / 491.6 MB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.2659, allocations: 179 kB / 491.8 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.2659, allocations: 10.75 kB / 491.8 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.2659, allocations: 30.41 kB / 491.8 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.2659, allocations: 18.5 kB / 491.9 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.2659, allocations: 12.47 kB / 491.9 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.267, allocations: 1.29 MB / 493.2 MB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.2672, allocations: 231.6 kB / 493.4 MB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.2673, allocations: 27.67 kB / 493.4 MB, free: 50.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.2676, allocations: 50.23 kB / 493.5 MB, free: 50.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.2677, allocations: 79.25 kB / 493.5 MB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.2678, allocations: 53.05 kB / 493.6 MB, free: 50.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001036/0.2688, allocations: 1.054 MB / 494.6 MB, free: 49.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2688, allocations: 0 / 494.6 MB, free: 49.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002236/0.2711, allocations: 1.053 MB / 495.7 MB, free: 49.27 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.000255/0.2713, allocations: 153.1 kB / 495.8 MB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.2734, allocations: 2.066 MB / 497.9 MB, free: 48.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2734, allocations: 1.031 kB / 497.9 MB, free: 48.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.2738, allocations: 360.5 kB / 498.3 MB, free: 48.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.2745, allocations: 224.7 kB / 498.5 MB, free: 48.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.2805, allocations: 6.443 MB / 0.4931 GB, free: 44.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.2813, allocations: 1.082 MB / 0.4942 GB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001574/0.2828, allocations: 1.41 MB / 0.4955 GB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.2831, allocations: 161.5 kB / 0.4957 GB, free: 44.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.2831, allocations: 0 / 0.4957 GB, free: 44.45 MB / 410.7 MB Notification: Performance of Templates: time 0.02408/0.3072, allocations: 13.57 MB / 0.5089 GB, free: 39.41 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 -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.864788901992142]