Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008511/0.0008511, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008581/0.0008581, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8843/0.8843, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.237/0.237, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.1e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.1668/0.1668, allocations: 1.965 MB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.168, allocations: 0.9931 MB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.558e-05/0.1681, allocations: 2.781 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1684, allocations: 263.9 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.1687, allocations: 262.2 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.1693, allocations: 494.7 kB / 446.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1695, allocations: 334.3 kB / 446.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1697, allocations: 51.39 kB / 446.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1698, allocations: 180.8 kB / 446.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1699, allocations: 197.5 kB / 446.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.17, allocations: 11.62 kB / 446.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1701, allocations: 78.25 kB / 447 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.13e-05/0.1702, allocations: 93.98 kB / 447.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.1702, allocations: 76.27 kB / 447.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1704, allocations: 325.1 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1704, allocations: 0 / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1705, allocations: 0 / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1705, allocations: 0 / 447.5 MB, free: 42.49 MB / 410.7 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.000473/0.1709, allocations: 0.6187 MB / 448.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.171, allocations: 10.97 kB / 448.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.171, allocations: 37.69 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.171, allocations: 48.38 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1713, allocations: 270.8 kB / 448.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1713, allocations: 10.56 kB / 448.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1713, allocations: 13.23 kB / 448.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1715, allocations: 109.8 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1715, allocations: 3.281 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1715, allocations: 14.38 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1715, allocations: 4.688 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.1716, allocations: 69.72 kB / 448.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.172, allocations: 459.7 kB / 449.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1721, allocations: 86.31 kB / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.1721, allocations: 35.16 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1721, allocations: 6.094 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.1722, allocations: 34.56 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.634e-06/0.1722, allocations: 0 / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005854/0.1727, allocations: 407.8 kB / 449.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.1728, allocations: 51.41 kB / 449.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.1731, allocations: 0.5911 MB / 450.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.1731, allocations: 25.7 kB / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.1732, allocations: 215.9 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1732, allocations: 59.34 kB / 450.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1733, allocations: 32.34 kB / 450.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.1733, allocations: 355.1 kB / 451 MB, free: 40.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.1734, allocations: 51.03 kB / 451 MB, free: 40.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.1734, allocations: 56.97 kB / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1736, allocations: 125 kB / 451.2 MB, free: 39.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1736, allocations: 0 / 451.2 MB, free: 39.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001855/0.1737, allocations: 206.4 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1738, allocations: 4.062 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1738, allocations: 2.906 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1738, allocations: 1.078 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/0.1739, allocations: 36.58 kB / 451.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1739, allocations: 6.812 kB / 451.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1739, allocations: 8.953 kB / 451.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1739, allocations: 6.875 kB / 451.5 MB, free: 39.88 MB / 410.7 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 8.851e-05/0.174, allocations: 169.6 kB / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.174, allocations: 49.59 kB / 451.7 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.1743, allocations: 242.9 kB / 451.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1743, allocations: 0 / 451.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1743, allocations: 10.06 kB / 451.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1743, allocations: 3.938 kB / 451.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.1747, allocations: 0.5825 MB / 452.5 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1747, allocations: 0 / 452.5 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.1748, allocations: 35.72 kB / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1748, allocations: 2.75 kB / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1748, allocations: 5.047 kB / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1748, allocations: 0 / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1748, allocations: 4 kB / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.175, allocations: 311.1 kB / 452.9 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.175, allocations: 48.17 kB / 452.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1751, allocations: 6.844 kB / 452.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.1751, allocations: 9.078 kB / 452.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.1751, allocations: 8.906 kB / 452.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1751, allocations: 10.14 kB / 453 MB, free: 38.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002394/0.1754, allocations: 444.4 kB / 453.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1754, allocations: 0 / 453.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.1756, allocations: 56.27 kB / 453.4 MB, free: 38.77 MB / 410.7 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.001376/0.177, allocations: 1.495 MB / 454.9 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1772, allocations: 126.8 kB / 455.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1772, allocations: 0 / 455.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.139e-05/0.1772, allocations: 72.31 kB / 455.1 MB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.1776, allocations: 83.22 kB / 455.2 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1798, allocations: 3.197 MB / 458.4 MB, free: 35.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1799, allocations: 211.4 kB / 458.6 MB, free: 35.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1801, allocations: 56.05 kB / 458.7 MB, free: 35.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.1802, allocations: 136.1 kB / 458.8 MB, free: 35.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1802, allocations: 0 / 458.8 MB, free: 35.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.1978, allocations: 8.465 MB / 467.3 MB, free: 33.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.89, allocations: 6.562 kB / 467.3 MB, free: 33.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.828573432751]