Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001848/0.001848, 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.0022/0.0022, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.604/1.604, 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.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.2411/0.2411, allocations: 44.91 MB / 355.1 MB, free: 12.32 MB / 286.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.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.155, allocations: 65.43 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003476/0.1584, allocations: 1.706 MB / 0.5534 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1596, allocations: 0.5962 MB / 0.554 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.1597, allocations: 4 kB / 0.554 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1599, allocations: 31.73 kB / 0.5541 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.1603, allocations: 79.61 kB / 0.5541 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.1607, allocations: 186.8 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1609, allocations: 95.73 kB / 0.5544 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.161, allocations: 20.2 kB / 0.5544 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.1611, allocations: 39.8 kB / 0.5545 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.1612, allocations: 51.75 kB / 0.5545 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1612, allocations: 8 kB / 0.5545 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1614, allocations: 95.94 kB / 0.5546 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.1615, allocations: 27.84 kB / 0.5546 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.1615, allocations: 43.72 kB / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1618, allocations: 175.4 kB / 0.5548 GB, free: 6.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1618, allocations: 0 / 0.5548 GB, free: 6.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1618, allocations: 0 / 0.5548 GB, free: 6.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1618, allocations: 0 / 0.5548 GB, free: 6.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008373/0.1627, allocations: 454.5 kB / 0.5553 GB, free: 6.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1627, allocations: 8.031 kB / 0.5553 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.1628, allocations: 38.69 kB / 0.5553 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1628, allocations: 12.89 kB / 0.5553 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1631, allocations: 208.2 kB / 0.5555 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1631, allocations: 4.312 kB / 0.5555 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1631, allocations: 4.375 kB / 0.5555 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1634, allocations: 99.28 kB / 0.5556 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1634, allocations: 0 / 0.5556 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1634, allocations: 0 / 0.5556 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1634, allocations: 0 / 0.5556 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.1638, allocations: 79.86 kB / 0.5557 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.1646, allocations: 348.7 kB / 0.556 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1649, allocations: 74.53 kB / 0.5561 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.1651, allocations: 52.88 kB / 0.5562 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1651, allocations: 0 / 0.5562 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1651, allocations: 34.56 kB / 0.5562 GB, free: 5.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.1651, allocations: 4 kB / 0.5562 GB, free: 5.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001866/0.167, allocations: 405 kB / 0.5566 GB, free: 4.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1671, allocations: 77.11 kB / 0.5567 GB, free: 4.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.1673, allocations: 178.8 kB / 0.5568 GB, free: 4.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1673, allocations: 25.7 kB / 0.5569 GB, free: 4.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.1674, allocations: 108 kB / 0.557 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.1675, allocations: 27.8 kB / 0.557 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.1675, allocations: 25.7 kB / 0.557 GB, free: 4.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1677, allocations: 322.8 kB / 0.5573 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.168, allocations: 79.91 kB / 0.5574 GB, free: 4.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.1684, allocations: 101.6 kB / 0.5575 GB, free: 3.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.169, allocations: 173 kB / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.169, allocations: 0 / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000799/0.1698, allocations: 213.4 kB / 0.5579 GB, free: 3.609 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1698, allocations: 4 kB / 0.5579 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1698, allocations: 384 / 0.5579 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1699, allocations: 0 / 0.5579 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.1701, allocations: 39.95 kB / 0.5579 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1701, allocations: 7.938 kB / 0.5579 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.1703, allocations: 35.86 kB / 0.5579 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1703, allocations: 4 kB / 0.558 GB, free: 3.52 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 (10): * Single equations (assignments): 10 * 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.0001229/0.1704, allocations: 125.8 kB / 0.5581 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.1705, allocations: 7.953 kB / 0.5581 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007876/0.1712, allocations: 226.2 kB / 0.5583 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1712, allocations: 0 / 0.5583 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1713, allocations: 3.938 kB / 0.5583 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1713, allocations: 0 / 0.5583 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.1724, allocations: 0.5218 MB / 0.5588 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1724, allocations: 0 / 0.5588 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.1726, allocations: 39.89 kB / 0.5588 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1726, allocations: 0 / 0.5588 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1726, allocations: 4 kB / 0.5588 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1726, allocations: 0 / 0.5588 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1726, allocations: 3.938 kB / 0.5589 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.1734, allocations: 303.5 kB / 0.5591 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.1734, allocations: 96.94 kB / 0.5592 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1735, allocations: 8 kB / 0.5592 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1737, allocations: 23.97 kB / 0.5593 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.1737, allocations: 15.92 kB / 0.5593 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1738, allocations: 4 kB / 0.5593 GB, free: 2.047 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1739, allocations: 131.4 kB / 0.5594 GB, free: 1.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1739, allocations: 0 / 0.5594 GB, free: 1.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.1743, allocations: 43.88 kB / 0.5595 GB, free: 1.875 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 (9): * Single equations (assignments): 9 * 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.002892/0.1772, allocations: 1.241 MB / 0.5607 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.1779, allocations: 175.8 kB / 0.5608 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1779, allocations: 0 / 0.5608 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.1782, allocations: 83.92 kB / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1786, allocations: 32.09 kB / 0.5609 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.1823, allocations: 1.929 MB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1826, allocations: 0.7002 MB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1828, allocations: 40.84 kB / 0.5635 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.1829, allocations: 39.52 kB / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1829, allocations: 3.938 kB / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2119, allocations: 4.421 MB / 0.5679 GB, free: 9.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.389, allocations: 4 kB / 0.5679 GB, free: 9.285 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.84076940221712]