Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001836/0.001836, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002249/0.002249, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.638/1.638, 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.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.2296/0.2296, allocations: 44.91 MB / 355.1 MB, free: 12.42 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001983/0.001983, allocations: 67.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1469, allocations: 65.42 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003177/0.1501, allocations: 1.626 MB / 0.5534 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1512, allocations: 0.5377 MB / 0.5539 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.1513, allocations: 0 / 0.5539 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1516, allocations: 83.7 kB / 0.554 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1519, allocations: 103.6 kB / 0.5541 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1521, allocations: 87.78 kB / 0.5542 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1523, allocations: 91.73 kB / 0.5542 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1524, allocations: 15.92 kB / 0.5543 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.1525, allocations: 31.91 kB / 0.5543 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1526, allocations: 71.67 kB / 0.5544 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1526, allocations: 0 / 0.5544 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1527, allocations: 47.98 kB / 0.5544 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.1528, allocations: 19.92 kB / 0.5544 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.1528, allocations: 31.73 kB / 0.5544 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1531, allocations: 103.6 kB / 0.5545 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1531, allocations: 4 kB / 0.5546 GB, free: 7.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1531, allocations: 0 / 0.5546 GB, free: 7.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1531, allocations: 0 / 0.5546 GB, free: 7.289 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.0005688/0.1536, allocations: 422.6 kB / 0.555 GB, free: 6.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1537, allocations: 8.031 kB / 0.555 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.1537, allocations: 42.69 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1538, allocations: 16.83 kB / 0.555 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.154, allocations: 199.2 kB / 0.5552 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.154, allocations: 384 / 0.5552 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.154, allocations: 12.36 kB / 0.5552 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1542, allocations: 57.61 kB / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1542, allocations: 0 / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1542, allocations: 0 / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1542, allocations: 0 / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1543, allocations: 31.91 kB / 0.5553 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.1547, allocations: 296.8 kB / 0.5556 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1549, allocations: 42.56 kB / 0.5556 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.1549, allocations: 20.88 kB / 0.5556 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.155, allocations: 4 kB / 0.5557 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.155, allocations: 30.56 kB / 0.5557 GB, free: 5.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.155, allocations: 0 / 0.5557 GB, free: 5.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009505/0.1559, allocations: 225.5 kB / 0.5559 GB, free: 5.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.156, allocations: 51.41 kB / 0.5559 GB, free: 5.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.1562, allocations: 222.3 kB / 0.5562 GB, free: 5.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1562, allocations: 29.7 kB / 0.5562 GB, free: 5.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.1563, allocations: 100.1 kB / 0.5563 GB, free: 5.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1564, allocations: 35.81 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.1564, allocations: 21.7 kB / 0.5563 GB, free: 5.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1566, allocations: 322.8 kB / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.1566, allocations: 31.97 kB / 0.5567 GB, free: 4.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.1567, allocations: 19.98 kB / 0.5567 GB, free: 4.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1569, allocations: 64.77 kB / 0.5568 GB, free: 4.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1569, allocations: 4 kB / 0.5568 GB, free: 4.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002214/0.1571, allocations: 101.6 kB / 0.5569 GB, free: 4.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1571, allocations: 6.031 kB / 0.5569 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1571, allocations: 96 / 0.5569 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1572, allocations: 3.984 kB / 0.5569 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1573, allocations: 19.98 kB / 0.5569 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1573, allocations: 3.938 kB / 0.5569 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.1573, allocations: 11.98 kB / 0.5569 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1573, allocations: 4 kB / 0.5569 GB, free: 4.645 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.0001175/0.1574, allocations: 136 kB / 0.557 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.1575, allocations: 11.91 kB / 0.557 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.1578, allocations: 123.3 kB / 0.5572 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1578, allocations: 0 / 0.5572 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1578, allocations: 3.938 kB / 0.5572 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1578, allocations: 0 / 0.5572 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.1584, allocations: 411.2 kB / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1584, allocations: 0 / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.152e-05/0.1585, allocations: 27.86 kB / 0.5576 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1585, allocations: 0 / 0.5576 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1585, allocations: 0 / 0.5576 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1585, allocations: 4 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1585, allocations: 0 / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.1588, allocations: 208.3 kB / 0.5578 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.1588, allocations: 88.95 kB / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1589, allocations: 4 kB / 0.5579 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.1589, allocations: 7.984 kB / 0.5579 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.159, allocations: 4 kB / 0.5579 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.159, allocations: 8 kB / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1591, allocations: 172.2 kB / 0.5581 GB, free: 3.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1591, allocations: 0 / 0.5581 GB, free: 3.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1594, allocations: 23.94 kB / 0.5581 GB, free: 3.32 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.002242/0.1617, allocations: 1.087 MB / 0.5591 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1619, allocations: 67.89 kB / 0.5592 GB, free: 2.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1619, allocations: 0 / 0.5592 GB, free: 2.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.162, allocations: 31.92 kB / 0.5592 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1624, allocations: 21.3 kB / 0.5593 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.1645, allocations: 1.679 MB / 0.5609 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1649, allocations: 0.708 MB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.1649, allocations: 12.66 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.165, allocations: 35.42 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.165, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1906, allocations: 3.13 MB / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.268, allocations: 15.17 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.666351301129907]