Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001759/0.001759, 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.002308/0.002308, allocations: 211.2 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.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2407/0.2407, allocations: 44.91 MB / 355.1 MB, free: 12.36 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.00282/0.00282, allocations: 71.88 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1423, allocations: 65.42 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003174/0.1454, allocations: 1.638 MB / 0.5534 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1465, allocations: 0.5416 MB / 0.5539 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.1466, allocations: 0 / 0.5539 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1469, allocations: 91.73 kB / 0.554 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1472, allocations: 115.6 kB / 0.5541 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1474, allocations: 91.75 kB / 0.5542 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1476, allocations: 87.75 kB / 0.5543 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1477, allocations: 11.94 kB / 0.5543 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.963e-05/0.1478, allocations: 39.83 kB / 0.5543 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1479, allocations: 67.73 kB / 0.5544 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1479, allocations: 0 / 0.5544 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.148, allocations: 51.98 kB / 0.5544 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.1481, allocations: 19.92 kB / 0.5545 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.1481, allocations: 31.73 kB / 0.5545 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1483, allocations: 111.5 kB / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1483, allocations: 0 / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1483, allocations: 0 / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1483, allocations: 4 kB / 0.5546 GB, free: 7.234 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.0005332/0.1489, allocations: 426.6 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1489, allocations: 12.03 kB / 0.555 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1489, allocations: 38.75 kB / 0.555 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.149, allocations: 12.84 kB / 0.5551 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1492, allocations: 196.2 kB / 0.5552 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1492, allocations: 4.375 kB / 0.5553 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1492, allocations: 4.328 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1494, allocations: 61.55 kB / 0.5553 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1494, allocations: 4 kB / 0.5553 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1494, allocations: 0 / 0.5553 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.1494, allocations: 3.938 kB / 0.5553 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1495, allocations: 31.97 kB / 0.5554 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.1499, allocations: 296.8 kB / 0.5556 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.15, allocations: 42.5 kB / 0.5557 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.1501, allocations: 12.86 kB / 0.5557 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1501, allocations: 0 / 0.5557 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1501, allocations: 42.64 kB / 0.5557 GB, free: 5.898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1501, allocations: 0 / 0.5557 GB, free: 5.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009479/0.1511, allocations: 229.6 kB / 0.5559 GB, free: 5.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1511, allocations: 51.41 kB / 0.556 GB, free: 5.605 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.1514, allocations: 238.6 kB / 0.5562 GB, free: 5.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1514, allocations: 25.7 kB / 0.5562 GB, free: 5.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1516, allocations: 108.1 kB / 0.5564 GB, free: 5.219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1516, allocations: 31.81 kB / 0.5564 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1517, allocations: 21.7 kB / 0.5564 GB, free: 5.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1518, allocations: 326.8 kB / 0.5567 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.1519, allocations: 31.92 kB / 0.5567 GB, free: 4.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.152, allocations: 23.98 kB / 0.5568 GB, free: 4.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1521, allocations: 60.83 kB / 0.5568 GB, free: 4.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1521, allocations: 0 / 0.5568 GB, free: 4.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002381/0.1524, allocations: 109.5 kB / 0.5569 GB, free: 4.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1524, allocations: 4 kB / 0.5569 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1524, allocations: 0 / 0.5569 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1524, allocations: 0 / 0.5569 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1525, allocations: 27.92 kB / 0.557 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1525, allocations: 3.938 kB / 0.557 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.1526, allocations: 4 kB / 0.557 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1526, allocations: 320 / 0.557 GB, free: 4.562 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 (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.000138/0.1527, allocations: 133.1 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.1528, allocations: 11.95 kB / 0.5571 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.1532, allocations: 127 kB / 0.5572 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1532, allocations: 11.94 kB / 0.5572 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1532, allocations: 3.938 kB / 0.5572 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1532, allocations: 0 / 0.5572 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.1539, allocations: 399.3 kB / 0.5576 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1539, allocations: 3.984 kB / 0.5576 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.154, allocations: 19.94 kB / 0.5576 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.154, allocations: 32 / 0.5576 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.154, allocations: 11.98 kB / 0.5577 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.154, allocations: 4 kB / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.154, allocations: 0 / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.1543, allocations: 208.2 kB / 0.5579 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1544, allocations: 89 kB / 0.5579 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1544, allocations: 4 kB / 0.558 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.1545, allocations: 4 kB / 0.558 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1545, allocations: 11.98 kB / 0.558 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-06/0.1545, allocations: 4 kB / 0.558 GB, free: 3.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1547, allocations: 175.2 kB / 0.5581 GB, free: 3.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1547, allocations: 0 / 0.5581 GB, free: 3.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.155, allocations: 31.88 kB / 0.5582 GB, free: 3.219 MB / 414.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.002389/0.1574, allocations: 1.096 MB / 0.5592 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1576, allocations: 55.97 kB / 0.5593 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1576, allocations: 0 / 0.5593 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.1577, allocations: 36.06 kB / 0.5593 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1581, allocations: 30.69 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1603, allocations: 1.712 MB / 0.561 GB, free: 380 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.1607, allocations: 0.708 MB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.1608, allocations: 16.66 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.1608, allocations: 35.42 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1608, allocations: 0 / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.185, allocations: 3.215 MB / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.197, allocations: 8 kB / 0.5649 GB, free: 12.41 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_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_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.679625645745546]