Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.92 MB / 349.6 MB, free: 1.707 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 67.86 kB / 491.8 MB, free: 30.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1472, allocations: 64.26 MB / 0.543 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004787/0.152, allocations: 1.962 MB / 0.5449 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.154, allocations: 1.041 MB / 0.5459 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.1542, allocations: 4 kB / 0.546 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1545, allocations: 47.62 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.1551, allocations: 151.4 kB / 0.5461 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.1562, allocations: 425.5 kB / 0.5465 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.1567, allocations: 251.3 kB / 0.5468 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1569, allocations: 48.31 kB / 0.5468 GB, free: 160 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.1571, allocations: 119.5 kB / 0.5469 GB, free: 40 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.1574, allocations: 191.3 kB / 0.5471 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.1574, allocations: 12 kB / 0.5471 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1576, allocations: 55.98 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.1578, allocations: 143.5 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1579, allocations: 158.7 kB / 0.5475 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.1584, allocations: 386 kB / 0.5479 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1584, allocations: 3.938 kB / 0.5479 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1584, allocations: 0 / 0.5479 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1584, allocations: 0 / 0.5479 GB, free: 15.11 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001166/0.1596, allocations: 0.7811 MB / 0.5486 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1596, allocations: 12.03 kB / 0.5486 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.1597, allocations: 42.73 kB / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.677e-05/0.1598, allocations: 52.61 kB / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.1604, allocations: 460.3 kB / 0.5492 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1604, allocations: 12.38 kB / 0.5492 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1605, allocations: 15.94 kB / 0.5492 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.1607, allocations: 119.3 kB / 0.5493 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1607, allocations: 4 kB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1608, allocations: 7.984 kB / 0.5493 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.1608, allocations: 4 kB / 0.5493 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.161, allocations: 91.81 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009974/0.162, allocations: 0.6683 MB / 0.5501 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.1622, allocations: 101.2 kB / 0.5502 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1623, allocations: 49.81 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1623, allocations: 3.938 kB / 0.5502 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1623, allocations: 34.56 kB / 0.5502 GB, free: 12.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1623, allocations: 0 / 0.5502 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001341/0.1637, allocations: 0.5191 MB / 0.5507 GB, free: 11.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.1637, allocations: 77.11 kB / 0.5508 GB, free: 11.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.1647, allocations: 0.8779 MB / 0.5517 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.1648, allocations: 29.7 kB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.165, allocations: 248.3 kB / 0.5519 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.165, allocations: 59.47 kB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.1651, allocations: 37.7 kB / 0.552 GB, free: 10.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1653, allocations: 370.7 kB / 0.5524 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1654, allocations: 55.95 kB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.1656, allocations: 73.67 kB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.1659, allocations: 133.8 kB / 0.5526 GB, free: 9.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1659, allocations: 0 / 0.5526 GB, free: 9.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004679/0.1664, allocations: 225.2 kB / 0.5529 GB, free: 9.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1664, allocations: 4 kB / 0.5529 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1664, allocations: 4 kB / 0.5529 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1664, allocations: 0 / 0.5529 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.1666, allocations: 39.97 kB / 0.5529 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1666, allocations: 3.938 kB / 0.5529 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.1667, allocations: 16.16 kB / 0.5529 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1668, allocations: 8 kB / 0.5529 GB, free: 9.629 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002217/0.167, allocations: 217.6 kB / 0.5531 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1671, allocations: 59.56 kB / 0.5532 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/0.1677, allocations: 266.8 kB / 0.5534 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1677, allocations: 4 kB / 0.5534 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1677, allocations: 0 / 0.5534 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1677, allocations: 0 / 0.5534 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.1688, allocations: 0.7789 MB / 0.5542 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1689, allocations: 0 / 0.5542 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.169, allocations: 39.91 kB / 0.5542 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.169, allocations: 0 / 0.5542 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.169, allocations: 4 kB / 0.5542 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.169, allocations: 3.938 kB / 0.5543 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.169, allocations: 0 / 0.5543 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.1695, allocations: 404.6 kB / 0.5546 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.1697, allocations: 152.7 kB / 0.5548 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.1698, allocations: 4 kB / 0.5548 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.17, allocations: 15.92 kB / 0.5548 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.17, allocations: 23.97 kB / 0.5548 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.17, allocations: 4 kB / 0.5548 GB, free: 7.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007161/0.1708, allocations: 0.6315 MB / 0.5554 GB, free: 6.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1708, allocations: 0 / 0.5554 GB, free: 6.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.1711, allocations: 59.92 kB / 0.5555 GB, free: 6.879 MB / 414.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 (16): * Single equations (assignments): 16 * 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.00215/0.1733, allocations: 1.242 MB / 0.5567 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.1737, allocations: 135.8 kB / 0.5568 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1737, allocations: 0 / 0.5568 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.1738, allocations: 79.89 kB / 0.5569 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.1745, allocations: 78.41 kB / 0.557 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/0.1809, allocations: 4.929 MB / 0.5618 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.1815, allocations: 0.8604 MB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.1817, allocations: 79.23 kB / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.1819, allocations: 163.4 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.303e-06/0.1819, allocations: 0 / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.2174, allocations: 9.6 MB / 0.5723 GB, free: 5.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/8.791, allocations: 0 / 0.5723 GB, free: 5.793 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.921923893038183]