Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_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.001737/0.001737, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002024/0.002024, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.566/1.566, 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.2294/0.2294, 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_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.001991/0.001991, allocations: 71.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.124, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003215/0.1272, allocations: 1.617 MB / 0.5533 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1283, allocations: 0.5572 MB / 0.5539 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.1284, allocations: 8 kB / 0.5539 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1286, allocations: 19.84 kB / 0.5539 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.1289, allocations: 79.62 kB / 0.554 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1292, allocations: 95.27 kB / 0.5541 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1293, allocations: 75.77 kB / 0.5542 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1294, allocations: 15.92 kB / 0.5542 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.1295, allocations: 27.91 kB / 0.5542 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.1296, allocations: 31.86 kB / 0.5542 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1296, allocations: 4 kB / 0.5542 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.1298, allocations: 107.9 kB / 0.5543 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.1298, allocations: 23.91 kB / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.1299, allocations: 27.81 kB / 0.5544 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.1302, allocations: 147.4 kB / 0.5545 GB, free: 7.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1302, allocations: 4 kB / 0.5545 GB, free: 7.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1302, allocations: 0 / 0.5545 GB, free: 7.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1302, allocations: 0 / 0.5545 GB, free: 7.277 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00057/0.1307, allocations: 410.8 kB / 0.5549 GB, free: 6.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1308, allocations: 8.031 kB / 0.5549 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.1308, allocations: 30.75 kB / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.1309, allocations: 12.89 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1311, allocations: 204.2 kB / 0.5552 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.1311, allocations: 384 / 0.5552 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1311, allocations: 8.312 kB / 0.5552 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1313, allocations: 63.34 kB / 0.5552 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1313, allocations: 0 / 0.5552 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1313, allocations: 4 kB / 0.5552 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1313, allocations: 7.984 kB / 0.5552 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1314, allocations: 27.98 kB / 0.5553 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.1319, allocations: 304.8 kB / 0.5556 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.132, allocations: 54.55 kB / 0.5556 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.1321, allocations: 24.97 kB / 0.5556 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1321, allocations: 4 kB / 0.5556 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1322, allocations: 34.56 kB / 0.5557 GB, free: 5.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1322, allocations: 0 / 0.5557 GB, free: 5.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007315/0.1329, allocations: 185.3 kB / 0.5559 GB, free: 5.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.1329, allocations: 77.11 kB / 0.5559 GB, free: 5.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1331, allocations: 156.2 kB / 0.5561 GB, free: 5.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1331, allocations: 29.7 kB / 0.5561 GB, free: 5.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.1332, allocations: 100.1 kB / 0.5562 GB, free: 5.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1332, allocations: 23.8 kB / 0.5562 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.1333, allocations: 29.64 kB / 0.5562 GB, free: 5.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1334, allocations: 322.7 kB / 0.5566 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.1335, allocations: 35.97 kB / 0.5566 GB, free: 4.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1336, allocations: 49.69 kB / 0.5566 GB, free: 4.871 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.1338, allocations: 64.83 kB / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1338, allocations: 384 / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002514/0.134, allocations: 121.5 kB / 0.5568 GB, free: 4.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1341, allocations: 6.031 kB / 0.5568 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1341, allocations: 0 / 0.5568 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1341, allocations: 7.984 kB / 0.5568 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1342, allocations: 20.03 kB / 0.5568 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1342, allocations: 7.984 kB / 0.5569 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1343, allocations: 3.938 kB / 0.5569 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1343, allocations: 7.938 kB / 0.5569 GB, free: 4.629 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 (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 prepare postOptimizeDAE: time 0.0001002/0.1344, allocations: 113.8 kB / 0.557 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.1344, allocations: 15.88 kB / 0.557 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.1347, allocations: 118.3 kB / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1347, allocations: 8 kB / 0.5571 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1347, allocations: 0 / 0.5571 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1347, allocations: 0 / 0.5571 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.1353, allocations: 402.3 kB / 0.5575 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1353, allocations: 288 / 0.5575 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.1354, allocations: 15.94 kB / 0.5575 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1354, allocations: 11.97 kB / 0.5575 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1354, allocations: 11.88 kB / 0.5575 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1354, allocations: 0 / 0.5575 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1354, allocations: 0 / 0.5575 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1357, allocations: 195.7 kB / 0.5577 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.1357, allocations: 85.06 kB / 0.5578 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1357, allocations: 7.938 kB / 0.5578 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.1358, allocations: 7.984 kB / 0.5578 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.1359, allocations: 8 kB / 0.5578 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1359, allocations: 0 / 0.5578 GB, free: 3.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.136, allocations: 124.6 kB / 0.5579 GB, free: 3.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.136, allocations: 0 / 0.5579 GB, free: 3.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1363, allocations: 43.86 kB / 0.558 GB, free: 3.375 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 (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.002248/0.1386, allocations: 1.133 MB / 0.5591 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.1388, allocations: 67.89 kB / 0.5592 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1388, allocations: 0 / 0.5592 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1389, allocations: 43.95 kB / 0.5592 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1393, allocations: 14.66 kB / 0.5592 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1412, allocations: 1.565 MB / 0.5607 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1415, allocations: 0.7 MB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.653e-05/0.1416, allocations: 20.42 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.1417, allocations: 35.41 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1417, allocations: 0 / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.1651, allocations: 3.583 MB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.33, allocations: 7.234 kB / 0.565 GB, free: 12.29 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.665263264905661]