Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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.001556/0.001556, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001793/0.001793, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.225/0.225, allocations: 46.93 MB / 361.6 MB, free: 4.254 MB / 286.1 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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 75.89 kB / 0.4974 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3011, allocations: 66.01 MB / 0.5618 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004496/0.3056, allocations: 3.193 MB / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.3075, allocations: 1.087 MB / 0.566 GB, free: 120 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.3077, allocations: 15.88 kB / 0.566 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.3079, allocations: 59.38 kB / 0.5661 GB, free: 44 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.3081, allocations: 130.9 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.3087, allocations: 175.5 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.3092, allocations: 465.9 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.3094, allocations: 75.98 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3096, allocations: 179.3 kB / 0.5671 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.3098, allocations: 191.2 kB / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.3099, allocations: 32 kB / 0.5673 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.31, allocations: 51.98 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.3101, allocations: 79.69 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3103, allocations: 199 kB / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.3108, allocations: 452.5 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3108, allocations: 0 / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3108, allocations: 0 / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3108, allocations: 0 / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001187/0.312, allocations: 0.6261 MB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3121, allocations: 12.03 kB / 0.5687 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003094/0.3124, allocations: 68.62 kB / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.3128, allocations: 240.8 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.3128, allocations: 33.3 kB / 0.569 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.3129, allocations: 40.36 kB / 0.569 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.3135, allocations: 371.5 kB / 0.5694 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.3135, allocations: 11.94 kB / 0.5694 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.3136, allocations: 16 kB / 0.5694 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3136, allocations: 8 kB / 0.5694 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.314, allocations: 247.7 kB / 0.5696 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.3162, allocations: 1.475 MB / 0.5711 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.3169, allocations: 399.4 kB / 0.5715 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.3171, allocations: 125.7 kB / 0.5716 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.3172, allocations: 11.92 kB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3172, allocations: 46.55 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.953e-06/0.3172, allocations: 0 / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.002966/0.3202, allocations: 1.534 MB / 0.5731 GB, free: 8.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3203, allocations: 187.9 kB / 0.5733 GB, free: 8.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.3205, allocations: 252.2 kB / 0.5736 GB, free: 7.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.3206, allocations: 37.7 kB / 0.5736 GB, free: 7.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3207, allocations: 212.7 kB / 0.5738 GB, free: 7.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.3208, allocations: 186.4 kB / 0.574 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.321, allocations: 98.3 kB / 0.5741 GB, free: 7.383 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3211, allocations: 346.8 kB / 0.5744 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3214, allocations: 121.2 kB / 0.5745 GB, free: 6.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.3217, allocations: 295.9 kB / 0.5748 GB, free: 6.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.3223, allocations: 461.9 kB / 0.5752 GB, free: 6.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3223, allocations: 0 / 0.5752 GB, free: 6.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008028/0.3231, allocations: 0.4897 MB / 0.5757 GB, free: 5.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3232, allocations: 8 kB / 0.5757 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3232, allocations: 8 kB / 0.5757 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.3232, allocations: 8 kB / 0.5757 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.3237, allocations: 143.7 kB / 0.5759 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.3237, allocations: 11.94 kB / 0.5759 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.3239, allocations: 31.89 kB / 0.5759 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.324, allocations: 24 kB / 0.5759 GB, free: 5.297 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 initialization (74): * Single equations (assignments): 74 * Array equations: 0 * 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.0001908/0.3242, allocations: 185.6 kB / 0.5761 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.3243, allocations: 35.77 kB / 0.5762 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3246, allocations: 135.3 kB / 0.5763 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3246, allocations: 8 kB / 0.5763 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.3246, allocations: 3.938 kB / 0.5763 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.3246, allocations: 4 kB / 0.5763 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.3265, allocations: 1.209 MB / 0.5775 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.3265, allocations: 4 kB / 0.5775 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/0.3271, allocations: 119.9 kB / 0.5776 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.3271, allocations: 4 kB / 0.5776 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.3271, allocations: 15.98 kB / 0.5776 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.3271, allocations: 7.938 kB / 0.5776 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3271, allocations: 8 kB / 0.5776 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3282, allocations: 1.017 MB / 0.5786 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.3283, allocations: 27.81 kB / 0.5786 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.3284, allocations: 19.98 kB / 0.5787 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.3287, allocations: 16 kB / 0.5787 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.3288, allocations: 43.88 kB / 0.5787 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.3288, allocations: 12 kB / 0.5787 GB, free: 2.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.329, allocations: 183.1 kB / 0.5789 GB, free: 2.094 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.329, allocations: 0 / 0.5789 GB, free: 2.094 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006555/0.3297, allocations: 99.94 kB / 0.579 GB, free: 1.996 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * 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.000121/0.3298, allocations: 115.2 kB / 0.5791 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006411/0.3304, allocations: 335.3 kB / 0.5794 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3304, allocations: 64 / 0.5794 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.3307, allocations: 163.7 kB / 0.5796 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/0.3317, allocations: 109.6 kB / 0.5797 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.334, allocations: 1.508 MB / 0.5812 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.3345, allocations: 0.8119 MB / 0.582 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3346, allocations: 39.38 kB / 0.582 GB, free: 14.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3346, allocations: 0 / 0.582 GB, free: 14.82 MB / 430.1 MB Notification: Performance of Templates: time 0.00762/0.3422, allocations: 4.803 MB / 0.5867 GB, free: 10.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.726052928017452]