Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001341/0.001341, allocations: 124.5 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.001399/0.001399, allocations: 207.2 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.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2235/0.2235, allocations: 46.92 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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 0.491 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1297, allocations: 65.98 MB / 0.5554 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003116/0.1328, allocations: 1.72 MB / 0.5571 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1338, allocations: 0.5727 MB / 0.5576 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.1339, allocations: 0 / 0.5576 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1341, allocations: 27.8 kB / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1343, allocations: 79.61 kB / 0.5577 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1347, allocations: 135.3 kB / 0.5579 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1348, allocations: 91.69 kB / 0.5579 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.1349, allocations: 11.98 kB / 0.558 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.135, allocations: 39.8 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.1351, allocations: 51.81 kB / 0.558 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1351, allocations: 4 kB / 0.558 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.1353, allocations: 107.9 kB / 0.5581 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.1353, allocations: 27.86 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.1354, allocations: 39.72 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.1357, allocations: 159.4 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1357, allocations: 0 / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1357, allocations: 0 / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1357, allocations: 0 / 0.5584 GB, free: 2.746 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.0007133/0.1364, allocations: 458.5 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1364, allocations: 8.031 kB / 0.5588 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.1365, allocations: 42.69 kB / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.1366, allocations: 12.83 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1368, allocations: 200.2 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1368, allocations: 384 / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1368, allocations: 4.375 kB / 0.5591 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1371, allocations: 91.31 kB / 0.5591 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1371, allocations: 0 / 0.5591 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1371, allocations: 4 kB / 0.5591 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1371, allocations: 3.984 kB / 0.5592 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.1375, allocations: 67.86 kB / 0.5592 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.1379, allocations: 320.7 kB / 0.5595 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.1382, allocations: 70.52 kB / 0.5596 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1383, allocations: 44.94 kB / 0.5596 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1384, allocations: 7.938 kB / 0.5596 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.1384, allocations: 34.56 kB / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.083e-06/0.1384, allocations: 0 / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001672/0.1401, allocations: 384.9 kB / 0.56 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.1401, allocations: 81.11 kB / 0.5601 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1403, allocations: 165.4 kB / 0.5603 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1404, allocations: 33.7 kB / 0.5603 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.1404, allocations: 96.12 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.1405, allocations: 31.7 kB / 0.5604 GB, free: 416 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.1405, allocations: 25.7 kB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1407, allocations: 322.8 kB / 0.5608 GB, free: 52 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.141, allocations: 75.92 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.1413, allocations: 85.58 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.1419, allocations: 144.8 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1419, allocations: 4 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006952/0.1426, allocations: 189.4 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1426, allocations: 11.98 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1426, allocations: 0 / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1426, allocations: 384 / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.1428, allocations: 35.97 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1428, allocations: 7.922 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.143, allocations: 27.97 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.143, allocations: 8.312 kB / 0.5613 GB, free: 15.46 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.0001106/0.1431, allocations: 121.8 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.1432, allocations: 11.91 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008044/0.144, allocations: 214.1 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.144, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.144, allocations: 3.938 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.144, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.145, allocations: 0.4906 MB / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.145, allocations: 0 / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.1452, allocations: 43.89 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1452, allocations: 4 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1452, allocations: 4 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1452, allocations: 0 / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1452, allocations: 0 / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.1459, allocations: 287.2 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.146, allocations: 92.98 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.146, allocations: 4 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.1462, allocations: 23.97 kB / 0.5626 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.1463, allocations: 11.92 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1463, allocations: 4 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1464, allocations: 130.1 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1464, allocations: 0 / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1467, allocations: 51.86 kB / 0.5628 GB, free: 13.88 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.002708/0.1494, allocations: 1.218 MB / 0.564 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006892/0.1501, allocations: 163.7 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1501, allocations: 0 / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.1505, allocations: 75.92 kB / 0.5642 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1508, allocations: 21.23 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.154, allocations: 1.859 MB / 0.566 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1543, allocations: 0.7041 MB / 0.5667 GB, free: 9.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.532e-05/0.1544, allocations: 28.56 kB / 0.5667 GB, free: 9.863 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.1545, allocations: 35.42 kB / 0.5668 GB, free: 9.828 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1545, allocations: 0 / 0.5668 GB, free: 9.828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.1814, allocations: 4.298 MB / 0.571 GB, free: 5.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.416, allocations: 22.03 kB / 0.571 GB, free: 5.535 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.540136914001778]