Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 165.2 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9888/0.9888, allocations: 177 MB / 205.2 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2862/0.2862, allocations: 34.85 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.975e-06/2.975e-06, allocations: 3.984 kB / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.742e-05, allocations: 2.312 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.008838/0.008865, allocations: 10.92 MB / 389.6 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005356/0.01422, allocations: 2.803 MB / 392.4 MB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.0155, allocations: 63.81 kB / 392.5 MB, free: 4.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.01737, allocations: 1.393 MB / 393.9 MB, free: 3.188 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.01944, allocations: 1.33 MB / 395.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.01968, allocations: 79.78 kB / 395.3 MB, free: 1.773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.02228, allocations: 2.822 MB / 398.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.02467, allocations: 1.686 MB / 399.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.02673, allocations: 1.563 MB / 401.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.02863, allocations: 1.554 MB / 402.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004554/0.02908, allocations: 204 kB / 403.1 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.03014, allocations: 471.4 kB / 403.6 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.03123, allocations: 1.519 MB / 405.1 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009853/0.03221, allocations: 0.8716 MB / 406 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.03547, allocations: 3.392 MB / 409.4 MB, free: 3.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.03547, allocations: 0 / 409.4 MB, free: 3.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03548, allocations: 4 kB / 409.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.904e-05/0.03558, allocations: 0 / 409.4 MB, free: 3.629 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.004581/0.04016, allocations: 4.046 MB / 413.4 MB, free: 15.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.04021, allocations: 16.03 kB / 413.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006597/0.04681, allocations: 3.481 MB / 416.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.04928, allocations: 1.416 MB / 418.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.04939, allocations: 176.7 kB / 418.5 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.04971, allocations: 232.1 kB / 418.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006787/0.0565, allocations: 4.889 MB / 423.6 MB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.417e-05/0.05655, allocations: 27.75 kB / 423.7 MB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.05679, allocations: 107.8 kB / 423.8 MB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002296/0.05908, allocations: 2.435 MB / 426.2 MB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006752/0.06583, allocations: 2.842 MB / 429 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1888/0.2546, allocations: 31.2 MB / 460.2 MB, free: 73.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.257, allocations: 1.118 MB / 461.4 MB, free: 72.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.2574, allocations: 267.5 kB / 461.6 MB, free: 72.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.2574, allocations: 24.91 kB / 461.6 MB, free: 72.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2575, allocations: 41.14 kB / 461.7 MB, free: 72.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 4.328e-06/0.2575, allocations: 0 / 461.7 MB, free: 72.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.003733/0.2612, allocations: 1.782 MB / 463.5 MB, free: 72.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.2612, allocations: 61.12 kB / 463.5 MB, free: 72.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.2636, allocations: 2.535 MB / 466.1 MB, free: 72.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.2637, allocations: 43.86 kB / 466.1 MB, free: 72.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.2648, allocations: 2.952 MB / 469.1 MB, free: 70.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.2651, allocations: 0.6089 MB / 469.7 MB, free: 69.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000812/0.2659, allocations: 1.059 MB / 470.7 MB, free: 69.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.266, allocations: 0.5252 MB / 471.2 MB, free: 68.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/0.2668, allocations: 487.8 kB / 471.7 MB, free: 68.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.2688, allocations: 4.821 MB / 476.5 MB, free: 62.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/0.2725, allocations: 5.853 MB / 482.4 MB, free: 56.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.225e-05/0.2725, allocations: 31.91 kB / 482.4 MB, free: 56.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.005214/0.2777, allocations: 3.982 MB / 486.4 MB, free: 54.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.2778, allocations: 51.94 kB / 486.5 MB, free: 54.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.2779, allocations: 103.1 kB / 486.6 MB, free: 54.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.278, allocations: 137.9 kB / 486.7 MB, free: 54.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.2799, allocations: 1.057 MB / 487.8 MB, free: 54.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001381/0.28, allocations: 204.6 kB / 488 MB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.2822, allocations: 0.6434 MB / 488.6 MB, free: 54.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.2825, allocations: 303.1 kB / 488.9 MB, free: 54.22 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.0011/0.2836, allocations: 0.5383 MB / 489.4 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.2838, allocations: 264.9 kB / 489.7 MB, free: 53.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.284, allocations: 248.5 kB / 489.9 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.284, allocations: 15.28 kB / 489.9 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.2841, allocations: 2.812 kB / 490 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2841, allocations: 3.234 kB / 490 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005618/0.2897, allocations: 4.351 MB / 494.3 MB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.2897, allocations: 6.312 kB / 494.3 MB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.2901, allocations: 175.8 kB / 494.5 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.2901, allocations: 11.22 kB / 494.5 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.2902, allocations: 27.44 kB / 494.5 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.2902, allocations: 21.12 kB / 494.5 MB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.2902, allocations: 11.41 kB / 494.6 MB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.2915, allocations: 1.294 MB / 495.8 MB, free: 50.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.2917, allocations: 225.2 kB / 496.1 MB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.2918, allocations: 27.75 kB / 496.1 MB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.2922, allocations: 51.2 kB / 496.1 MB, free: 50.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2923, allocations: 90.48 kB / 496.2 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.2924, allocations: 47.59 kB / 496.3 MB, free: 50.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001059/0.2934, allocations: 1.048 MB / 497.3 MB, free: 49.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2934, allocations: 0 / 497.3 MB, free: 49.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002574/0.296, allocations: 1.059 MB / 498.4 MB, free: 49.54 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.0002789/0.2963, allocations: 153.8 kB / 498.5 MB, free: 49.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.2989, allocations: 2.064 MB / 0.4889 GB, free: 48.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2989, allocations: 0 / 0.4889 GB, free: 48.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.2993, allocations: 367.6 kB / 0.4892 GB, free: 48.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.3001, allocations: 205.3 kB / 0.4894 GB, free: 48.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007135/0.3072, allocations: 6.442 MB / 0.4957 GB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.308, allocations: 1.079 MB / 0.4968 GB, free: 44.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001867/0.3099, allocations: 1.412 MB / 0.4981 GB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.3102, allocations: 169.1 kB / 0.4983 GB, free: 44.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3102, allocations: 0 / 0.4983 GB, free: 44.73 MB / 410.7 MB Notification: Performance of Templates: time 0.02601/0.3362, allocations: 13.57 MB / 0.5116 GB, free: 38.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.9969674248714]