Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.00133/0.00133, 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.001746/0.001746, 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.525/1.525, 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.2514/0.2514, allocations: 44.9 MB / 355.1 MB, free: 12.41 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.002074/0.002074, allocations: 67.89 kB / 499.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1471, allocations: 65.42 MB / 0.5518 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003273/0.1503, allocations: 1.631 MB / 0.5534 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1515, allocations: 0.5456 MB / 0.5539 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.1516, allocations: 3.938 kB / 0.5539 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.1519, allocations: 127.7 kB / 0.554 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.1523, allocations: 135.5 kB / 0.5542 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.1527, allocations: 107.7 kB / 0.5543 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1529, allocations: 99.72 kB / 0.5544 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.153, allocations: 15.94 kB / 0.5544 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.1531, allocations: 47.81 kB / 0.5544 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1532, allocations: 95.7 kB / 0.5545 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1532, allocations: 4 kB / 0.5545 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1534, allocations: 43.98 kB / 0.5545 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.1534, allocations: 35.91 kB / 0.5546 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.1535, allocations: 39.67 kB / 0.5546 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1537, allocations: 123.4 kB / 0.5547 GB, free: 7.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1537, allocations: 3.938 kB / 0.5547 GB, free: 7.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1537, allocations: 0 / 0.5547 GB, free: 7.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1537, allocations: 0 / 0.5547 GB, free: 7.199 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.0006257/0.1543, allocations: 442.5 kB / 0.5552 GB, free: 6.719 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1544, allocations: 8.031 kB / 0.5552 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.1544, allocations: 30.75 kB / 0.5552 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.1545, allocations: 28.83 kB / 0.5552 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1548, allocations: 219.8 kB / 0.5554 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1548, allocations: 384 / 0.5554 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1548, allocations: 8.375 kB / 0.5554 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1549, allocations: 53.56 kB / 0.5555 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.155, allocations: 0 / 0.5555 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.155, allocations: 4 kB / 0.5555 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.155, allocations: 3.984 kB / 0.5555 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1551, allocations: 23.98 kB / 0.5555 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1555, allocations: 308.8 kB / 0.5558 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1557, allocations: 46.48 kB / 0.5559 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.1557, allocations: 16.86 kB / 0.5559 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1557, allocations: 0 / 0.5559 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1558, allocations: 42.64 kB / 0.5559 GB, free: 5.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1558, allocations: 0 / 0.5559 GB, free: 5.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009755/0.1568, allocations: 261.4 kB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.1568, allocations: 51.41 kB / 0.5562 GB, free: 5.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.1571, allocations: 283.7 kB / 0.5565 GB, free: 5.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1571, allocations: 29.7 kB / 0.5565 GB, free: 5.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.1572, allocations: 112.1 kB / 0.5566 GB, free: 5.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1573, allocations: 31.73 kB / 0.5567 GB, free: 5.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1573, allocations: 17.72 kB / 0.5567 GB, free: 4.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1575, allocations: 322.8 kB / 0.557 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.1576, allocations: 31.97 kB / 0.557 GB, free: 4.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.072e-05/0.1577, allocations: 39.92 kB / 0.5571 GB, free: 4.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1578, allocations: 76.75 kB / 0.5571 GB, free: 4.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1578, allocations: 0 / 0.5571 GB, free: 4.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002386/0.1581, allocations: 113.5 kB / 0.5572 GB, free: 4.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1581, allocations: 5.875 kB / 0.5572 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1581, allocations: 4 kB / 0.5572 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1581, allocations: 0 / 0.5572 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1582, allocations: 19.98 kB / 0.5573 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1582, allocations: 8.188 kB / 0.5573 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.1583, allocations: 11.98 kB / 0.5573 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1583, allocations: 4 kB / 0.5573 GB, free: 4.355 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.0001183/0.1584, allocations: 136 kB / 0.5574 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.1585, allocations: 11.91 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.1588, allocations: 135 kB / 0.5576 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1588, allocations: 4 kB / 0.5576 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1588, allocations: 3.938 kB / 0.5576 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1588, allocations: 0 / 0.5576 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.1594, allocations: 431.2 kB / 0.558 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.1594, allocations: 7.984 kB / 0.558 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.1595, allocations: 23.88 kB / 0.558 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1595, allocations: 4 kB / 0.558 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1595, allocations: 8.016 kB / 0.558 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1595, allocations: 0 / 0.558 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1595, allocations: 0 / 0.558 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.1599, allocations: 212.3 kB / 0.5582 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.1599, allocations: 96.89 kB / 0.5583 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.16, allocations: 0 / 0.5583 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.16, allocations: 15.92 kB / 0.5583 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1601, allocations: 8 kB / 0.5583 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1601, allocations: 3.984 kB / 0.5583 GB, free: 3.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.1603, allocations: 205.5 kB / 0.5585 GB, free: 2.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1603, allocations: 0 / 0.5585 GB, free: 2.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1606, allocations: 23.94 kB / 0.5586 GB, free: 2.941 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.002338/0.1629, allocations: 1.105 MB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1632, allocations: 75.88 kB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1632, allocations: 0 / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1633, allocations: 48.05 kB / 0.5598 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.1637, allocations: 21.95 kB / 0.5598 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.1662, allocations: 1.859 MB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1666, allocations: 0.721 MB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.592e-05/0.1667, allocations: 20.64 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.1668, allocations: 43.42 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1668, allocations: 0 / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.1934, allocations: 3.472 MB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.424, allocations: 4.062 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.706738607026637]