Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001359/0.001359, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001407/0.001407, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.477/1.477, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2361/0.2361, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.89 kB / 0.4974 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3231, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003302/0.3264, allocations: 1.613 MB / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3275, allocations: 0.5231 MB / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.3276, allocations: 0 / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3279, allocations: 79.69 kB / 0.564 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.3282, allocations: 107.6 kB / 0.5641 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.3285, allocations: 99.44 kB / 0.5642 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3287, allocations: 79.83 kB / 0.5643 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3288, allocations: 27.56 kB / 0.5643 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.494e-05/0.3288, allocations: 31.92 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.329, allocations: 63.73 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.329, allocations: 4 kB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.3291, allocations: 43.98 kB / 0.5644 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.3291, allocations: 23.91 kB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.3292, allocations: 23.81 kB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3294, allocations: 110.2 kB / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3294, allocations: 0 / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3294, allocations: 4 kB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3294, allocations: 0 / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000543/0.3299, allocations: 337.6 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.33, allocations: 12.03 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.33, allocations: 12.84 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3302, allocations: 147 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.3302, allocations: 384 / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.3303, allocations: 4.375 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3304, allocations: 61.73 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3304, allocations: 0 / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3305, allocations: 8 kB / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.3305, allocations: 0 / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.465e-05/0.3306, allocations: 23.92 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.3309, allocations: 240.4 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.331, allocations: 42.56 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.3311, allocations: 16.92 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3311, allocations: 4 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3311, allocations: 38.5 kB / 0.5655 GB, free: 308 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3311, allocations: 0 / 0.5655 GB, free: 308 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008958/0.332, allocations: 221.3 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3321, allocations: 55.41 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.3323, allocations: 214.4 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3323, allocations: 25.7 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.3324, allocations: 116 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.3325, allocations: 23.75 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.3325, allocations: 33.66 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3327, allocations: 326.8 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.3327, allocations: 23.97 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.3328, allocations: 32.05 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.333, allocations: 60.83 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.333, allocations: 0 / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002125/0.3332, allocations: 97.56 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3332, allocations: 8 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3332, allocations: 0 / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3332, allocations: 3.984 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/0.3333, allocations: 12 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3333, allocations: 4 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.3334, allocations: 7.984 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3334, allocations: 7.938 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001086/0.3335, allocations: 129.8 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3335, allocations: 15.84 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.3338, allocations: 122.9 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.3338, allocations: 4 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3338, allocations: 4 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3338, allocations: 0 / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.3343, allocations: 342.9 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3343, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.3344, allocations: 28.02 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3344, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3344, allocations: 4 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3344, allocations: 7.875 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3344, allocations: 0 / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.3347, allocations: 196.7 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.3347, allocations: 11.91 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3347, allocations: 4 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.3348, allocations: 15.92 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3349, allocations: 4 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.3349, allocations: 4 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.335, allocations: 176.2 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.335, allocations: 0 / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.3353, allocations: 12 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00187/0.3372, allocations: 0.4947 MB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3374, allocations: 63.95 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3374, allocations: 0 / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.3375, allocations: 31.92 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3379, allocations: 19.98 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.3384, allocations: 284.5 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.3385, allocations: 100.5 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.3386, allocations: 19.44 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3386, allocations: 0 / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of Templates: time 0.004003/0.3426, allocations: 1.799 MB / 0.5705 GB, free: 11.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.957638249004958]