Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.0009044/0.0009044, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001144/0.001144, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9067/0.9067, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.112e-05, allocations: 12.47 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002265/0.002286, allocations: 1.682 MB / 441.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000762/0.003048, allocations: 0.5529 MB / 441.8 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.003101, allocations: 4 kB / 441.8 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.003269, allocations: 31.78 kB / 441.9 MB, free: 1.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.003496, allocations: 83.48 kB / 442 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.0037, allocations: 134.7 kB / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003825, allocations: 99.62 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.003937, allocations: 7.984 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.004009, allocations: 55.89 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.004069, allocations: 31.91 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.004085, allocations: 4 kB / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.004208, allocations: 99.81 kB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.004277, allocations: 27.89 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.004305, allocations: 19.94 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.004516, allocations: 183.3 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004518, allocations: 0 / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004519, allocations: 0 / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004523, allocations: 0 / 442.6 MB, free: 1.215 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.0004344/0.004958, allocations: 373.5 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.004992, allocations: 15.97 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.005017, allocations: 30.75 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.005047, allocations: 12.89 kB / 443 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.005191, allocations: 148.6 kB / 443.2 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.005206, allocations: 8.375 kB / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.005222, allocations: 384 / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.00539, allocations: 113.6 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.005399, allocations: 8.172 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.005409, allocations: 7.938 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005413, allocations: 0 / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.005556, allocations: 67.92 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.005869, allocations: 264 kB / 443.6 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1659/0.1718, allocations: 78.55 kB / 443.7 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1719, allocations: 42.83 kB / 443.8 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.1719, allocations: 0 / 443.8 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.172, allocations: 39.16 kB / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.172, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009342/0.1729, allocations: 379.5 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1729, allocations: 84.17 kB / 444.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.173, allocations: 159.7 kB / 444.4 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.1731, allocations: 27.08 kB / 444.4 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.1731, allocations: 101.9 kB / 444.5 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1731, allocations: 34.48 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.1731, allocations: 24.03 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.1732, allocations: 327.1 kB / 444.9 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1733, allocations: 72.61 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1735, allocations: 113 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.1737, allocations: 148.3 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1737, allocations: 5.656 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002997/0.174, allocations: 190.4 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.174, allocations: 6.312 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.174, allocations: 0 / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.174, allocations: 0 / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1742, allocations: 46.7 kB / 445.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1742, allocations: 3.328 kB / 445.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/0.1743, allocations: 30.06 kB / 445.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-06/0.1743, allocations: 6.156 kB / 445.5 MB, free: 45.54 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 (10): * Single equations (assignments): 10 * 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 5.428e-05/0.1743, allocations: 115.8 kB / 445.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.1743, allocations: 13.41 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.1747, allocations: 211.1 kB / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1747, allocations: 0 / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1747, allocations: 0 / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1747, allocations: 2.906 kB / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.1752, allocations: 457 kB / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1752, allocations: 0 / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.1753, allocations: 38.92 kB / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1753, allocations: 3.188 kB / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1753, allocations: 6.453 kB / 446.3 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1753, allocations: 6.562 kB / 446.3 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1753, allocations: 0 / 446.3 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1756, allocations: 285.2 kB / 446.6 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.1756, allocations: 14.12 kB / 446.6 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1756, allocations: 10.59 kB / 446.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.1757, allocations: 28.92 kB / 446.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1758, allocations: 9.344 kB / 446.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.1758, allocations: 6.562 kB / 446.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.836e-05/0.1758, allocations: 128.4 kB / 446.8 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1758, allocations: 0 / 446.8 MB, free: 44.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.176, allocations: 49.33 kB / 446.9 MB, free: 44.81 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 (9): * Single equations (assignments): 9 * 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.001163/0.1772, allocations: 1.261 MB / 448.1 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.1775, allocations: 157.1 kB / 448.3 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1775, allocations: 0 / 448.3 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1777, allocations: 84.67 kB / 448.4 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.178, allocations: 15.25 kB / 448.4 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1796, allocations: 1.859 MB / 450.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.1796, allocations: 86.78 kB / 450.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.827e-05/0.1797, allocations: 26.11 kB / 450.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.1798, allocations: 36.39 kB / 450.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1798, allocations: 0 / 450.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.1969, allocations: 5.147 MB / 455.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.187, allocations: 0 / 455.5 MB, free: 40.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.284719375893474]