Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00182/0.00182, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002227/0.002227, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2333/0.2333, allocations: 46.92 MB / 357.8 MB, free: 10.34 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 63.91 kB / 0.4916 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1404, allocations: 65.98 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004037/0.1445, allocations: 2.062 MB / 0.5581 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1467, allocations: 1.13 MB / 0.5592 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.1469, allocations: 4 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.1474, allocations: 263.1 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.148, allocations: 263 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.1496, allocations: 0.6532 MB / 0.5603 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.1502, allocations: 358.8 kB / 0.5607 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.1505, allocations: 60.7 kB / 0.5607 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.1507, allocations: 155.4 kB / 0.5609 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.151, allocations: 235.1 kB / 0.5611 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.1511, allocations: 8 kB / 0.5611 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.1513, allocations: 104 kB / 0.5612 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1515, allocations: 107.5 kB / 0.5613 GB, free: 468 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.1516, allocations: 134.9 kB / 0.5614 GB, free: 332 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.1522, allocations: 374.2 kB / 0.5618 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1522, allocations: 0 / 0.5618 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1522, allocations: 0 / 0.5618 GB, free: 15.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1522, allocations: 0 / 0.5618 GB, free: 15.96 MB / 430.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.0009374/0.1531, allocations: 0.7073 MB / 0.5625 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1532, allocations: 12.03 kB / 0.5625 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.719e-05/0.1532, allocations: 8.188 kB / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.1533, allocations: 42.73 kB / 0.5625 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.1534, allocations: 48.66 kB / 0.5626 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.1538, allocations: 354.3 kB / 0.5629 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1538, allocations: 12.31 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1538, allocations: 16.12 kB / 0.563 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.1541, allocations: 127.8 kB / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1541, allocations: 3.953 kB / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1541, allocations: 0 / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1541, allocations: 4 kB / 0.5631 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.1544, allocations: 99.86 kB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.1552, allocations: 0.5199 MB / 0.5637 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.1554, allocations: 106.5 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.001e-05/0.1555, allocations: 32.84 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.1555, allocations: 8.219 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1556, allocations: 42.38 kB / 0.5639 GB, free: 13.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1556, allocations: 4 kB / 0.5639 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001126/0.1567, allocations: 452.4 kB / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1567, allocations: 55.31 kB / 0.5644 GB, free: 13.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.1575, allocations: 0.6073 MB / 0.565 GB, free: 12.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1575, allocations: 25.7 kB / 0.565 GB, free: 12.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.1577, allocations: 212.4 kB / 0.5652 GB, free: 12.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.1578, allocations: 71.42 kB / 0.5652 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.1579, allocations: 33.7 kB / 0.5653 GB, free: 12.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.158, allocations: 362.7 kB / 0.5656 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1582, allocations: 67.89 kB / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1584, allocations: 69.98 kB / 0.5658 GB, free: 11.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.1587, allocations: 148.8 kB / 0.5659 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1587, allocations: 7.938 kB / 0.5659 GB, free: 11.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004424/0.1591, allocations: 239.6 kB / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1591, allocations: 4 kB / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1591, allocations: 0 / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1591, allocations: 0 / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.1593, allocations: 31.98 kB / 0.5662 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1593, allocations: 0 / 0.5662 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.1594, allocations: 11.98 kB / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1594, allocations: 12 kB / 0.5662 GB, free: 11.21 MB / 430.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.000195/0.1596, allocations: 189.6 kB / 0.5664 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.1597, allocations: 47.67 kB / 0.5664 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.1603, allocations: 281.8 kB / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1603, allocations: 0 / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1603, allocations: 0 / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1603, allocations: 7.875 kB / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1613, allocations: 0.6954 MB / 0.5674 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1613, allocations: 0 / 0.5674 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1614, allocations: 35.97 kB / 0.5674 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1614, allocations: 0 / 0.5674 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1614, allocations: 4 kB / 0.5674 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.1614, allocations: 7.938 kB / 0.5674 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1614, allocations: 0 / 0.5674 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.1619, allocations: 339 kB / 0.5677 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.162, allocations: 124.8 kB / 0.5679 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.1621, allocations: 8 kB / 0.5679 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1622, allocations: 7.938 kB / 0.5679 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1622, allocations: 7.984 kB / 0.5679 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1622, allocations: 15.98 kB / 0.5679 GB, free: 9.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005175/0.1628, allocations: 450.8 kB / 0.5683 GB, free: 8.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1628, allocations: 4 kB / 0.5683 GB, free: 8.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.1631, allocations: 51.94 kB / 0.5684 GB, free: 8.855 MB / 430.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.003569/0.1667, allocations: 1.467 MB / 0.5698 GB, free: 7.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.1671, allocations: 155.8 kB / 0.57 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1671, allocations: 4 kB / 0.57 GB, free: 7.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.1673, allocations: 87.88 kB / 0.5701 GB, free: 7.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.1679, allocations: 80.78 kB / 0.5701 GB, free: 7.363 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.1728, allocations: 3.352 MB / 0.5734 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.1734, allocations: 0.8299 MB / 0.5742 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.1736, allocations: 62.23 kB / 0.5743 GB, free: 3.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.1739, allocations: 135.4 kB / 0.5744 GB, free: 2.879 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1739, allocations: 0 / 0.5744 GB, free: 2.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.2007, allocations: 7.959 MB / 0.5822 GB, free: 10.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.841/9.041, allocations: 19.7 kB / 0.5822 GB, free: 10.93 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 12.625033978954889]