Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001287/0.001287, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001727/0.001727, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2772/0.2772, allocations: 44.92 MB / 359.6 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 179] 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.001991/0.001991, allocations: 63.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3685, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.005082/0.3735, allocations: 1.963 MB / 0.5597 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3762, allocations: 0.9828 MB / 0.5606 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.3763, allocations: 7.938 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.377, allocations: 255.1 kB / 0.5609 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008474/0.3778, allocations: 271.1 kB / 0.5611 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.3796, allocations: 493.5 kB / 0.5616 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.3803, allocations: 334.9 kB / 0.5619 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.3805, allocations: 58.7 kB / 0.562 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.3808, allocations: 143.4 kB / 0.5621 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.3812, allocations: 231.2 kB / 0.5623 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.3812, allocations: 12 kB / 0.5623 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.3815, allocations: 67.97 kB / 0.5624 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.3817, allocations: 107.5 kB / 0.5625 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.3818, allocations: 87.22 kB / 0.5626 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006912/0.3825, allocations: 350.2 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3825, allocations: 0 / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3825, allocations: 0 / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3825, allocations: 0 / 0.5629 GB, free: 2.246 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.001262/0.3838, allocations: 0.6205 MB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.3839, allocations: 12.03 kB / 0.5635 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.194e-05/0.3839, allocations: 4.188 kB / 0.5635 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.384, allocations: 42.73 kB / 0.5636 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.3841, allocations: 44.61 kB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.3846, allocations: 276.6 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.3846, allocations: 12.38 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.3847, allocations: 12.12 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.385, allocations: 113.5 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.385, allocations: 0 / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3851, allocations: 4 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.3851, allocations: 8 kB / 0.564 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.3853, allocations: 71.89 kB / 0.5641 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.3863, allocations: 455.4 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.3866, allocations: 82.55 kB / 0.5646 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3867, allocations: 36.83 kB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.3867, allocations: 7.984 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.3868, allocations: 42.44 kB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.3868, allocations: 0 / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001562/0.3883, allocations: 404.5 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.3884, allocations: 55.39 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.3895, allocations: 0.5877 MB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3895, allocations: 29.64 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.3897, allocations: 216.4 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.182e-05/0.3898, allocations: 59.48 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/0.3899, allocations: 37.7 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.3902, allocations: 354.7 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.3904, allocations: 55.97 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3905, allocations: 47.97 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.3909, allocations: 119.2 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3909, allocations: 0 / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005748/0.3915, allocations: 205.2 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3915, allocations: 6.344 kB / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3915, allocations: 4 kB / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3915, allocations: 4 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3918, allocations: 31.97 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3918, allocations: 4 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3919, allocations: 8 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3919, allocations: 4 kB / 0.5668 GB, free: 14.03 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.0002736/0.3922, allocations: 181.7 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3923, allocations: 43.72 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007299/0.3931, allocations: 245.5 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3931, allocations: 0 / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3931, allocations: 0 / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3931, allocations: 3.984 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.3944, allocations: 0.5871 MB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3944, allocations: 0 / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3946, allocations: 39.91 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3946, allocations: 3.938 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3946, allocations: 4 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3946, allocations: 7.938 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3946, allocations: 0 / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.3953, allocations: 301.9 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3954, allocations: 51.62 kB / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.3954, allocations: 4 kB / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3956, allocations: 7.938 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3957, allocations: 15.97 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3957, allocations: 8 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007784/0.3965, allocations: 443.1 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3965, allocations: 0 / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005573/0.397, allocations: 47.94 kB / 0.5688 GB, free: 11.98 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.005153/0.4022, allocations: 1.484 MB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.4027, allocations: 127.8 kB / 0.5703 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4027, allocations: 8 kB / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.4029, allocations: 63.91 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.4037, allocations: 88.67 kB / 0.5705 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.4082, allocations: 3.163 MB / 0.5736 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.4084, allocations: 208.2 kB / 0.5738 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.4086, allocations: 54.23 kB / 0.5738 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.4088, allocations: 139.4 kB / 0.574 GB, free: 6.902 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4088, allocations: 0 / 0.574 GB, free: 6.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.441, allocations: 8.058 MB / 0.5818 GB, free: 14.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.47, allocations: 8.062 kB / 0.5818 GB, free: 14.86 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.774586869054474]