Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001291/0.001291, 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.001411/0.001411, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.602/1.602, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2897/0.2897, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.91 kB / 0.491 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1475, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003358/0.1509, allocations: 1.669 MB / 0.557 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.152, allocations: 0.565 MB / 0.5576 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.152, allocations: 0 / 0.5576 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006271/0.1527, allocations: 451.1 kB / 0.558 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.1532, allocations: 299.3 kB / 0.5583 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1536, allocations: 122.9 kB / 0.5584 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1539, allocations: 179.7 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.154, allocations: 11.94 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1541, allocations: 115.7 kB / 0.5587 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.1544, allocations: 255.5 kB / 0.559 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1544, allocations: 4 kB / 0.559 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1546, allocations: 51.97 kB / 0.559 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1547, allocations: 87.62 kB / 0.5591 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.1548, allocations: 107 kB / 0.5592 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.1552, allocations: 282.4 kB / 0.5595 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1552, allocations: 0 / 0.5595 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1552, allocations: 0 / 0.5595 GB, free: 1.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1552, allocations: 0 / 0.5595 GB, free: 1.668 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008416/0.156, allocations: 0.6723 MB / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1561, allocations: 12.03 kB / 0.5601 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.1561, allocations: 38.73 kB / 0.5602 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.1562, allocations: 44.66 kB / 0.5602 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1565, allocations: 300.6 kB / 0.5605 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1565, allocations: 384 / 0.5605 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1565, allocations: 8.359 kB / 0.5605 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1567, allocations: 65.55 kB / 0.5606 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1567, allocations: 8 kB / 0.5606 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.1567, allocations: 4 kB / 0.5606 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.1567, allocations: 0 / 0.5606 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1568, allocations: 27.97 kB / 0.5606 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.1574, allocations: 404.6 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1575, allocations: 42.56 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.1576, allocations: 24.94 kB / 0.5611 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1576, allocations: 3.938 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1577, allocations: 34.59 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1577, allocations: 0 / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001086/0.1587, allocations: 320.5 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.1588, allocations: 59.34 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009597/0.1598, allocations: 0.866 MB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1598, allocations: 33.7 kB / 0.5623 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.16, allocations: 228.1 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.16, allocations: 27.75 kB / 0.5626 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1601, allocations: 21.7 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1602, allocations: 374.7 kB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.825e-05/0.1603, allocations: 23.97 kB / 0.563 GB, free: 13.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.1604, allocations: 23.98 kB / 0.563 GB, free: 13.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1606, allocations: 64.81 kB / 0.5631 GB, free: 13.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1606, allocations: 0 / 0.5631 GB, free: 13.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002648/0.1609, allocations: 133.3 kB / 0.5632 GB, free: 13.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1609, allocations: 12 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1609, allocations: 0 / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1609, allocations: 0 / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.161, allocations: 23.92 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.161, allocations: 0 / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.1611, allocations: 11.98 kB / 0.5632 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1611, allocations: 0 / 0.5632 GB, free: 13.56 MB / 430.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.0002492/0.1613, allocations: 212 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.1614, allocations: 55.66 kB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.1618, allocations: 157.8 kB / 0.5636 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1618, allocations: 3.938 kB / 0.5637 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1618, allocations: 0 / 0.5637 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1618, allocations: 0 / 0.5637 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.1626, allocations: 0.5149 MB / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1626, allocations: 0 / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.1626, allocations: 15.98 kB / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1626, allocations: 0 / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1627, allocations: 8.422 kB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1627, allocations: 3.938 kB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1627, allocations: 3.938 kB / 0.5642 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.163, allocations: 252 kB / 0.5644 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1631, allocations: 116.8 kB / 0.5645 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1631, allocations: 0 / 0.5645 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.1632, allocations: 11.98 kB / 0.5645 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.1633, allocations: 7.984 kB / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1633, allocations: 0 / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00069/0.164, allocations: 0.655 MB / 0.5652 GB, free: 11.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.164, allocations: 8 kB / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.1643, allocations: 31.92 kB / 0.5652 GB, free: 11.4 MB / 430.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.002351/0.1666, allocations: 1.129 MB / 0.5663 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.167, allocations: 63.89 kB / 0.5664 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.167, allocations: 4 kB / 0.5664 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.1671, allocations: 31.98 kB / 0.5664 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.1675, allocations: 26.3 kB / 0.5665 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.1718, allocations: 3.333 MB / 0.5697 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.1724, allocations: 0.8299 MB / 0.5705 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.1724, allocations: 12.73 kB / 0.5705 GB, free: 6.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.1726, allocations: 111.4 kB / 0.5706 GB, free: 5.902 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1726, allocations: 0 / 0.5706 GB, free: 5.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.2016, allocations: 6.416 MB / 0.5769 GB, free: 15.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/8.982, allocations: 8.062 kB / 0.5769 GB, free: 15.52 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.533509272005176]