Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001731/0.001731, 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.002203/0.002203, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.467/1.467, 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.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.2289/0.2289, allocations: 46.93 MB / 357.1 MB, free: 10.38 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.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004256/0.1644, allocations: 1.859 MB / 0.5572 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1665, allocations: 1.052 MB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1666, allocations: 4 kB / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1669, allocations: 71.59 kB / 0.5583 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.1675, allocations: 123.4 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.1682, allocations: 207 kB / 0.5586 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.1686, allocations: 199.4 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1688, allocations: 21.56 kB / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.169, allocations: 87.66 kB / 0.5589 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1692, allocations: 99.64 kB / 0.559 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.1693, allocations: 16 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1694, allocations: 47.97 kB / 0.5591 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1695, allocations: 47.77 kB / 0.5591 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1697, allocations: 71.59 kB / 0.5592 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.1702, allocations: 199.1 kB / 0.5594 GB, free: 1.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.1702, allocations: 0 / 0.5594 GB, free: 1.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1702, allocations: 0 / 0.5594 GB, free: 1.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1702, allocations: 0 / 0.5594 GB, free: 1.77 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001625/0.1718, allocations: 0.5914 MB / 0.56 GB, free: 1.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.1719, allocations: 12.03 kB / 0.56 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.1719, allocations: 38.69 kB / 0.56 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.172, allocations: 16.84 kB / 0.56 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1724, allocations: 240.9 kB / 0.5602 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1724, allocations: 4.375 kB / 0.5603 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.1725, allocations: 11.94 kB / 0.5603 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.1731, allocations: 153.5 kB / 0.5604 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1731, allocations: 0 / 0.5604 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1731, allocations: 3.938 kB / 0.5604 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1731, allocations: 4 kB / 0.5604 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/0.1739, allocations: 171.7 kB / 0.5606 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1749, allocations: 428.5 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008735/0.1758, allocations: 190.4 kB / 0.5612 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.1762, allocations: 96.75 kB / 0.5613 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.1762, allocations: 4 kB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006726/0.1769, allocations: 167.1 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1769, allocations: 0 / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004114/0.181, allocations: 0.8363 MB / 0.5622 GB, free: 14.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.1811, allocations: 59.28 kB / 0.5623 GB, free: 14.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.1814, allocations: 265 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.1814, allocations: 29.7 kB / 0.5626 GB, free: 14.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1815, allocations: 128.1 kB / 0.5627 GB, free: 14.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.1816, allocations: 39.69 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1817, allocations: 33.7 kB / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1819, allocations: 334.8 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007851/0.1826, allocations: 175.8 kB / 0.5633 GB, free: 13.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/0.1834, allocations: 180.2 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.1849, allocations: 367.9 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1849, allocations: 0 / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001697/0.1866, allocations: 474.7 kB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.1867, allocations: 71.33 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1867, allocations: 112 / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.1867, allocations: 3.938 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.1872, allocations: 68.41 kB / 0.5644 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1872, allocations: 4 kB / 0.5644 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.1876, allocations: 67.91 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.1877, allocations: 11.98 kB / 0.5645 GB, free: 12.28 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001722/0.1878, allocations: 136 kB / 0.5646 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.1879, allocations: 15.91 kB / 0.5646 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.1895, allocations: 431 kB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1896, allocations: 3.938 kB / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1896, allocations: 0 / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1896, allocations: 4 kB / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.1916, allocations: 0.7361 MB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1916, allocations: 4 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.192, allocations: 63.84 kB / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.192, allocations: 4 kB / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.192, allocations: 0 / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.192, allocations: 4 kB / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.192, allocations: 0 / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.1936, allocations: 491 kB / 0.5663 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.1937, allocations: 96.91 kB / 0.5664 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.1938, allocations: 15.98 kB / 0.5664 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.1942, allocations: 59.91 kB / 0.5664 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.1943, allocations: 51.88 kB / 0.5665 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1944, allocations: 4 kB / 0.5665 GB, free: 10.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.1946, allocations: 184.5 kB / 0.5667 GB, free: 9.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1946, allocations: 0 / 0.5667 GB, free: 9.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.1949, allocations: 55.92 kB / 0.5667 GB, free: 9.852 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003517/0.1984, allocations: 1.321 MB / 0.568 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.2002, allocations: 474.3 kB / 0.5685 GB, free: 8.172 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2002, allocations: 4 kB / 0.5685 GB, free: 8.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007911/0.201, allocations: 179.7 kB / 0.5686 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.2014, allocations: 36.62 kB / 0.5687 GB, free: 7.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/0.2081, allocations: 2.897 MB / 0.5715 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.2085, allocations: 0.7319 MB / 0.5722 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.2087, allocations: 25.41 kB / 0.5722 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.2088, allocations: 63.41 kB / 0.5723 GB, free: 4.109 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2088, allocations: 0 / 0.5723 GB, free: 4.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.2404, allocations: 5.864 MB / 0.578 GB, free: 14.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.212, allocations: 30.73 kB / 0.5781 GB, free: 14.29 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00279441 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:time,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 11.53366894699866]