Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0008613/0.0008613, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0009071/0.0009071, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9539/0.9539, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2409/0.2409, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.675e-05, allocations: 4.391 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002365/0.002392, allocations: 1.658 MB / 441.3 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006501/0.003042, allocations: 0.7712 MB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.003081, allocations: 0 / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.003336, allocations: 27.78 kB / 442 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.003588, allocations: 43.77 kB / 442.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.781e-06/0.003594, allocations: 8 kB / 442.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.003764, allocations: 39.83 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.003807, allocations: 0 / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.003843, allocations: 8 kB / 442.1 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.003897, allocations: 15.91 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.003909, allocations: 4 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.56e-05/0.003955, allocations: 8 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.004009, allocations: 27.86 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.004031, allocations: 7.938 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.004169, allocations: 63.73 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.004171, allocations: 4 kB / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.004173, allocations: 0 / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004177, allocations: 0 / 442.3 MB, free: 1.539 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00034/0.004517, allocations: 290 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.004563, allocations: 8.031 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.0046, allocations: 42.72 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.004628, allocations: 8.891 kB / 442.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.004734, allocations: 121.6 kB / 442.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.004747, allocations: 384 / 442.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.004756, allocations: 4.375 kB / 442.7 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.004929, allocations: 129.7 kB / 442.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004936, allocations: 4.188 kB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004946, allocations: 4.359 kB / 442.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.004985, allocations: 28.11 kB / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.639e-05/0.005041, allocations: 39.92 kB / 442.9 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1791/0.1841, allocations: 0.8521 MB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.1842, allocations: 175.4 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.1842, allocations: 81.2 kB / 444 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.1842, allocations: 75.28 kB / 444.1 MB, free: 46.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1843, allocations: 110.1 kB / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 6.823e-06/0.1843, allocations: 0 / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.627e-05/0.1843, allocations: 45.12 kB / 444.3 MB, free: 45.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.1844, allocations: 126.7 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1845, allocations: 196.4 kB / 444.6 MB, free: 45.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-06/0.1845, allocations: 26.42 kB / 444.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.1845, allocations: 153.8 kB / 444.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.1845, allocations: 7.375 kB / 444.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.1846, allocations: 38.8 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.1846, allocations: 320.6 kB / 445.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.1847, allocations: 37.88 kB / 445.2 MB, free: 45.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.1847, allocations: 156.4 kB / 445.3 MB, free: 45.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1848, allocations: 199.8 kB / 445.5 MB, free: 44.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1848, allocations: 2.344 kB / 445.5 MB, free: 44.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000195/0.185, allocations: 200.4 kB / 445.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.185, allocations: 13.09 kB / 445.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.185, allocations: 2.938 kB / 445.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1851, allocations: 5.438 kB / 445.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.1851, allocations: 35.95 kB / 445.8 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.1852, allocations: 13.38 kB / 445.8 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.1852, allocations: 32.5 kB / 445.8 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1852, allocations: 8.75 kB / 445.8 MB, free: 44.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.306e-05/0.1853, allocations: 217.2 kB / 446 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.1853, allocations: 115.6 kB / 446.1 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.1853, allocations: 114.6 kB / 446.2 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.1853, allocations: 181.5 kB / 446.4 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.1854, allocations: 183.2 kB / 446.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.1854, allocations: 182.9 kB / 446.8 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.996e-05/0.1855, allocations: 393 kB / 447.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.1855, allocations: 104.9 kB / 447.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.557e-06/0.1855, allocations: 104.9 kB / 447.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.1855, allocations: 181.6 kB / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1855, allocations: 180.2 kB / 447.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/0.1855, allocations: 179 kB / 447.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.1855, allocations: 187.7 kB / 448.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.769e-05/0.1856, allocations: 315.4 kB / 448.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.1856, allocations: 111.8 kB / 448.5 MB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1856, allocations: 186 kB / 448.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.1857, allocations: 111.8 kB / 448.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1857, allocations: 182.8 kB / 449 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1857, allocations: 101 kB / 449.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.27e-05/0.1857, allocations: 129.6 kB / 449.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1857, allocations: 0 / 449.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.1859, allocations: 17.47 kB / 449.2 MB, free: 41.47 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 (0): * Single equations (assignments): 0 * 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.0004317/0.1864, allocations: 0.9318 MB / 450.1 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.1865, allocations: 67.89 kB / 450.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1865, allocations: 0 / 450.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.1865, allocations: 0 / 450.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.1866, allocations: 468.1 kB / 450.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.1874, allocations: 1.869 MB / 452.5 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.45e-05/0.1875, allocations: 83.03 kB / 452.6 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1876, allocations: 59.16 kB / 452.7 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.1877, allocations: 25.41 kB / 452.7 MB, free: 38.41 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1877, allocations: 0 / 452.7 MB, free: 38.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.205, allocations: 2.743 MB / 455.4 MB, free: 37.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.087, allocations: 13.16 kB / 455.5 MB, free: 37.22 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_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_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.215419684536755]