Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001881/0.001881, 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.002168/0.002168, 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.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2458/0.2458, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.91 kB / 0.4909 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 66 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003336/0.1472, allocations: 1.711 MB / 0.5571 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1484, allocations: 0.5923 MB / 0.5576 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.1484, allocations: 7.938 kB / 0.5577 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1487, allocations: 23.86 kB / 0.5577 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.149, allocations: 87.55 kB / 0.5578 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.1494, allocations: 175.4 kB / 0.5579 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1496, allocations: 99.69 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1497, allocations: 27.95 kB / 0.558 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.1498, allocations: 35.86 kB / 0.5581 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.1499, allocations: 47.81 kB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1499, allocations: 8 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1501, allocations: 99.88 kB / 0.5582 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.1501, allocations: 23.91 kB / 0.5583 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.1502, allocations: 35.75 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1505, allocations: 179.3 kB / 0.5585 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1505, allocations: 0 / 0.5585 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1505, allocations: 4 kB / 0.5585 GB, free: 2.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1505, allocations: 4 kB / 0.5585 GB, free: 2.672 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.0007403/0.1512, allocations: 450.5 kB / 0.5589 GB, free: 2.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1513, allocations: 12.03 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1513, allocations: 34.75 kB / 0.5589 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.1514, allocations: 8.891 kB / 0.5589 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1516, allocations: 212.2 kB / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1517, allocations: 384 / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1517, allocations: 4.375 kB / 0.5592 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.152, allocations: 103.2 kB / 0.5593 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.152, allocations: 0 / 0.5593 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.152, allocations: 3.984 kB / 0.5593 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.152, allocations: 0 / 0.5593 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.1523, allocations: 75.92 kB / 0.5593 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.153, allocations: 348.7 kB / 0.5597 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.1532, allocations: 82.47 kB / 0.5597 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1534, allocations: 48.94 kB / 0.5598 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1534, allocations: 0 / 0.5598 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1535, allocations: 34.5 kB / 0.5598 GB, free: 1.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1535, allocations: 4 kB / 0.5598 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00173/0.1552, allocations: 409 kB / 0.5602 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.1552, allocations: 81.05 kB / 0.5603 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1554, allocations: 170.9 kB / 0.5605 GB, free: 428 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1555, allocations: 33.64 kB / 0.5605 GB, free: 388 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.1555, allocations: 100.1 kB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.1556, allocations: 31.73 kB / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.1556, allocations: 25.72 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1558, allocations: 322.8 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.1561, allocations: 79.91 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.1564, allocations: 97.62 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.157, allocations: 164.6 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.157, allocations: 8.031 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006867/0.1577, allocations: 205.5 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1577, allocations: 4 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1577, allocations: 0 / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1577, allocations: 7.938 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.1579, allocations: 39.95 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1579, allocations: 3.938 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.1581, allocations: 28.3 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1581, allocations: 4 kB / 0.5616 GB, free: 15.25 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 (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.0001048/0.1582, allocations: 125.8 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.1583, allocations: 7.953 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.159, allocations: 222.4 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.159, allocations: 8 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.159, allocations: 7.938 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.159, allocations: 0 / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.1601, allocations: 0.5217 MB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1601, allocations: 4 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.1603, allocations: 39.89 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1603, allocations: 0 / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1603, allocations: 7.938 kB / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1603, allocations: 0 / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1603, allocations: 4 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007247/0.161, allocations: 295.3 kB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.1611, allocations: 100.9 kB / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1611, allocations: 0 / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.1613, allocations: 27.97 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.1614, allocations: 11.98 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1614, allocations: 0 / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1615, allocations: 131.4 kB / 0.563 GB, free: 13.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1615, allocations: 0 / 0.563 GB, free: 13.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1618, allocations: 47.86 kB / 0.5631 GB, free: 13.6 MB / 430.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.002728/0.1646, allocations: 1.243 MB / 0.5643 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007276/0.1653, allocations: 175.8 kB / 0.5644 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1653, allocations: 192 / 0.5644 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.1656, allocations: 91.8 kB / 0.5645 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.166, allocations: 23.44 kB / 0.5646 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.1694, allocations: 1.94 MB / 0.5664 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1697, allocations: 0.7002 MB / 0.5671 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1698, allocations: 40.5 kB / 0.5672 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.1699, allocations: 39.42 kB / 0.5672 GB, free: 9.414 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1699, allocations: 0 / 0.5672 GB, free: 9.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.1962, allocations: 4.424 MB / 0.5715 GB, free: 5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.164, allocations: 4 kB / 0.5715 GB, free: 4.996 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.496333529008552]