Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001974/0.001974, allocations: 123.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.002089/0.002089, allocations: 204.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.492/1.492, 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.2215/0.2215, allocations: 44.9 MB / 355.1 MB, free: 12.34 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.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14",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.002848/0.002848, allocations: 69.94 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1424, allocations: 65.41 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003098/0.1455, allocations: 1.667 MB / 0.5534 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1475, allocations: 1.21 MB / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.1475, allocations: 0 / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.1477, allocations: 35.77 kB / 0.5546 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1481, allocations: 87.61 kB / 0.5547 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.1485, allocations: 174.8 kB / 0.5549 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1486, allocations: 71.77 kB / 0.5549 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1487, allocations: 24.19 kB / 0.555 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.604e-05/0.1488, allocations: 31.86 kB / 0.555 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.149, allocations: 47.77 kB / 0.555 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.149, allocations: 4 kB / 0.555 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1492, allocations: 103.9 kB / 0.5551 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.1492, allocations: 19.92 kB / 0.5552 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.1493, allocations: 23.81 kB / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.1495, allocations: 163.4 kB / 0.5553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1495, allocations: 0 / 0.5553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1495, allocations: 0 / 0.5553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1496, allocations: 0 / 0.5553 GB, free: 6.469 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.0006878/0.1502, allocations: 422.7 kB / 0.5557 GB, free: 6.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1503, allocations: 12.03 kB / 0.5557 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.1503, allocations: 34.73 kB / 0.5558 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1504, allocations: 8.891 kB / 0.5558 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1506, allocations: 208.1 kB / 0.556 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1506, allocations: 4.375 kB / 0.556 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1506, allocations: 8.375 kB / 0.556 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1508, allocations: 79.31 kB / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1509, allocations: 0 / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1509, allocations: 0 / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1509, allocations: 0 / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.151, allocations: 39.97 kB / 0.5561 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.1515, allocations: 328.6 kB / 0.5564 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1517, allocations: 42.55 kB / 0.5565 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.1517, allocations: 28.92 kB / 0.5565 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1518, allocations: 0 / 0.5565 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1518, allocations: 34.56 kB / 0.5565 GB, free: 5.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1518, allocations: 0 / 0.5565 GB, free: 5.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008441/0.1526, allocations: 233.4 kB / 0.5568 GB, free: 4.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.1527, allocations: 81.11 kB / 0.5568 GB, free: 4.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1529, allocations: 163.1 kB / 0.557 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1529, allocations: 25.7 kB / 0.557 GB, free: 4.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.153, allocations: 104 kB / 0.5571 GB, free: 4.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.153, allocations: 23.84 kB / 0.5571 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.153, allocations: 21.72 kB / 0.5572 GB, free: 4.379 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1532, allocations: 318.8 kB / 0.5575 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1533, allocations: 43.97 kB / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1534, allocations: 53.67 kB / 0.5575 GB, free: 3.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1537, allocations: 89.02 kB / 0.5576 GB, free: 3.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1537, allocations: 3.938 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003088/0.154, allocations: 129.6 kB / 0.5578 GB, free: 3.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.154, allocations: 4 kB / 0.5578 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.154, allocations: 0 / 0.5578 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.154, allocations: 4 kB / 0.5578 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1541, allocations: 19.92 kB / 0.5578 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.1542, allocations: 4 kB / 0.5578 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.1542, allocations: 11.92 kB / 0.5578 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1542, allocations: 12 kB / 0.5578 GB, free: 3.676 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 (7): * Single equations (assignments): 7 * 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.0001188/0.1544, allocations: 120 kB / 0.5579 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.1544, allocations: 11.91 kB / 0.5579 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.1548, allocations: 138.3 kB / 0.5581 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1548, allocations: 4 kB / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1548, allocations: 0 / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1548, allocations: 7.938 kB / 0.5581 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.1555, allocations: 418.4 kB / 0.5585 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1555, allocations: 0 / 0.5585 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.1556, allocations: 23.92 kB / 0.5585 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1556, allocations: 0 / 0.5585 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1556, allocations: 3.938 kB / 0.5585 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1556, allocations: 3.938 kB / 0.5585 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.1556, allocations: 8 kB / 0.5585 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.156, allocations: 215.4 kB / 0.5587 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.1561, allocations: 85.05 kB / 0.5588 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1561, allocations: 11.94 kB / 0.5588 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1562, allocations: 7.984 kB / 0.5588 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1562, allocations: 8 kB / 0.5588 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1562, allocations: 4 kB / 0.5588 GB, free: 2.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.1564, allocations: 124.8 kB / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1564, allocations: 0 / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.1567, allocations: 43.86 kB / 0.559 GB, free: 2.355 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002332/0.1591, allocations: 1.15 MB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.1594, allocations: 91.91 kB / 0.5602 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1594, allocations: 0 / 0.5602 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1596, allocations: 47.91 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1599, allocations: 19.48 kB / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.1623, allocations: 1.651 MB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1627, allocations: 0.7078 MB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.282e-05/0.1628, allocations: 24.72 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.1628, allocations: 31.42 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1628, allocations: 0 / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.2013, allocations: 3.633 MB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.471, allocations: 11.02 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.712419369257987]