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.0009825/0.0009825, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001007/0.001007, allocations: 165 kB / 24.99 MB, free: 8.328 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.9395/0.9395, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2887/0.2887, allocations: 34.26 MB / 296 MB, free: 0.7734 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.774e-06/1.774e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.198e-05, allocations: 2.312 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.0144/0.01443, allocations: 10.93 MB / 388.9 MB, free: 8.004 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006287/0.02072, allocations: 2.792 MB / 391.7 MB, free: 5.203 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.02251, allocations: 63.81 kB / 391.8 MB, free: 5.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.02494, allocations: 1.401 MB / 393.2 MB, free: 3.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.02784, allocations: 1.326 MB / 394.5 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.02814, allocations: 79.78 kB / 394.6 MB, free: 2.324 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003497/0.03164, allocations: 2.83 MB / 397.4 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.03413, allocations: 1.678 MB / 399.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.03675, allocations: 1.566 MB / 400.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.03923, allocations: 1.551 MB / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006652/0.03989, allocations: 208 kB / 402.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.04093, allocations: 467.4 kB / 402.9 MB, free: 9.992 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.0423, allocations: 1.523 MB / 404.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.04382, allocations: 0.8638 MB / 405.3 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004337/0.04816, allocations: 3.396 MB / 408.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.04816, allocations: 0 / 408.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.04816, allocations: 4 kB / 408.7 MB, free: 4.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002063/0.04837, allocations: 0 / 408.7 MB, free: 4.184 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.005596/0.05397, allocations: 4.053 MB / 412.7 MB, free: 68 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.05401, allocations: 12.03 kB / 412.7 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00835/0.06236, allocations: 3.481 MB / 416.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.06497, allocations: 1.416 MB / 417.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.0651, allocations: 180.7 kB / 417.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.06546, allocations: 220.2 kB / 418 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007751/0.07321, allocations: 4.901 MB / 422.9 MB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/0.07326, allocations: 23.75 kB / 422.9 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.07355, allocations: 111.8 kB / 423 MB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002996/0.07654, allocations: 2.439 MB / 425.5 MB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008224/0.08477, allocations: 2.832 MB / 428.3 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/0.2793, allocations: 31.2 MB / 459.5 MB, free: 73.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.2816, allocations: 1.121 MB / 460.6 MB, free: 73.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.282, allocations: 262.4 kB / 460.9 MB, free: 73.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.862e-05/0.282, allocations: 18.42 kB / 460.9 MB, free: 73.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.282, allocations: 46.39 kB / 461 MB, free: 73.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.807e-06/0.282, allocations: 0 / 461 MB, free: 73.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.003582/0.2856, allocations: 1.776 MB / 462.7 MB, free: 73.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2857, allocations: 63.28 kB / 462.8 MB, free: 73.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.288, allocations: 2.549 MB / 465.4 MB, free: 72.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.288, allocations: 42.02 kB / 465.4 MB, free: 72.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.2893, allocations: 2.948 MB / 468.3 MB, free: 71.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/0.2897, allocations: 0.6104 MB / 469 MB, free: 70.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008374/0.2906, allocations: 1.057 MB / 470 MB, free: 70.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.2907, allocations: 0.5249 MB / 470.5 MB, free: 69.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007899/0.2915, allocations: 486.3 kB / 471 MB, free: 69.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.2934, allocations: 4.82 MB / 475.8 MB, free: 63.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.2969, allocations: 5.855 MB / 481.7 MB, free: 57.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.767e-05/0.297, allocations: 29.91 kB / 481.7 MB, free: 57.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.004607/0.3016, allocations: 3.983 MB / 485.7 MB, free: 55.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.3017, allocations: 50 kB / 485.7 MB, free: 55.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-05/0.3018, allocations: 107.3 kB / 485.8 MB, free: 55.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.252e-05/0.3018, allocations: 137.2 kB / 486 MB, free: 55.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.3035, allocations: 1.058 MB / 487 MB, free: 55.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001009/0.3036, allocations: 201.3 kB / 487.2 MB, free: 55.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.3054, allocations: 0.6506 MB / 487.9 MB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/0.3057, allocations: 294.8 kB / 488.2 MB, free: 54.86 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.001118/0.3068, allocations: 0.5383 MB / 488.7 MB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.3071, allocations: 261.1 kB / 489 MB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.3073, allocations: 244.2 kB / 489.2 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.3073, allocations: 20.97 kB / 489.2 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.3073, allocations: 0 / 489.2 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/0.3073, allocations: 11.2 kB / 489.2 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/0.3128, allocations: 4.342 MB / 493.6 MB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.3128, allocations: 11.09 kB / 493.6 MB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.3133, allocations: 171.2 kB / 493.8 MB, free: 52.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.3133, allocations: 15.62 kB / 493.8 MB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/0.3133, allocations: 33.41 kB / 493.8 MB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.3133, allocations: 15.16 kB / 493.8 MB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.3133, allocations: 10.91 kB / 493.8 MB, free: 52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3147, allocations: 1.296 MB / 495.1 MB, free: 51.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/0.315, allocations: 228.8 kB / 495.4 MB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.3152, allocations: 31.91 kB / 495.4 MB, free: 50.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.3156, allocations: 45.75 kB / 495.4 MB, free: 50.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3157, allocations: 87.48 kB / 495.5 MB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.3157, allocations: 46.41 kB / 495.6 MB, free: 50.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001243/0.317, allocations: 1.049 MB / 496.6 MB, free: 50.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.317, allocations: 0 / 496.6 MB, free: 50.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003102/0.3201, allocations: 1.053 MB / 497.7 MB, free: 50.18 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.0002896/0.3204, allocations: 161.1 kB / 497.8 MB, free: 50.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003198/0.3236, allocations: 2.062 MB / 499.9 MB, free: 49.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3236, allocations: 0 / 499.9 MB, free: 49.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.3241, allocations: 363.2 kB / 0.4885 GB, free: 49.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.3249, allocations: 213 kB / 0.4887 GB, free: 49.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/0.3326, allocations: 6.445 MB / 0.495 GB, free: 45.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.3335, allocations: 1.08 MB / 0.4961 GB, free: 45.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001851/0.3353, allocations: 1.419 MB / 0.4974 GB, free: 45.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.3356, allocations: 157.8 kB / 0.4976 GB, free: 45.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.245e-06/0.3356, allocations: 0 / 0.4976 GB, free: 45.36 MB / 410.7 MB Notification: Performance of Templates: time 0.02729/0.3629, allocations: 13.57 MB / 0.5108 GB, free: 39.36 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.8415529020130634]