Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001382/0.001382, 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.001369/0.001369, 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.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2285/0.2285, allocations: 46.91 MB / 357.8 MB, free: 10.33 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.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 67.89 kB / 0.4916 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1452, allocations: 65.99 MB / 0.5561 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003636/0.1489, allocations: 1.691 MB / 0.5577 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.15, allocations: 0.5883 MB / 0.5583 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.1501, allocations: 0 / 0.5583 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1504, allocations: 75.7 kB / 0.5584 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.1509, allocations: 99.64 kB / 0.5585 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.1514, allocations: 179.4 kB / 0.5587 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1516, allocations: 95.73 kB / 0.5587 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1517, allocations: 16.17 kB / 0.5588 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.1518, allocations: 35.91 kB / 0.5588 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.152, allocations: 63.73 kB / 0.5589 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.152, allocations: 4 kB / 0.5589 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1521, allocations: 51.97 kB / 0.5589 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.1522, allocations: 31.92 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.1523, allocations: 39.67 kB / 0.559 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1525, allocations: 131.4 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1525, allocations: 0 / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1525, allocations: 0 / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1525, allocations: 0 / 0.5591 GB, free: 2.738 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.0007258/0.1532, allocations: 430.6 kB / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1533, allocations: 8.031 kB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.33e-05/0.1533, allocations: 8.188 kB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.1533, allocations: 38.73 kB / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1534, allocations: 16.84 kB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1537, allocations: 212.1 kB / 0.5598 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1537, allocations: 4.375 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.1537, allocations: 8.125 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1539, allocations: 69.59 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1539, allocations: 0 / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1539, allocations: 4 kB / 0.5599 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1539, allocations: 4 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1541, allocations: 43.91 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.1546, allocations: 328.7 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.1549, allocations: 66.58 kB / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.155, allocations: 28.97 kB / 0.5603 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.155, allocations: 3.984 kB / 0.5603 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.155, allocations: 38.48 kB / 0.5604 GB, free: 1.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.155, allocations: 0 / 0.5604 GB, free: 1.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001624/0.1566, allocations: 429.4 kB / 0.5608 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1567, allocations: 51.41 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1569, allocations: 222.6 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1569, allocations: 25.7 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.157, allocations: 108.1 kB / 0.5612 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.1571, allocations: 43.69 kB / 0.5612 GB, free: 388 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.1571, allocations: 21.72 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1573, allocations: 330.8 kB / 0.5615 GB, free: 20 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.1575, allocations: 56.03 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1577, allocations: 59.89 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.158, allocations: 133 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.158, allocations: 0 / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004036/0.1584, allocations: 169.5 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1584, allocations: 4 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1584, allocations: 0 / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1584, allocations: 3.938 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1586, allocations: 27.92 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1586, allocations: 3.984 kB / 0.562 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.1586, allocations: 8 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1586, allocations: 12 kB / 0.562 GB, free: 15.54 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 (11): * Single equations (assignments): 11 * 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.0001496/0.1588, allocations: 133.1 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.1588, allocations: 15.91 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.1593, allocations: 194.8 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1593, allocations: 7.922 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1593, allocations: 0 / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1593, allocations: 4 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.1601, allocations: 0.5077 MB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1601, allocations: 4 kB / 0.5628 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1602, allocations: 31.91 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1602, allocations: 4.062 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1602, allocations: 4 kB / 0.5629 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1602, allocations: 0 / 0.5629 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1603, allocations: 0 / 0.5629 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.1607, allocations: 280.9 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.1608, allocations: 97 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1608, allocations: 4 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1609, allocations: 12 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.1611, allocations: 7.984 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.1611, allocations: 4 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1612, allocations: 171.2 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1612, allocations: 0 / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1615, allocations: 31.94 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002693/0.1642, allocations: 1.161 MB / 0.5646 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.1646, allocations: 135.7 kB / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1646, allocations: 0 / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.1648, allocations: 63.89 kB / 0.5648 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.1654, allocations: 25.05 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.1683, allocations: 1.971 MB / 0.5667 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.1687, allocations: 0.7275 MB / 0.5674 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1688, allocations: 32.52 kB / 0.5675 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.1689, allocations: 43.42 kB / 0.5675 GB, free: 9.812 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1689, allocations: 0 / 0.5675 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.1892, allocations: 3.691 MB / 0.5711 GB, free: 6.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.487, allocations: 18.62 kB / 0.5711 GB, free: 6.168 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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: 11.664361458038911]