Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001241/0.001241, 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.001315/0.001315, allocations: 200.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.482/1.482, 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.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.2458/0.2458, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.91 kB / 0.491 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1456, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003538/0.1492, allocations: 1.658 MB / 0.557 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1504, allocations: 0.5845 MB / 0.5576 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.1505, allocations: 4 kB / 0.5576 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.1512, allocations: 455.1 kB / 0.558 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.1517, allocations: 299.2 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.1522, allocations: 175.1 kB / 0.5585 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.1525, allocations: 183.6 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1527, allocations: 12 kB / 0.5587 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1528, allocations: 115.7 kB / 0.5588 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.1531, allocations: 247.5 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1531, allocations: 7.938 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1532, allocations: 35.94 kB / 0.559 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1533, allocations: 95.61 kB / 0.5591 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1534, allocations: 107 kB / 0.5592 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1538, allocations: 274.6 kB / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1538, allocations: 0 / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1538, allocations: 0 / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1538, allocations: 0 / 0.5595 GB, free: 1.617 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.000899/0.1547, allocations: 0.6762 MB / 0.5602 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1548, allocations: 8.031 kB / 0.5602 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.1548, allocations: 38.69 kB / 0.5602 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.1549, allocations: 48.66 kB / 0.5603 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1552, allocations: 308.6 kB / 0.5605 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.1552, allocations: 384 / 0.5605 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.1553, allocations: 8.375 kB / 0.5606 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1555, allocations: 61.61 kB / 0.5606 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1555, allocations: 0 / 0.5606 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1555, allocations: 0 / 0.5606 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1555, allocations: 4 kB / 0.5606 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1556, allocations: 43.89 kB / 0.5607 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.1562, allocations: 412.7 kB / 0.5611 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1564, allocations: 46.55 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.1565, allocations: 24.94 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1565, allocations: 4 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1565, allocations: 38.55 kB / 0.5612 GB, free: 15.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1565, allocations: 0 / 0.5612 GB, free: 15.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009492/0.1575, allocations: 320.5 kB / 0.5615 GB, free: 15.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1575, allocations: 55.34 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008936/0.1584, allocations: 0.8737 MB / 0.5624 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1584, allocations: 33.7 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1586, allocations: 220 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1586, allocations: 19.8 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.1587, allocations: 25.7 kB / 0.5627 GB, free: 14.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1589, allocations: 358.8 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.159, allocations: 39.95 kB / 0.563 GB, free: 13.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1591, allocations: 39.97 kB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.1594, allocations: 97.08 kB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1594, allocations: 0 / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003482/0.1597, allocations: 161.3 kB / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1597, allocations: 9.656 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1597, allocations: 0 / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1598, allocations: 4 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1599, allocations: 19.92 kB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1599, allocations: 4 kB / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.16, allocations: 15.92 kB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.16, allocations: 8 kB / 0.5634 GB, free: 13.4 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 (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.0002077/0.1602, allocations: 220 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.1603, allocations: 43.72 kB / 0.5636 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.1607, allocations: 177.5 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1607, allocations: 4 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1607, allocations: 0 / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1607, allocations: 7.938 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000758/0.1615, allocations: 0.5063 MB / 0.5643 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1615, allocations: 0 / 0.5643 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.1616, allocations: 19.98 kB / 0.5643 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1616, allocations: 3.938 kB / 0.5643 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1616, allocations: 3.938 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1616, allocations: 4 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1616, allocations: 3.984 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.162, allocations: 259.1 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/0.1621, allocations: 116.8 kB / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1621, allocations: 3.938 kB / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1622, allocations: 11.98 kB / 0.5647 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.1623, allocations: 7.984 kB / 0.5647 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.1623, allocations: 8 kB / 0.5647 GB, free: 11.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000681/0.163, allocations: 0.6511 MB / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.163, allocations: 0 / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.1633, allocations: 27.98 kB / 0.5654 GB, free: 11.23 MB / 430.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.002224/0.1655, allocations: 1.104 MB / 0.5665 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.1659, allocations: 83.92 kB / 0.5666 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1659, allocations: 0 / 0.5666 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.166, allocations: 55.89 kB / 0.5666 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.1665, allocations: 30.23 kB / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.1709, allocations: 3.37 MB / 0.5699 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.1714, allocations: 0.8338 MB / 0.5707 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.476e-05/0.1715, allocations: 25.05 kB / 0.5708 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.1717, allocations: 119.3 kB / 0.5709 GB, free: 5.629 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1717, allocations: 0 / 0.5709 GB, free: 5.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.2031, allocations: 6.292 MB / 0.577 GB, free: 15.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/8.678, allocations: 3.984 kB / 0.577 GB, free: 15.38 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_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_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.985470708998037]