Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001733/0.001733, allocations: 116.7 kB / 18.5 MB, free: 4.582 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.002257/0.002257, allocations: 189.2 kB / 21.44 MB, free: 1.645 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.518/1.518, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.2278/0.2278, allocations: 44.92 MB / 349.6 MB, free: 1.699 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 68.45 kB / 491.8 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 64.27 MB / 0.543 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004636/0.1459, allocations: 1.973 MB / 0.5449 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1481, allocations: 0.8534 MB / 0.5458 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1482, allocations: 8 kB / 0.5458 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.1488, allocations: 255.2 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.1493, allocations: 195.3 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1508, allocations: 485.9 kB / 0.5467 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.1513, allocations: 279.3 kB / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1515, allocations: 52.66 kB / 0.547 GB, free: 0 / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.1517, allocations: 131.5 kB / 0.5471 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.1521, allocations: 219.2 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1521, allocations: 12 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.1524, allocations: 95.95 kB / 0.5474 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1525, allocations: 87.62 kB / 0.5475 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.1527, allocations: 119 kB / 0.5476 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.1532, allocations: 330.4 kB / 0.5479 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1532, allocations: 0 / 0.5479 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1532, allocations: 0 / 0.5479 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1533, allocations: 0 / 0.5479 GB, free: 15.02 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001097/0.1544, allocations: 0.6725 MB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1544, allocations: 12.03 kB / 0.5486 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.417e-05/0.1545, allocations: 46.73 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1546, allocations: 44.66 kB / 0.5487 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.1551, allocations: 314.5 kB / 0.549 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.1551, allocations: 12.38 kB / 0.549 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.1551, allocations: 8.375 kB / 0.549 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.1554, allocations: 113.5 kB / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1555, allocations: 3.953 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1555, allocations: 4 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1555, allocations: 4 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.1557, allocations: 75.88 kB / 0.5492 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.1566, allocations: 492.4 kB / 0.5497 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.1569, allocations: 90.42 kB / 0.5498 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.157, allocations: 36.83 kB / 0.5498 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.157, allocations: 8 kB / 0.5498 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.1571, allocations: 38.5 kB / 0.5498 GB, free: 12.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/0.1571, allocations: 224 / 0.5498 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001253/0.1583, allocations: 384.5 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.1584, allocations: 55.34 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/0.1592, allocations: 0.5448 MB / 0.5508 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.1593, allocations: 33.7 kB / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1595, allocations: 200.4 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.1595, allocations: 63.47 kB / 0.5511 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.1596, allocations: 29.72 kB / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.1598, allocations: 350.8 kB / 0.5514 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.16, allocations: 51.97 kB / 0.5515 GB, free: 11.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1601, allocations: 53.69 kB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.1605, allocations: 126.5 kB / 0.5517 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1605, allocations: 0 / 0.5517 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004868/0.161, allocations: 197.3 kB / 0.5519 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.161, allocations: 8 kB / 0.5519 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.161, allocations: 0 / 0.5519 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.161, allocations: 0 / 0.5519 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1612, allocations: 39.97 kB / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.1612, allocations: 4 kB / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1614, allocations: 11.95 kB / 0.5519 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1614, allocations: 4 kB / 0.5519 GB, free: 10.71 MB / 414.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.0002332/0.1616, allocations: 185.7 kB / 0.5521 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.1617, allocations: 35.77 kB / 0.5521 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006236/0.1623, allocations: 231.8 kB / 0.5524 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1623, allocations: 0 / 0.5524 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1623, allocations: 4 kB / 0.5524 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1623, allocations: 4 kB / 0.5524 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/0.1632, allocations: 0.6192 MB / 0.553 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1632, allocations: 3.984 kB / 0.553 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1633, allocations: 31.92 kB / 0.553 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1633, allocations: 4 kB / 0.553 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1633, allocations: 4 kB / 0.553 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1633, allocations: 11.94 kB / 0.553 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1633, allocations: 0 / 0.553 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.1637, allocations: 289.2 kB / 0.5533 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1638, allocations: 124.8 kB / 0.5534 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.1638, allocations: 4 kB / 0.5534 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.1639, allocations: 15.94 kB / 0.5534 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.164, allocations: 7.984 kB / 0.5534 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.164, allocations: 15.98 kB / 0.5535 GB, free: 9.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004339/0.1644, allocations: 407.1 kB / 0.5538 GB, free: 8.637 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1644, allocations: 3.938 kB / 0.5538 GB, free: 8.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.1647, allocations: 55.88 kB / 0.5539 GB, free: 8.578 MB / 414.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.003249/0.168, allocations: 1.417 MB / 0.5553 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.1683, allocations: 134.2 kB / 0.5554 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1683, allocations: 0 / 0.5554 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1684, allocations: 67.91 kB / 0.5555 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.169, allocations: 88.72 kB / 0.5556 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.1729, allocations: 3.033 MB / 0.5585 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.1733, allocations: 0.8065 MB / 0.5593 GB, free: 3.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1735, allocations: 45.91 kB / 0.5594 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.1736, allocations: 123.4 kB / 0.5595 GB, free: 3.055 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1736, allocations: 3.938 kB / 0.5595 GB, free: 3.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.2053, allocations: 7.284 MB / 0.5666 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.388, allocations: 3.938 kB / 0.5666 GB, free: 11.78 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 11.619471551850438]