Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001672/0.001672, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001936/0.001936, allocations: 208.3 kB / 20.74 MB, free: 2.336 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.651/1.651, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2338/0.2338, 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001957/0.001957, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1389, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003358/0.1422, allocations: 1.622 MB / 0.5534 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1434, allocations: 0.5455 MB / 0.5539 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.1435, allocations: 4 kB / 0.5539 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.1439, allocations: 123.6 kB / 0.554 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.1443, allocations: 127.6 kB / 0.5541 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1446, allocations: 99.27 kB / 0.5542 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1448, allocations: 99.72 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1449, allocations: 15.94 kB / 0.5543 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.145, allocations: 51.88 kB / 0.5544 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1452, allocations: 91.7 kB / 0.5545 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1452, allocations: 4 kB / 0.5545 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1453, allocations: 51.91 kB / 0.5545 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.1454, allocations: 23.92 kB / 0.5546 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.1455, allocations: 43.67 kB / 0.5546 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1457, allocations: 119.4 kB / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1457, allocations: 0 / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1457, allocations: 0 / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.1457, allocations: 4 kB / 0.5547 GB, free: 7.105 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.0006736/0.1464, allocations: 438.5 kB / 0.5551 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1465, allocations: 8.031 kB / 0.5551 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.1465, allocations: 42.62 kB / 0.5552 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1465, allocations: 16.84 kB / 0.5552 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1468, allocations: 219.8 kB / 0.5554 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1468, allocations: 4.375 kB / 0.5554 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1468, allocations: 384 / 0.5554 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.147, allocations: 61.61 kB / 0.5555 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.147, allocations: 4 kB / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.147, allocations: 0 / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.147, allocations: 0 / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1471, allocations: 31.91 kB / 0.5555 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1476, allocations: 296.8 kB / 0.5558 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1477, allocations: 46.56 kB / 0.5558 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.1477, allocations: 16.94 kB / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1478, allocations: 0 / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1478, allocations: 38.5 kB / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1478, allocations: 0 / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00097/0.1488, allocations: 237 kB / 0.5561 GB, free: 5.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1488, allocations: 59.39 kB / 0.5562 GB, free: 5.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.1491, allocations: 279.7 kB / 0.5564 GB, free: 5.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1491, allocations: 25.7 kB / 0.5565 GB, free: 5.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.1492, allocations: 112.1 kB / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.1493, allocations: 31.73 kB / 0.5566 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.1493, allocations: 25.72 kB / 0.5566 GB, free: 4.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1495, allocations: 326.8 kB / 0.5569 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.1495, allocations: 20.06 kB / 0.5569 GB, free: 4.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.1496, allocations: 31.95 kB / 0.557 GB, free: 4.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1498, allocations: 56.84 kB / 0.557 GB, free: 4.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1498, allocations: 0 / 0.557 GB, free: 4.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002293/0.15, allocations: 117.5 kB / 0.5571 GB, free: 4.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.15, allocations: 4 kB / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.15, allocations: 0 / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1501, allocations: 0 / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1502, allocations: 19.98 kB / 0.5572 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.1502, allocations: 3.938 kB / 0.5572 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1502, allocations: 11.98 kB / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1502, allocations: 0 / 0.5572 GB, free: 4.332 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.0001273/0.1503, allocations: 140 kB / 0.5573 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.1504, allocations: 15.91 kB / 0.5573 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.1507, allocations: 123.3 kB / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1507, allocations: 0 / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1507, allocations: 4.359 kB / 0.5575 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1507, allocations: 0 / 0.5575 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.1513, allocations: 423.2 kB / 0.5579 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1513, allocations: 4 kB / 0.5579 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.1514, allocations: 15.94 kB / 0.5579 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1514, allocations: 3.984 kB / 0.5579 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1514, allocations: 11.98 kB / 0.5579 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1514, allocations: 0 / 0.5579 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1514, allocations: 3.938 kB / 0.5579 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1517, allocations: 208.3 kB / 0.5581 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.1518, allocations: 96.89 kB / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1518, allocations: 4 kB / 0.5582 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1519, allocations: 8 kB / 0.5582 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1519, allocations: 3.984 kB / 0.5582 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1519, allocations: 4 kB / 0.5582 GB, free: 3.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.1521, allocations: 209.5 kB / 0.5584 GB, free: 2.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1521, allocations: 4 kB / 0.5584 GB, free: 2.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1524, allocations: 23.94 kB / 0.5584 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.002233/0.1546, allocations: 1.089 MB / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1549, allocations: 63.89 kB / 0.5596 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1549, allocations: 0 / 0.5596 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/0.1549, allocations: 31.98 kB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1553, allocations: 24.08 kB / 0.5596 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1576, allocations: 1.828 MB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.1579, allocations: 0.7158 MB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.158, allocations: 12.66 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.1581, allocations: 43.42 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1581, allocations: 0 / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.1842, allocations: 3.403 MB / 0.5655 GB, free: 11.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.328, allocations: 18.27 kB / 0.5655 GB, free: 11.8 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.736344076693058]