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.001718/0.001718, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002421/0.002421, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.58/1.58, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2508/0.2508, allocations: 46.91 MB / 357.1 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1389, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003716/0.1426, allocations: 2.065 MB / 0.5574 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1447, allocations: 1.122 MB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1448, allocations: 4 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.1454, allocations: 271.1 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.1459, allocations: 263 kB / 0.559 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1474, allocations: 0.6449 MB / 0.5596 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.1479, allocations: 358.8 kB / 0.56 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1481, allocations: 64.7 kB / 0.56 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1483, allocations: 155.4 kB / 0.5602 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.1485, allocations: 231.1 kB / 0.5604 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.1486, allocations: 12 kB / 0.5604 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.1488, allocations: 104 kB / 0.5605 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1489, allocations: 115.5 kB / 0.5606 GB, free: 464 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1491, allocations: 134.9 kB / 0.5608 GB, free: 328 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.1495, allocations: 366.2 kB / 0.5611 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1495, allocations: 0 / 0.5611 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1495, allocations: 0 / 0.5611 GB, free: 15.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1495, allocations: 0 / 0.5611 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.0009088/0.1505, allocations: 0.719 MB / 0.5618 GB, free: 15.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1505, allocations: 8.031 kB / 0.5618 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.1505, allocations: 42.75 kB / 0.5619 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.1506, allocations: 44.66 kB / 0.5619 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.1511, allocations: 358.3 kB / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1511, allocations: 8.375 kB / 0.5622 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.1511, allocations: 12.38 kB / 0.5623 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1514, allocations: 131.7 kB / 0.5624 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1514, allocations: 3.953 kB / 0.5624 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1514, allocations: 8 kB / 0.5624 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1514, allocations: 0 / 0.5624 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.1516, allocations: 95.88 kB / 0.5625 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.1524, allocations: 0.5277 MB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1526, allocations: 102.5 kB / 0.5631 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.1527, allocations: 36.84 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1528, allocations: 4.203 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1528, allocations: 50.38 kB / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1528, allocations: 0 / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001084/0.1539, allocations: 448.5 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1539, allocations: 59.31 kB / 0.5637 GB, free: 13.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.1546, allocations: 0.5956 MB / 0.5643 GB, free: 12.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1546, allocations: 29.7 kB / 0.5643 GB, free: 12.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1548, allocations: 216.4 kB / 0.5645 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.1549, allocations: 63.44 kB / 0.5646 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.1549, allocations: 33.7 kB / 0.5646 GB, free: 12.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1551, allocations: 358.8 kB / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1553, allocations: 67.89 kB / 0.565 GB, free: 11.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1554, allocations: 69.98 kB / 0.5651 GB, free: 11.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.1557, allocations: 160.7 kB / 0.5652 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1557, allocations: 0 / 0.5652 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004398/0.1562, allocations: 239.4 kB / 0.5654 GB, free: 11.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1562, allocations: 4 kB / 0.5654 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1562, allocations: 3.938 kB / 0.5654 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1562, allocations: 4 kB / 0.5654 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1564, allocations: 31.97 kB / 0.5655 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1564, allocations: 4 kB / 0.5655 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.1565, allocations: 12 kB / 0.5655 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1565, allocations: 4 kB / 0.5655 GB, free: 11.22 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.0002039/0.1567, allocations: 189.6 kB / 0.5657 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.1568, allocations: 47.67 kB / 0.5657 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.1574, allocations: 273.8 kB / 0.566 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1574, allocations: 0 / 0.566 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1574, allocations: 4 kB / 0.566 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1574, allocations: 7.984 kB / 0.566 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.1583, allocations: 0.6917 MB / 0.5667 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.1583, allocations: 0 / 0.5667 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.1585, allocations: 35.92 kB / 0.5667 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1585, allocations: 0 / 0.5667 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.1585, allocations: 8 kB / 0.5667 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1585, allocations: 3.938 kB / 0.5667 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.1585, allocations: 11.97 kB / 0.5667 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.159, allocations: 331.1 kB / 0.567 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1591, allocations: 128.8 kB / 0.5672 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.1591, allocations: 0 / 0.5672 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1592, allocations: 15.92 kB / 0.5672 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.1593, allocations: 11.98 kB / 0.5672 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1593, allocations: 8 kB / 0.5672 GB, free: 9.359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005141/0.1598, allocations: 454.8 kB / 0.5676 GB, free: 8.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1598, allocations: 0 / 0.5676 GB, free: 8.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.1601, allocations: 51.94 kB / 0.5677 GB, free: 8.867 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.003567/0.1637, allocations: 1.477 MB / 0.5691 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.1641, allocations: 166.6 kB / 0.5693 GB, free: 7.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1641, allocations: 0 / 0.5693 GB, free: 7.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.1643, allocations: 83.89 kB / 0.5694 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.1649, allocations: 84.22 kB / 0.5694 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.1696, allocations: 3.348 MB / 0.5727 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.1701, allocations: 0.826 MB / 0.5735 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.1703, allocations: 62.23 kB / 0.5736 GB, free: 3.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.1705, allocations: 139.4 kB / 0.5737 GB, free: 2.875 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1705, allocations: 0 / 0.5737 GB, free: 2.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.2067, allocations: 7.92 MB / 0.5815 GB, free: 10.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.793/9, allocations: 4.875 kB / 0.5815 GB, free: 10.96 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.509555869968608]