Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001412/0.001412, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001541/0.001541, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.2406/0.2406, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003908/0.3811, allocations: 2.06 MB / 0.5598 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3832, allocations: 1.041 MB / 0.5608 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.3833, allocations: 4 kB / 0.5608 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.3838, allocations: 259.1 kB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.3844, allocations: 267.1 kB / 0.5613 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3855, allocations: 489.8 kB / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.386, allocations: 334.8 kB / 0.5621 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.3861, allocations: 60.81 kB / 0.5622 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.3863, allocations: 147.4 kB / 0.5623 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3866, allocations: 227.2 kB / 0.5625 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.3866, allocations: 12 kB / 0.5625 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.3868, allocations: 99.95 kB / 0.5626 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.387, allocations: 99.55 kB / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.3871, allocations: 131 kB / 0.5629 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.3875, allocations: 356.3 kB / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3875, allocations: 4 kB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3875, allocations: 0 / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3876, allocations: 4 kB / 0.5632 GB, free: 2.215 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008631/0.3884, allocations: 0.6204 MB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3885, allocations: 12.03 kB / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.3885, allocations: 4.188 kB / 0.5638 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.3885, allocations: 42.73 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3886, allocations: 48.61 kB / 0.5639 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.389, allocations: 272.6 kB / 0.5642 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.389, allocations: 8.375 kB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.389, allocations: 24.06 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.3893, allocations: 109.5 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3893, allocations: 4 kB / 0.5643 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3893, allocations: 0 / 0.5643 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3893, allocations: 4 kB / 0.5643 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3895, allocations: 71.89 kB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.3902, allocations: 475.4 kB / 0.5648 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3904, allocations: 90.53 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.3904, allocations: 32.84 kB / 0.565 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.3905, allocations: 0 / 0.565 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3905, allocations: 46.44 kB / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3905, allocations: 0 / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001018/0.3915, allocations: 404.7 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3915, allocations: 51.41 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.3922, allocations: 0.5877 MB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3922, allocations: 25.7 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3924, allocations: 216.4 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.3925, allocations: 55.48 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.3925, allocations: 33.7 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3927, allocations: 362.7 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3928, allocations: 55.91 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.393, allocations: 50.47 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.3932, allocations: 116.8 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3932, allocations: 0 / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003638/0.3936, allocations: 211.7 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3936, allocations: 8 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3936, allocations: 0 / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3936, allocations: 0 / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.3938, allocations: 35.97 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3938, allocations: 0 / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.06e-05/0.3938, allocations: 4 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3939, allocations: 16 kB / 0.5672 GB, free: 13.97 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 (17): * Single equations (assignments): 17 * 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.0001773/0.394, allocations: 181.7 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.3941, allocations: 43.72 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.3946, allocations: 241.5 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.3946, allocations: 4 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3946, allocations: 0 / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3946, allocations: 3.984 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008513/0.3955, allocations: 0.6125 MB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3955, allocations: 0 / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3956, allocations: 39.91 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3956, allocations: 0 / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3956, allocations: 4 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3956, allocations: 3.938 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3956, allocations: 0 / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.396, allocations: 303.1 kB / 0.5685 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.3961, allocations: 55.61 kB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3961, allocations: 4 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3962, allocations: 7.938 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.3963, allocations: 15.97 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3963, allocations: 8 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004746/0.3968, allocations: 435.1 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3968, allocations: 0 / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.3971, allocations: 51.92 kB / 0.5691 GB, free: 11.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.003317/0.4004, allocations: 1.444 MB / 0.5705 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.4007, allocations: 130.2 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4007, allocations: 0 / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.4009, allocations: 67.91 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.4014, allocations: 86.03 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.4055, allocations: 3.17 MB / 0.5739 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.406, allocations: 0.8182 MB / 0.5747 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.4061, allocations: 50.23 kB / 0.5747 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.4063, allocations: 139.4 kB / 0.5748 GB, free: 6.219 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4063, allocations: 0 / 0.5748 GB, free: 6.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.4358, allocations: 7.903 MB / 0.5826 GB, free: 14.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.16, allocations: 8 kB / 0.5826 GB, free: 14.36 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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: 15.458544224034995]