Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0008284/0.0008284, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008229/0.0008229, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8658/0.8658, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2511/0.2511, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.572e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.1675/0.1675, allocations: 1.658 MB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1687, allocations: 1.241 MB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.1688, allocations: 2.906 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.1689, allocations: 30.08 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1692, allocations: 84.83 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1693, allocations: 131.2 kB / 445.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.1694, allocations: 76.34 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.1695, allocations: 21.36 kB / 445.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.1696, allocations: 34.77 kB / 445.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.1697, allocations: 30.42 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1697, allocations: 5.25 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1698, allocations: 98.23 kB / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.1698, allocations: 14.45 kB / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1698, allocations: 17.77 kB / 445.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.17, allocations: 166.8 kB / 445.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.17, allocations: 2.688 kB / 445.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.17, allocations: 0 / 445.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.17, allocations: 3.234 kB / 445.8 MB, free: 42.99 MB / 410.7 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.0003602/0.1704, allocations: 346.6 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1704, allocations: 8.781 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.109e-05/0.1704, allocations: 30.75 kB / 446.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.1705, allocations: 11.02 kB / 446.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1706, allocations: 132.2 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.1706, allocations: 6.469 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1706, allocations: 7.219 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1707, allocations: 97.31 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1707, allocations: 4.125 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.1708, allocations: 11.31 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1708, allocations: 2.156 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.1708, allocations: 30.59 kB / 446.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.171, allocations: 271.9 kB / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.1711, allocations: 40.28 kB / 446.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.1712, allocations: 24.27 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1712, allocations: 3 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.1712, allocations: 34.56 kB / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.1712, allocations: 0 / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004433/0.1716, allocations: 214.5 kB / 447 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.1717, allocations: 77.11 kB / 447.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.1718, allocations: 159 kB / 447.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.1718, allocations: 28.42 kB / 447.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.1718, allocations: 90.77 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.1718, allocations: 25.83 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.1718, allocations: 23.62 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.519e-05/0.1718, allocations: 324.9 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.1719, allocations: 33.28 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.172, allocations: 75.14 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1721, allocations: 79.81 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1721, allocations: 4.031 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001315/0.1722, allocations: 108.8 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1722, allocations: 8.391 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1722, allocations: 0 / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1722, allocations: 2.781 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.1723, allocations: 17.09 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1723, allocations: 0 / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.1723, allocations: 18.81 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1723, allocations: 4.812 kB / 448.1 MB, free: 41.12 MB / 410.7 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 4.056e-05/0.1724, allocations: 127.8 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1724, allocations: 6.703 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.1726, allocations: 121.8 kB / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1726, allocations: 2.938 kB / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1726, allocations: 0 / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1726, allocations: 7.188 kB / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.1728, allocations: 359.9 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1728, allocations: 0 / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.1729, allocations: 22 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1729, allocations: 4.031 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1729, allocations: 3.281 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1729, allocations: 1.062 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1729, allocations: 7.938 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.173, allocations: 216.2 kB / 449 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.173, allocations: 9.781 kB / 449 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.173, allocations: 0 / 449 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.1731, allocations: 15.34 kB / 449 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.1731, allocations: 9.766 kB / 449 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1731, allocations: 0 / 449 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.1731, allocations: 115.3 kB / 449.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1731, allocations: 4 kB / 449.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.1733, allocations: 43.88 kB / 449.2 MB, free: 40.34 MB / 410.7 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.000895/0.1742, allocations: 1.189 MB / 450.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1744, allocations: 71.92 kB / 450.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1744, allocations: 4 kB / 450.4 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.1744, allocations: 40.92 kB / 450.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1747, allocations: 29.91 kB / 450.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009369/0.1756, allocations: 1.588 MB / 452.1 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.866e-05/0.1756, allocations: 79.28 kB / 452.2 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.318e-05/0.1757, allocations: 12.73 kB / 452.2 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.1757, allocations: 39.05 kB / 452.2 MB, free: 38.13 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1757, allocations: 0 / 452.2 MB, free: 38.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.1909, allocations: 4.292 MB / 456.5 MB, free: 36.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.171, allocations: 6.75 kB / 456.5 MB, free: 36.64 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_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_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.243187899701297]