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.001319/0.001319, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001504/0.001504, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2667/0.2667, allocations: 44.94 MB / 359.6 MB, free: 6.031 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.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.002986/0.002986, allocations: 65.78 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3799, allocations: 65.47 MB / 0.5577 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003605/0.3835, allocations: 1.977 MB / 0.5597 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3855, allocations: 0.9867 MB / 0.5606 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3856, allocations: 4 kB / 0.5606 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.3861, allocations: 255.1 kB / 0.5609 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005653/0.3866, allocations: 267.1 kB / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3878, allocations: 497.3 kB / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.3883, allocations: 334.8 kB / 0.5619 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.3885, allocations: 54.73 kB / 0.562 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.3887, allocations: 143.4 kB / 0.5621 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.389, allocations: 235.1 kB / 0.5623 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.389, allocations: 12 kB / 0.5623 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.3893, allocations: 95.95 kB / 0.5624 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3894, allocations: 99.61 kB / 0.5625 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3895, allocations: 99.14 kB / 0.5626 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.39, allocations: 358.2 kB / 0.563 GB, free: 2.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.39, allocations: 0 / 0.563 GB, free: 2.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.39, allocations: 0 / 0.563 GB, free: 2.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.39, allocations: 4 kB / 0.563 GB, free: 2.145 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.0008859/0.3909, allocations: 0.6281 MB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3909, allocations: 11.97 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.391, allocations: 4.188 kB / 0.5636 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.391, allocations: 50.73 kB / 0.5637 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.3911, allocations: 48.61 kB / 0.5637 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.3915, allocations: 276.6 kB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3915, allocations: 8.375 kB / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3915, allocations: 12.12 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.3918, allocations: 113.5 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3918, allocations: 4 kB / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3918, allocations: 4 kB / 0.5641 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3918, allocations: 4 kB / 0.5641 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.392, allocations: 67.95 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.3928, allocations: 451.4 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.393, allocations: 90.52 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.3931, allocations: 32.84 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.3931, allocations: 7.984 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.3931, allocations: 42.5 kB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.3931, allocations: 0 / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00102/0.3941, allocations: 401.1 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3942, allocations: 55.41 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007242/0.3949, allocations: 0.5838 MB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.3949, allocations: 25.7 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3951, allocations: 216.4 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.3952, allocations: 67.47 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.3952, allocations: 33.7 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3954, allocations: 358.7 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3956, allocations: 51.97 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3957, allocations: 50.62 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3959, allocations: 116.8 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3959, allocations: 0 / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003984/0.3963, allocations: 211.5 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3963, allocations: 4 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3964, allocations: 4 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3964, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3965, allocations: 39.91 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3965, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.3966, allocations: 4 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.3967, allocations: 8 kB / 0.5669 GB, free: 13.92 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.0002055/0.3969, allocations: 185.6 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.397, allocations: 43.72 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.3975, allocations: 245.6 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3975, allocations: 0 / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.3975, allocations: 7.984 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3975, allocations: 0 / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009294/0.3984, allocations: 0.5777 MB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3984, allocations: 0 / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.3986, allocations: 47.91 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3986, allocations: 0 / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3986, allocations: 4 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3986, allocations: 3.938 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3986, allocations: 0 / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.399, allocations: 295.2 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.3991, allocations: 47.69 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.3991, allocations: 4 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3993, allocations: 15.88 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.3993, allocations: 19.97 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3993, allocations: 4 kB / 0.5684 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000508/0.3998, allocations: 439.1 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3998, allocations: 4 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.4002, allocations: 47.94 kB / 0.5688 GB, free: 11.87 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.003746/0.4039, allocations: 1.499 MB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.4043, allocations: 123.8 kB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4043, allocations: 0 / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.4044, allocations: 67.91 kB / 0.5705 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.4051, allocations: 92.66 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.4104, allocations: 3.171 MB / 0.5737 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.4107, allocations: 208.1 kB / 0.5739 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.4109, allocations: 54.23 kB / 0.5739 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.4112, allocations: 135.4 kB / 0.574 GB, free: 6.789 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4112, allocations: 0 / 0.574 GB, free: 6.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.4473, allocations: 8.037 MB / 0.5819 GB, free: 14.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.64, allocations: 8 kB / 0.5819 GB, free: 14.76 MB / 430.1 MB " [Timeout remaining time 647] (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.912243691040203]