Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001744/0.001744, 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.0024/0.0024, allocations: 209.6 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.699/1.699, 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.2495/0.2495, allocations: 44.91 MB / 355.1 MB, free: 12.31 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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001984/0.001984, allocations: 67.89 kB / 499.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1505, allocations: 65.43 MB / 0.5518 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003237/0.1538, allocations: 1.626 MB / 0.5534 GB, free: 8.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.155, allocations: 0.5533 MB / 0.5539 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.1551, allocations: 3.938 kB / 0.5539 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1554, allocations: 111.7 kB / 0.554 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1557, allocations: 119.6 kB / 0.5541 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.156, allocations: 111.6 kB / 0.5542 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1562, allocations: 95.73 kB / 0.5543 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1563, allocations: 16.2 kB / 0.5543 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.1564, allocations: 39.89 kB / 0.5544 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1566, allocations: 83.66 kB / 0.5545 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1567, allocations: 4 kB / 0.5545 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1568, allocations: 47.98 kB / 0.5545 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.1568, allocations: 23.92 kB / 0.5545 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.1569, allocations: 39.67 kB / 0.5546 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1571, allocations: 115.5 kB / 0.5547 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1571, allocations: 0 / 0.5547 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1571, allocations: 0 / 0.5547 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1571, allocations: 0 / 0.5547 GB, free: 7.227 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.0005871/0.1577, allocations: 434.5 kB / 0.5551 GB, free: 6.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1577, allocations: 12.03 kB / 0.5551 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.1578, allocations: 34.75 kB / 0.5551 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.1579, allocations: 12.89 kB / 0.5552 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1581, allocations: 208.9 kB / 0.5554 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1581, allocations: 384 / 0.5554 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1581, allocations: 4.375 kB / 0.5554 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1583, allocations: 61.59 kB / 0.5554 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1583, allocations: 3.953 kB / 0.5554 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1583, allocations: 0 / 0.5554 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1583, allocations: 4 kB / 0.5554 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1584, allocations: 35.91 kB / 0.5555 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.1589, allocations: 300.8 kB / 0.5557 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1591, allocations: 42.56 kB / 0.5558 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.1591, allocations: 16.94 kB / 0.5558 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1592, allocations: 3.938 kB / 0.5558 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1592, allocations: 38.56 kB / 0.5558 GB, free: 5.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1592, allocations: 4 kB / 0.5558 GB, free: 5.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009731/0.1602, allocations: 241.5 kB / 0.5561 GB, free: 5.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1602, allocations: 55.41 kB / 0.5561 GB, free: 5.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.1605, allocations: 265.9 kB / 0.5564 GB, free: 5.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1605, allocations: 25.7 kB / 0.5564 GB, free: 5.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.1606, allocations: 112.1 kB / 0.5565 GB, free: 5.137 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1606, allocations: 27.75 kB / 0.5565 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.1607, allocations: 25.7 kB / 0.5566 GB, free: 5.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1608, allocations: 322.8 kB / 0.5569 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.1609, allocations: 31.92 kB / 0.5569 GB, free: 4.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.161, allocations: 35.97 kB / 0.5569 GB, free: 4.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1612, allocations: 72.77 kB / 0.557 GB, free: 4.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1612, allocations: 0 / 0.557 GB, free: 4.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003057/0.1615, allocations: 113.5 kB / 0.5571 GB, free: 4.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1615, allocations: 8 kB / 0.5571 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1615, allocations: 0 / 0.5571 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1615, allocations: 4.094 kB / 0.5571 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1617, allocations: 19.97 kB / 0.5571 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1617, allocations: 7.938 kB / 0.5572 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.1617, allocations: 4 kB / 0.5572 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1617, allocations: 8 kB / 0.5572 GB, free: 4.445 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.0001205/0.1618, allocations: 140 kB / 0.5573 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.1619, allocations: 11.91 kB / 0.5573 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.1622, allocations: 139.3 kB / 0.5574 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1622, allocations: 4 kB / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1622, allocations: 3.938 kB / 0.5575 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1622, allocations: 0 / 0.5575 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.1628, allocations: 427.2 kB / 0.5579 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1628, allocations: 3.984 kB / 0.5579 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.1629, allocations: 15.94 kB / 0.5579 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1629, allocations: 7.969 kB / 0.5579 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1629, allocations: 7.984 kB / 0.5579 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1629, allocations: 0 / 0.5579 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1629, allocations: 0 / 0.5579 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.1632, allocations: 216.2 kB / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.1633, allocations: 85 kB / 0.5582 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1633, allocations: 8 kB / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.1634, allocations: 11.98 kB / 0.5582 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1634, allocations: 0 / 0.5582 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1634, allocations: 4 kB / 0.5582 GB, free: 3.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.1637, allocations: 192.4 kB / 0.5584 GB, free: 3.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1637, allocations: 0 / 0.5584 GB, free: 3.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.164, allocations: 27.88 kB / 0.5584 GB, free: 3.051 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.002354/0.1663, allocations: 1.093 MB / 0.5595 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.1667, allocations: 79.86 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1667, allocations: 0 / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1668, allocations: 39.92 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.1672, allocations: 28.98 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.1696, allocations: 1.811 MB / 0.5614 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.17, allocations: 0.7158 MB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8e-05/0.1701, allocations: 28.64 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.1702, allocations: 35.42 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1702, allocations: 4 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.1969, allocations: 3.348 MB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.294, allocations: 11.94 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.902282034046948]