Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001369/0.001369, 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.001605/0.001605, 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.611/1.611, 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.2432/0.2432, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.83 kB / 0.4909 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1394, allocations: 65.99 MB / 0.5554 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003787/0.1432, allocations: 1.605 MB / 0.557 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1451, allocations: 1.175 MB / 0.5581 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.1452, allocations: 0 / 0.5581 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1455, allocations: 27.84 kB / 0.5581 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.1458, allocations: 87.61 kB / 0.5582 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1461, allocations: 111.7 kB / 0.5583 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1463, allocations: 67.77 kB / 0.5584 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1464, allocations: 12 kB / 0.5584 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.1464, allocations: 23.91 kB / 0.5584 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1466, allocations: 38.09 kB / 0.5585 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1466, allocations: 4 kB / 0.5585 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.1468, allocations: 95.88 kB / 0.5586 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.1469, allocations: 19.91 kB / 0.5586 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.1469, allocations: 27.81 kB / 0.5586 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.1472, allocations: 143.5 kB / 0.5587 GB, free: 2.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1472, allocations: 0 / 0.5587 GB, free: 2.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1472, allocations: 0 / 0.5587 GB, free: 2.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1472, allocations: 0 / 0.5587 GB, free: 2.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006078/0.1478, allocations: 406.8 kB / 0.5591 GB, free: 2.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1479, allocations: 12.03 kB / 0.5591 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.1479, allocations: 34.73 kB / 0.5592 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.148, allocations: 8.891 kB / 0.5592 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1482, allocations: 196.2 kB / 0.5594 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1483, allocations: 8.375 kB / 0.5594 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1483, allocations: 4.359 kB / 0.5594 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1485, allocations: 63.28 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1485, allocations: 0 / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1485, allocations: 8 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1485, allocations: 0 / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1486, allocations: 23.97 kB / 0.5595 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.1491, allocations: 284.9 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1493, allocations: 42.5 kB / 0.5598 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.1494, allocations: 24.94 kB / 0.5598 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1494, allocations: 0 / 0.5598 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1494, allocations: 38.56 kB / 0.5598 GB, free: 1.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1494, allocations: 0 / 0.5598 GB, free: 1.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006974/0.1501, allocations: 149.4 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1502, allocations: 77.11 kB / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1504, allocations: 145.8 kB / 0.5602 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1504, allocations: 25.7 kB / 0.5602 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.1504, allocations: 100.1 kB / 0.5603 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.1505, allocations: 23.8 kB / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.1506, allocations: 21.7 kB / 0.5604 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1507, allocations: 314.8 kB / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.1508, allocations: 19.98 kB / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.1509, allocations: 45.62 kB / 0.5607 GB, free: 228 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.1511, allocations: 64.98 kB / 0.5608 GB, free: 160 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1511, allocations: 0 / 0.5608 GB, free: 160 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002064/0.1513, allocations: 81.61 kB / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1513, allocations: 6.188 kB / 0.5609 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1514, allocations: 4 kB / 0.5609 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1514, allocations: 0 / 0.5609 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.1514, allocations: 11.98 kB / 0.5609 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1514, allocations: 4 kB / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.1515, allocations: 11.94 kB / 0.5609 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1515, allocations: 4 kB / 0.5609 GB, free: 32 kB / 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 (5): * Single equations (assignments): 5 * 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.0001615/0.1517, allocations: 120 kB / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.1517, allocations: 7.953 kB / 0.561 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.152, allocations: 93.91 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.152, allocations: 0 / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.152, allocations: 4 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.152, allocations: 7.938 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.1525, allocations: 358.5 kB / 0.5615 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1525, allocations: 0 / 0.5615 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.1526, allocations: 11.98 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1526, allocations: 0 / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1526, allocations: 11.94 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1526, allocations: 0 / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1526, allocations: 192 / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1528, allocations: 187.5 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.1529, allocations: 85.05 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1529, allocations: 3.938 kB / 0.5618 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.153, allocations: 8 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.153, allocations: 4.281 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.153, allocations: 7.922 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1532, allocations: 115.3 kB / 0.5619 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1532, allocations: 0 / 0.5619 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1535, allocations: 39.86 kB / 0.5619 GB, free: 14.88 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 (5): * Single equations (assignments): 5 * 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.00227/0.1558, allocations: 1.106 MB / 0.563 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.156, allocations: 59.84 kB / 0.5631 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.156, allocations: 0 / 0.5631 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.1561, allocations: 23.98 kB / 0.5631 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1564, allocations: 19.23 kB / 0.5631 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1583, allocations: 1.452 MB / 0.5645 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.1587, allocations: 0.7001 MB / 0.5652 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.512e-05/0.1588, allocations: 20.23 kB / 0.5652 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.1589, allocations: 27.42 kB / 0.5652 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1589, allocations: 0 / 0.5652 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.1956, allocations: 3.255 MB / 0.5684 GB, free: 8.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.098, allocations: 23.48 kB / 0.5684 GB, free: 8.273 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.422291070004576]