Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001663/0.001663, allocations: 123.4 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.002145/0.002145, allocations: 208.3 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.496/1.496, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2414/0.2414, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 0.491 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1493, allocations: 66 MB / 0.5554 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003448/0.1528, allocations: 1.672 MB / 0.557 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.154, allocations: 0.5923 MB / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.1541, allocations: 0 / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.1547, allocations: 455.1 kB / 0.5581 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.1553, allocations: 291.3 kB / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.1558, allocations: 183.1 kB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.156, allocations: 175.7 kB / 0.5587 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1562, allocations: 20.22 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1563, allocations: 111.7 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.1566, allocations: 259.4 kB / 0.559 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1566, allocations: 4 kB / 0.5591 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1567, allocations: 47.98 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1569, allocations: 91.69 kB / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.157, allocations: 111 kB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.1574, allocations: 282.5 kB / 0.5596 GB, free: 1.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1574, allocations: 0 / 0.5596 GB, free: 1.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1574, allocations: 3.938 kB / 0.5596 GB, free: 1.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1574, allocations: 0 / 0.5596 GB, free: 1.527 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.0009031/0.1583, allocations: 0.6762 MB / 0.5602 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1583, allocations: 8.031 kB / 0.5602 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.1584, allocations: 34.75 kB / 0.5603 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.1585, allocations: 48.66 kB / 0.5603 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1589, allocations: 312.6 kB / 0.5606 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1589, allocations: 4.375 kB / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1589, allocations: 384 / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.1592, allocations: 73.55 kB / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.1592, allocations: 0 / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1592, allocations: 0 / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1592, allocations: 3.938 kB / 0.5607 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1593, allocations: 35.97 kB / 0.5607 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/0.1602, allocations: 412.6 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.1603, allocations: 42.56 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.1604, allocations: 16.94 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.1604, allocations: 4 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.1604, allocations: 38.56 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1604, allocations: 96 / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001164/0.1616, allocations: 328.4 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.1617, allocations: 55.34 kB / 0.5616 GB, free: 15.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.1627, allocations: 0.8777 MB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1627, allocations: 33.7 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.1629, allocations: 224.1 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.163, allocations: 35.72 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.163, allocations: 21.72 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.1632, allocations: 362.8 kB / 0.5631 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.1633, allocations: 27.98 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.1634, allocations: 35.97 kB / 0.5631 GB, free: 13.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.1636, allocations: 77.05 kB / 0.5632 GB, free: 13.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1636, allocations: 3.938 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002754/0.1639, allocations: 153.2 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1639, allocations: 4 kB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1639, allocations: 0 / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1639, allocations: 0 / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.164, allocations: 23.92 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1641, allocations: 4 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.1641, allocations: 8 kB / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1641, allocations: 4 kB / 0.5634 GB, free: 13.34 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 (8): * Single equations (assignments): 8 * 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.0002136/0.1643, allocations: 216 kB / 0.5636 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.1644, allocations: 43.72 kB / 0.5637 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.1648, allocations: 177.5 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1648, allocations: 3.938 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1648, allocations: 8 kB / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1648, allocations: 0 / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/0.1656, allocations: 0.523 MB / 0.5643 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1656, allocations: 0 / 0.5643 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.1657, allocations: 19.98 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1657, allocations: 4.031 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1657, allocations: 4 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1657, allocations: 4 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1657, allocations: 0 / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.1661, allocations: 259.9 kB / 0.5646 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1662, allocations: 112.8 kB / 0.5647 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1662, allocations: 8 kB / 0.5647 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.1663, allocations: 11.98 kB / 0.5648 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1663, allocations: 4 kB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1663, allocations: 0 / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006735/0.167, allocations: 0.6628 MB / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.167, allocations: 0 / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1673, allocations: 31.92 kB / 0.5654 GB, free: 11.15 MB / 430.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 (8): * Single equations (assignments): 8 * 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.002227/0.1695, allocations: 1.141 MB / 0.5665 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.1698, allocations: 79.88 kB / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1698, allocations: 0 / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1699, allocations: 35.97 kB / 0.5667 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.1703, allocations: 30.3 kB / 0.5667 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.1745, allocations: 3.395 MB / 0.57 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.175, allocations: 0.83 MB / 0.5708 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.1751, allocations: 32.64 kB / 0.5708 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.1753, allocations: 119.4 kB / 0.571 GB, free: 5.535 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1753, allocations: 0 / 0.571 GB, free: 5.535 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.2057, allocations: 6.496 MB / 0.5773 GB, free: 15.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.656, allocations: 11.33 kB / 0.5773 GB, free: 15.07 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.918581267003901]