Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001995/0.001995, allocations: 121 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.003065/0.003065, allocations: 213.5 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.556/1.556, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2341/0.2341, allocations: 46.92 MB / 357.8 MB, free: 10.28 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 63.91 kB / 0.4916 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 65.99 MB / 0.5561 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003762/0.1429, allocations: 2.055 MB / 0.5581 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1452, allocations: 1.126 MB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1453, allocations: 3.938 kB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.1459, allocations: 267.1 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.1464, allocations: 259.1 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.148, allocations: 0.653 MB / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.1485, allocations: 358.8 kB / 0.5607 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1487, allocations: 72.69 kB / 0.5607 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.1489, allocations: 151.4 kB / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.1493, allocations: 227.2 kB / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.1493, allocations: 12 kB / 0.5611 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1495, allocations: 79.91 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1496, allocations: 103.6 kB / 0.5613 GB, free: 436 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1498, allocations: 134.9 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.1503, allocations: 358.3 kB / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1503, allocations: 0 / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1503, allocations: 3.844 kB / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1503, allocations: 0 / 0.5618 GB, free: 15.94 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.0009137/0.1512, allocations: 0.7035 MB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1512, allocations: 12.03 kB / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.275e-05/0.1512, allocations: 192 / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.1513, allocations: 42.73 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.1514, allocations: 48.66 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.1518, allocations: 350.4 kB / 0.5629 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1518, allocations: 8.375 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.1518, allocations: 20.06 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1521, allocations: 131.7 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1521, allocations: 3.953 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1521, allocations: 4 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1522, allocations: 4 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.1524, allocations: 91.92 kB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.1531, allocations: 0.516 MB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1533, allocations: 106.5 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.1534, allocations: 36.83 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.1535, allocations: 7.984 kB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1535, allocations: 42.44 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1535, allocations: 224 / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001071/0.1546, allocations: 450.3 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.1546, allocations: 59.31 kB / 0.5643 GB, free: 13.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/0.1553, allocations: 0.5995 MB / 0.5649 GB, free: 12.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1553, allocations: 29.7 kB / 0.5649 GB, free: 12.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1555, allocations: 216.4 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/0.1556, allocations: 63.42 kB / 0.5652 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.1556, allocations: 41.64 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1558, allocations: 362.7 kB / 0.5656 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.156, allocations: 63.97 kB / 0.5656 GB, free: 11.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1561, allocations: 63.95 kB / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.1564, allocations: 158.8 kB / 0.5658 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1564, allocations: 0 / 0.5658 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004288/0.1568, allocations: 233.2 kB / 0.5661 GB, free: 11.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1569, allocations: 14.33 kB / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1569, allocations: 0 / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1569, allocations: 0 / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.157, allocations: 39.92 kB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.157, allocations: 0 / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1571, allocations: 15.98 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1572, allocations: 4 kB / 0.5661 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.000185/0.1573, allocations: 189.7 kB / 0.5663 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.1574, allocations: 43.67 kB / 0.5664 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005648/0.158, allocations: 281.7 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.158, allocations: 4 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.158, allocations: 0 / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.158, allocations: 4 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1591, allocations: 0.6895 MB / 0.5673 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1591, allocations: 3.984 kB / 0.5673 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1592, allocations: 35.97 kB / 0.5673 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1592, allocations: 3.938 kB / 0.5673 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1592, allocations: 4 kB / 0.5674 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1592, allocations: 3.938 kB / 0.5674 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1592, allocations: 4 kB / 0.5674 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.1598, allocations: 333.3 kB / 0.5677 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1599, allocations: 128.8 kB / 0.5678 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.1599, allocations: 0 / 0.5678 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.16, allocations: 11.94 kB / 0.5678 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1601, allocations: 11.98 kB / 0.5678 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1601, allocations: 4 kB / 0.5678 GB, free: 9.363 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005153/0.1606, allocations: 454.8 kB / 0.5683 GB, free: 8.922 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1606, allocations: 3.938 kB / 0.5683 GB, free: 8.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000317/0.1609, allocations: 55.92 kB / 0.5683 GB, free: 8.863 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.003462/0.1644, allocations: 1.467 MB / 0.5697 GB, free: 7.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.1648, allocations: 170 kB / 0.5699 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1648, allocations: 0 / 0.5699 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.165, allocations: 83.89 kB / 0.57 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.0005666/0.1655, allocations: 99.27 kB / 0.5701 GB, free: 7.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.1702, allocations: 3.348 MB / 0.5734 GB, free: 3.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.1707, allocations: 0.826 MB / 0.5742 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.1709, allocations: 62.22 kB / 0.5742 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.1711, allocations: 139.4 kB / 0.5744 GB, free: 2.867 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1711, allocations: 0 / 0.5744 GB, free: 2.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.1981, allocations: 7.947 MB / 0.5821 GB, free: 10.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.039/9.237, allocations: 12.8 kB / 0.5821 GB, free: 10.93 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 12.897259412973654]