Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001388/0.001388, allocations: 113 kB / 18.49 MB, free: 4.539 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.001511/0.001511, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.542/1.542, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2428/0.2428, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 0.4916 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1431, allocations: 65.99 MB / 0.5561 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003459/0.1466, allocations: 1.68 MB / 0.5577 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1477, allocations: 0.5611 MB / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.1478, allocations: 3.938 kB / 0.5583 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.1485, allocations: 451.1 kB / 0.5587 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.1491, allocations: 291.3 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1495, allocations: 138.8 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1497, allocations: 167.7 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1498, allocations: 15.92 kB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.15, allocations: 115.7 kB / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.1503, allocations: 255.5 kB / 0.5597 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1503, allocations: 4 kB / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1504, allocations: 47.98 kB / 0.5597 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1505, allocations: 91.61 kB / 0.5598 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1506, allocations: 103 kB / 0.5599 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.1511, allocations: 282.5 kB / 0.5602 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1511, allocations: 4 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1511, allocations: 0 / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1511, allocations: 0 / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000895/0.152, allocations: 0.6723 MB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.152, allocations: 8.031 kB / 0.5608 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.751e-05/0.152, allocations: 8.188 kB / 0.5608 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.1521, allocations: 30.75 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.1522, allocations: 48.66 kB / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1525, allocations: 304.6 kB / 0.5612 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1525, allocations: 8.375 kB / 0.5612 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.1526, allocations: 8.125 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1528, allocations: 57.62 kB / 0.5613 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1528, allocations: 0 / 0.5613 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1528, allocations: 7.984 kB / 0.5613 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1528, allocations: 0 / 0.5613 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1529, allocations: 27.98 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.1535, allocations: 400.6 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1536, allocations: 50.48 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1537, allocations: 16.84 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1537, allocations: 4 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1537, allocations: 30.56 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.1538, allocations: 96 / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001101/0.1549, allocations: 336.4 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1549, allocations: 51.41 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/0.1559, allocations: 0.8699 MB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1559, allocations: 25.7 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1561, allocations: 228.1 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.1562, allocations: 31.73 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.1562, allocations: 29.66 kB / 0.5633 GB, free: 14.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003001/0.1565, allocations: 362.8 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.1566, allocations: 27.98 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.1567, allocations: 23.98 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.1568, allocations: 60.83 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1568, allocations: 0 / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002927/0.1571, allocations: 145.5 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1572, allocations: 5.875 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1572, allocations: 4 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1572, allocations: 3.938 kB / 0.5639 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1573, allocations: 15.98 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1573, allocations: 4.062 kB / 0.5639 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.1574, allocations: 4 kB / 0.5639 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1574, allocations: 4 kB / 0.5639 GB, free: 13.5 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 (8): * Single equations (assignments): 8 * 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.0002409/0.1576, allocations: 220 kB / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.1577, allocations: 47.67 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.1581, allocations: 161.5 kB / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1581, allocations: 3.938 kB / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1581, allocations: 0 / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1581, allocations: 0 / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.1589, allocations: 0.507 MB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1589, allocations: 0 / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.159, allocations: 23.98 kB / 0.5649 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.159, allocations: 0 / 0.5649 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.159, allocations: 7.938 kB / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.159, allocations: 0 / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.159, allocations: 3.984 kB / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1593, allocations: 244 kB / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.1594, allocations: 116.8 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1594, allocations: 4 kB / 0.5652 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.1595, allocations: 7.984 kB / 0.5652 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.1596, allocations: 0 / 0.5652 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1596, allocations: 8 kB / 0.5652 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007465/0.1603, allocations: 0.6628 MB / 0.5659 GB, free: 11.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1603, allocations: 0 / 0.5659 GB, free: 11.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1606, allocations: 27.94 kB / 0.5659 GB, free: 11.36 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002326/0.1629, allocations: 1.129 MB / 0.567 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1632, allocations: 71.86 kB / 0.5671 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1632, allocations: 4 kB / 0.5671 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.1633, allocations: 35.92 kB / 0.5671 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.1638, allocations: 26.3 kB / 0.5671 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.1683, allocations: 3.325 MB / 0.5704 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.1689, allocations: 0.8299 MB / 0.5712 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.224e-05/0.1689, allocations: 12.73 kB / 0.5712 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.1692, allocations: 111.4 kB / 0.5713 GB, free: 5.855 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1692, allocations: 0 / 0.5713 GB, free: 5.855 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.1944, allocations: 6.467 MB / 0.5776 GB, free: 15.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.033/9.227, allocations: 64 / 0.5776 GB, free: 15.45 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.542025195027236]